#pragma once /* This defines the ElementFormControl type in the Lua global namespace it has no methods, and all of the attributes are read and write bool ElementFormControl.disabled string ElementFormControl.name string ElementFormControl.value */ #include #include #include using Rocket::Controls::ElementFormControl; namespace Rocket { namespace Core { namespace Lua { template<> void LuaType::extra_init(lua_State* L, int metatable_index); template<> bool LuaType::is_reference_counted(); //getters int ElementFormControlGetAttrdisabled(lua_State* L); int ElementFormControlGetAttrname(lua_State* L); int ElementFormControlGetAttrvalue(lua_State* L); //setters int ElementFormControlSetAttrdisabled(lua_State* L); int ElementFormControlSetAttrname(lua_State* L); int ElementFormControlSetAttrvalue(lua_State* L); RegType ElementFormControlMethods[]; luaL_reg ElementFormControlGetters[]; luaL_reg ElementFormControlSetters[]; /* template<> const char* GetTClassName() { return "ElementFormControl"; } template<> RegType* GetMethodTable() { return ElementFormControlMethods; } template<> luaL_reg* GetAttrTable() { return ElementFormControlGetters; } template<> luaL_reg* SetAttrTable() { return ElementFormControlSetters; } */ } } }