Definition at line 12 of file SelectLang.h.
Public Member Functions | |
SelectLang (const std::string &option, const Path &datafile) | |
Execute script which will add flags. | |
void | addFlag (const std::string &value, const Path &picture) |
Stack flags in table. |
|
Execute script which will add flags.
Definition at line 44 of file SelectLang.cpp. 00045 { 00046 m_option = option; 00047 m_activeRow = new HBox(); 00048 00049 m_script->registerFunc("select_addFlag", script_select_addFlag); 00050 scriptInclude(datafile); 00051 00052 addWidget(m_activeRow); 00053 }
|
|
Stack flags in table.
Definition at line 59 of file SelectLang.cpp. 00060 { 00061 m_activeRow->addWidget(new RadioBox(m_option, value, picture)); 00062 if (m_activeRow->getW() > MAX_WIDTH) { 00063 addWidget(m_activeRow); 00064 m_activeRow = new HBox(); 00065 } 00066 }
|