ElementFormControlSelect.h 961 B

123456789101112131415161718192021222324252627282930
  1. #pragma once
  2. #include <RmlUi/Core/Elements/ElementFormControlSelect.h>
  3. #include <RmlUi/Lua/IncludeLua.h>
  4. #include <RmlUi/Lua/LuaType.h>
  5. namespace Rml {
  6. namespace Lua {
  7. // methods
  8. int ElementFormControlSelectAdd(lua_State* L, ElementFormControlSelect* obj);
  9. int ElementFormControlSelectRemove(lua_State* L, ElementFormControlSelect* obj);
  10. // getters
  11. int ElementFormControlSelectGetAttroptions(lua_State* L);
  12. int ElementFormControlSelectGetAttrselection(lua_State* L);
  13. // setter
  14. int ElementFormControlSelectSetAttrselection(lua_State* L);
  15. extern RegType<ElementFormControlSelect> ElementFormControlSelectMethods[];
  16. extern luaL_Reg ElementFormControlSelectGetters[];
  17. extern luaL_Reg ElementFormControlSelectSetters[];
  18. // inherits from ElementFormControl which inherits from Element
  19. template <>
  20. void ExtraInit<ElementFormControlSelect>(lua_State* L, int metatable_index);
  21. RMLUI_LUATYPE_DECLARE(ElementFormControlSelect)
  22. } // namespace Lua
  23. } // namespace Rml