ElementFormControl.h 811 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include <RmlUi/Core/Elements/ElementFormControl.h>
  3. #include <RmlUi/Lua/IncludeLua.h>
  4. #include <RmlUi/Lua/LuaType.h>
  5. namespace Rml {
  6. namespace Lua {
  7. // getters
  8. int ElementFormControlGetAttrdisabled(lua_State* L);
  9. int ElementFormControlGetAttrname(lua_State* L);
  10. int ElementFormControlGetAttrvalue(lua_State* L);
  11. // setters
  12. int ElementFormControlSetAttrdisabled(lua_State* L);
  13. int ElementFormControlSetAttrname(lua_State* L);
  14. int ElementFormControlSetAttrvalue(lua_State* L);
  15. extern RegType<ElementFormControl> ElementFormControlMethods[];
  16. extern luaL_Reg ElementFormControlGetters[];
  17. extern luaL_Reg ElementFormControlSetters[];
  18. template <>
  19. void ExtraInit<ElementFormControl>(lua_State* L, int metatable_index);
  20. RMLUI_LUATYPE_DECLARE(ElementFormControl)
  21. } // namespace Lua
  22. } // namespace Rml