#ifndef ROCKETCORELUAELEMENTFORM_H #define ROCKETCORELUAELEMENTFORM_H /* This defines the ElementForm type in the Lua global namespace methods: ElementForm:Submit(string name,string value) for everything else, see the documentation for "Element" */ #include #include #include using Rocket::Controls::ElementForm; namespace Rocket { namespace Core { namespace Lua { //this will be used to "inherit" from Element template<> void LuaType::extra_init(lua_State* L, int metatable_index); template<> bool LuaType::is_reference_counted(); //method int ElementFormSubmit(lua_State* L, ElementForm* obj); RegType ElementFormMethods[]; luaL_reg ElementFormGetters[]; luaL_reg ElementFormSetters[]; /* template<> const char* GetTClassName() { return "ElementForm"; } template<> RegType* GetMethodTable() { return ElementFormMethods; } template<> luaL_reg* GetAttrTable() { return ElementFormGetters; } template<> luaL_reg* SetAttrTable() { return ElementFormSetters; } */ } } } #endif