c_menubutton.h 794 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_MENUBUTTON_H
  3. #define __C_MENUBUTTON_H
  4. #include "c_guiobject.h"
  5. #define C_MENUBUTTON_PARENT C_GuiObject
  6. class C_MenuButton : public C_MENUBUTTON_PARENT {
  7. public:
  8. C_MenuButton(ScriptObject *object);
  9. C_MenuButton();
  10. virtual ~C_MenuButton();
  11. virtual void C_hook(ScriptObject *o);
  12. ScriptObject *getScriptObject();
  13. virtual void onOpenMenu();
  14. virtual void onCloseMenu();
  15. virtual void onSelectItem(const wchar_t *item);
  16. virtual void openMenu();
  17. virtual void closeMenu();
  18. private:
  19. ScriptObject *obj;
  20. int inited;
  21. static int loaded;
  22. static int onopenmenu_id;
  23. static int onclosemenu_id;
  24. static int onselectitem_id;
  25. static int openmenu_id;
  26. static int closemenu_id;
  27. };
  28. #endif