UISelectable.pkg 772 B

123456789101112131415161718192021222324252627282930
  1. $#include "UI/UISelectable.h"
  2. class UISelectable : public UIElement
  3. {
  4. UISelectable();
  5. virtual ~UISelectable();
  6. void SetSelectionColor(const Color& color);
  7. void SetHoverColor(const Color& color);
  8. const Color& GetSelectionColor() const;
  9. const Color& GetHoverColor() const;
  10. tolua_property__get_set Color& selectionColor;
  11. tolua_property__get_set Color& hoverColor;
  12. };
  13. ${
  14. #define TOLUA_DISABLE_tolua_UILuaAPI_UISelectable_new00
  15. static int tolua_UILuaAPI_UISelectable_new00(lua_State* tolua_S)
  16. {
  17. return ToluaNewObject<UISelectable>(tolua_S);
  18. }
  19. #define TOLUA_DISABLE_tolua_UILuaAPI_UISelectable_new00_local
  20. static int tolua_UILuaAPI_UISelectable_new00_local(lua_State* tolua_S)
  21. {
  22. return ToluaNewObjectGC<UISelectable>(tolua_S);
  23. }
  24. $}