c_checkbox.h 791 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_CHECKBOX_H
  3. #define __C_CHECKBOX_H
  4. #include "c_guiobject.h"
  5. #define C_CHECKBOX_PARENT C_GuiObject
  6. class C_CheckBox : public C_CHECKBOX_PARENT {
  7. public:
  8. C_CheckBox(ScriptObject *object);
  9. C_CheckBox();
  10. virtual ~C_CheckBox();
  11. virtual void C_hook(ScriptObject *o);
  12. ScriptObject *getScriptObject();
  13. virtual void onToggle(int newstate);
  14. virtual void setChecked(int checked);
  15. virtual int isChecked();
  16. virtual void setText(const wchar_t *txt);
  17. virtual const wchar_t *getText();
  18. private:
  19. ScriptObject *obj;
  20. int inited;
  21. static int loaded;
  22. static int ontoggle_id;
  23. static int setchecked_id;
  24. static int ischecked_id;
  25. static int settext_id;
  26. static int gettext_id;
  27. };
  28. #endif