Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

SelectLang Class Reference

Inheritance diagram for SelectLang:

Inheritance graph
[legend]
Collaboration diagram for SelectLang:

Collaboration graph
[legend]

Detailed Description

Menu with flags to select prefered lang.

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.


Constructor & Destructor Documentation

SelectLang::SelectLang const std::string &  option,
const Path datafile
 

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 }


Member Function Documentation

void SelectLang::addFlag const std::string &  value,
const Path picture
 

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 }


The documentation for this class was generated from the following files:
Generated on Wed Jun 1 09:56:47 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2