tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
SVMenuNode Class Reference

#include <svmnode.h>

Collaboration diagram for SVMenuNode:

Public Member Functions

 SVMenuNode ()
 
 ~SVMenuNode ()
 
SVMenuNodeAddChild (const char *txt)
 
void AddChild (const char *txt, int command_event)
 
void AddChild (const char *txt, int command_event, int tv)
 
void AddChild (const char *txt, int command_event, const char *val)
 
void AddChild (const char *txt, int command_event, const char *val, const char *desc)
 
void BuildMenu (ScrollView *sv, bool menu_bar=true)
 

Private Member Functions

 SVMenuNode (int command_event, const char *txt, int tv, bool check_box_entry, const char *val, const char *desc)
 
void AddChild (SVMenuNode *svmn)
 

Private Attributes

SVMenuNodeparent_
 
SVMenuNodechild_
 
SVMenuNodenext_
 
bool is_check_box_entry_
 
int cmd_event_
 
STRING text_
 
bool toggle_value_
 
STRING value_
 
STRING description_
 

Constructor & Destructor Documentation

◆ SVMenuNode() [1/2]

SVMenuNode::SVMenuNode ( )

◆ ~SVMenuNode()

SVMenuNode::~SVMenuNode ( )

◆ SVMenuNode() [2/2]

SVMenuNode::SVMenuNode ( int  command_event,
const char *  txt,
int  tv,
bool  check_box_entry,
const char *  val,
const char *  desc 
)
private

Member Function Documentation

◆ AddChild() [1/6]

SVMenuNode * SVMenuNode::AddChild ( const char *  txt)

◆ AddChild() [2/6]

void SVMenuNode::AddChild ( const char *  txt,
int  command_event 
)

◆ AddChild() [3/6]

void SVMenuNode::AddChild ( const char *  txt,
int  command_event,
int  tv 
)

◆ AddChild() [4/6]

void SVMenuNode::AddChild ( const char *  txt,
int  command_event,
const char *  val 
)

◆ AddChild() [5/6]

void SVMenuNode::AddChild ( const char *  txt,
int  command_event,
const char *  val,
const char *  desc 
)

◆ AddChild() [6/6]

void SVMenuNode::AddChild ( SVMenuNode svmn)
private

◆ BuildMenu()

void SVMenuNode::BuildMenu ( ScrollView sv,
bool  menu_bar = true 
)

Member Data Documentation

◆ child_

SVMenuNode* SVMenuNode::child_
private

◆ cmd_event_

int SVMenuNode::cmd_event_
private

◆ description_

STRING SVMenuNode::description_
private

◆ is_check_box_entry_

bool SVMenuNode::is_check_box_entry_
private

◆ next_

SVMenuNode* SVMenuNode::next_
private

◆ parent_

SVMenuNode* SVMenuNode::parent_
private

◆ text_

STRING SVMenuNode::text_
private

◆ toggle_value_

bool SVMenuNode::toggle_value_
private

◆ value_

STRING SVMenuNode::value_
private

The documentation for this class was generated from the following files: