c_edit.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_EDIT_H
  3. #define __C_EDIT_H
  4. #include "c_guiobject.h"
  5. #define C_EDIT_PARENT C_GuiObject
  6. class C_Edit : public C_EDIT_PARENT {
  7. public:
  8. C_Edit(ScriptObject *object);
  9. C_Edit();
  10. virtual ~C_Edit();
  11. virtual void C_hook(ScriptObject *o);
  12. ScriptObject *getScriptObject();
  13. virtual void onEnter();
  14. virtual void onAbort();
  15. virtual void onIdleEditUpdate();
  16. virtual void onEditUpdate();
  17. virtual void setText(const wchar_t *txt);
  18. virtual void setAutoEnter(int onoff);
  19. virtual int getAutoEnter();
  20. virtual const wchar_t *getText();
  21. virtual void selectAll();
  22. virtual void enter();
  23. virtual void setIdleEnabled(int onoff);
  24. virtual int getIdleEnabled();
  25. private:
  26. ScriptObject *obj;
  27. int inited;
  28. static int loaded;
  29. static int onenter_id;
  30. static int onabort_id;
  31. static int onidleeditupdate_id;
  32. static int oneditupdate_id;
  33. static int settext_id;
  34. static int setautoenter_id;
  35. static int getautoenter_id;
  36. static int gettext_id;
  37. static int selectall_id;
  38. static int enter_id;
  39. static int setidleenabled_id;
  40. static int getidleenabled_id;
  41. };
  42. #endif