c_togglebutton.h 623 B

123456789101112131415161718192021222324252627282930313233
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_TOGGLEBUTTON_H
  3. #define __C_TOGGLEBUTTON_H
  4. #include "c_button.h"
  5. #define C_TOGGLEBUTTON_PARENT C_Button
  6. class C_ToggleButton : public C_TOGGLEBUTTON_PARENT {
  7. public:
  8. C_ToggleButton(ScriptObject *object);
  9. C_ToggleButton();
  10. virtual ~C_ToggleButton();
  11. virtual void C_hook(ScriptObject *o);
  12. ScriptObject *getScriptObject();
  13. virtual void onToggle(int (null));
  14. virtual int getCurCfgVal();
  15. private:
  16. ScriptObject *obj;
  17. int inited;
  18. static int loaded;
  19. static int ontoggle_id;
  20. static int getcurcfgval_id;
  21. };
  22. #endif