|
|
@ -191,6 +191,7 @@ namespace NLGUI
|
|
|
|
int luaGetLineFromId(CLuaState &ls);
|
|
|
|
int luaGetLineFromId(CLuaState &ls);
|
|
|
|
int luaIsSeparator(CLuaState &ls);
|
|
|
|
int luaIsSeparator(CLuaState &ls);
|
|
|
|
int luaAddLine(CLuaState &ls);
|
|
|
|
int luaAddLine(CLuaState &ls);
|
|
|
|
|
|
|
|
int luaAddIconLine(CLuaState &ls);
|
|
|
|
int luaAddLineAtIndex(CLuaState &ls);
|
|
|
|
int luaAddLineAtIndex(CLuaState &ls);
|
|
|
|
int luaAddSeparator(CLuaState &ls);
|
|
|
|
int luaAddSeparator(CLuaState &ls);
|
|
|
|
int luaAddSeparatorAtIndex(CLuaState &ls);
|
|
|
|
int luaAddSeparatorAtIndex(CLuaState &ls);
|
|
|
@ -210,6 +211,7 @@ namespace NLGUI
|
|
|
|
REFLECT_LUA_METHOD("addSubMenu", luaAddSubMenu);
|
|
|
|
REFLECT_LUA_METHOD("addSubMenu", luaAddSubMenu);
|
|
|
|
REFLECT_LUA_METHOD("isSeparator", luaIsSeparator);
|
|
|
|
REFLECT_LUA_METHOD("isSeparator", luaIsSeparator);
|
|
|
|
REFLECT_LUA_METHOD("addLine", luaAddLine); // name, ah, ah_params, id
|
|
|
|
REFLECT_LUA_METHOD("addLine", luaAddLine); // name, ah, ah_params, id
|
|
|
|
|
|
|
|
REFLECT_LUA_METHOD("addIconLine", luaAddIconLine); // name, ah, ah_params, id, texture
|
|
|
|
REFLECT_LUA_METHOD("addLineAtIndex", luaAddLineAtIndex); // index, name, ah, ah_params, id
|
|
|
|
REFLECT_LUA_METHOD("addLineAtIndex", luaAddLineAtIndex); // index, name, ah, ah_params, id
|
|
|
|
REFLECT_LUA_METHOD("addSeparator", luaAddSeparator);
|
|
|
|
REFLECT_LUA_METHOD("addSeparator", luaAddSeparator);
|
|
|
|
REFLECT_LUA_METHOD("addSeparatorAtIndex", luaAddSeparatorAtIndex);
|
|
|
|
REFLECT_LUA_METHOD("addSeparatorAtIndex", luaAddSeparatorAtIndex);
|
|
|
@ -278,6 +280,7 @@ namespace NLGUI
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
CGroupSubMenu *cloneMenu(CGroupSubMenu *appendToMenu, CGroupMenu *newFather, CInterfaceGroup *initGroup = NULL) const;
|
|
|
|
CGroupSubMenu *cloneMenu(CGroupSubMenu *appendToMenu, CGroupMenu *newFather, CInterfaceGroup *initGroup = NULL) const;
|
|
|
|
void initOptions(CInterfaceGroup *parent);
|
|
|
|
void initOptions(CInterfaceGroup *parent);
|
|
|
|
|
|
|
|
CViewBitmap *createIcon(CInterfaceElement *parentPos, const std::string &texture);
|
|
|
|
CViewBitmap *createCheckBox(bool checked);
|
|
|
|
CViewBitmap *createCheckBox(bool checked);
|
|
|
|
CViewBitmap *createRightArrow(CInterfaceElement *parentPos, bool center);
|
|
|
|
CViewBitmap *createRightArrow(CInterfaceElement *parentPos, bool center);
|
|
|
|
};
|
|
|
|
};
|
|
|
|