micromenu/src/col.cpp

30 lines
330 B
C++
Raw Normal View History

2018-10-19 11:49:11 +00:00
#include "hal.h"
#include "col.h"
void Node::p(int i){
for(int j = 0; j < i; j++){ print("__"); }
if(title_)
print(title_);
else
print("--");
if(view.render)
view.render(0,0,this);
print("\n");
if(child_)
child_->p(i+1);
if(next_)
next_->p(i);
}
void draw_menu(int offset, int size, Node* val){
}