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

SelectLang.cpp File Reference

Go to the source code of this file.

Functions

SelectLanggetSelect (lua_State *L)
int script_select_addFlag (lua_State *L) throw ()
 void select_addFlag(value, picture)


Function Documentation

SelectLang* getSelect lua_State *  L  )  [inline]
 

Definition at line 20 of file SelectLang.cpp.

00021 {
00022     return dynamic_cast<SelectLang*>(script_getLeader(L));
00023 }

int script_select_addFlag lua_State *  L  )  throw ()
 

void select_addFlag(value, picture)

Definition at line 29 of file SelectLang.cpp.

00030 {
00031     BEGIN_NOEXCEPTION;
00032     const char *value = luaL_checkstring(L, 1);
00033     const char *picture = luaL_checkstring(L, 2);
00034 
00035     getSelect(L)->addFlag(value, Path::dataReadPath(picture));
00036     END_NOEXCEPTION;
00037     return 0;
00038 }


Generated on Wed Jun 1 09:54:33 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2