28 #ifndef TESSERACT_VIEWER_SVMNODE_H_ 29 #define TESSERACT_VIEWER_SVMNODE_H_ 48 void AddChild(
const char* txt,
int command_event);
51 void AddChild(
const char* txt,
int command_event,
int tv);
55 void AddChild(
const char* txt,
int command_event,
const char* val);
58 void AddChild(
const char* txt,
int command_event,
59 const char* val,
const char* desc);
69 SVMenuNode(
int command_event,
const char* txt,
int tv,
70 bool check_box_entry,
const char* val,
const char* desc);
82 bool is_check_box_entry_;
96 #endif // TESSERACT_VIEWER_SVMNODE_H_
SVMenuNode * AddChild(const char *txt)
void BuildMenu(ScrollView *sv, bool menu_bar=true)