c_text.h 804 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_TEXT_H
  3. #define __C_TEXT_H
  4. #include "c_guiobject.h"
  5. #define C_TEXT_PARENT C_GuiObject
  6. class C_Text : public C_TEXT_PARENT
  7. {
  8. public:
  9. C_Text(ScriptObject *object);
  10. C_Text();
  11. virtual ~C_Text();
  12. virtual void C_hook(ScriptObject *o);
  13. ScriptObject *getScriptObject();
  14. virtual void setText(const wchar_t *txt);
  15. virtual void setAlternateText(const wchar_t *txt);
  16. virtual const wchar_t *getText();
  17. virtual int getTextWidth();
  18. virtual void onTextChanged(const wchar_t *newtxt);
  19. private:
  20. ScriptObject *obj;
  21. int inited;
  22. static int loaded;
  23. static int settext_id;
  24. static int setalternatetext_id;
  25. static int gettext_id;
  26. static int gettextwidth_id;
  27. static int ontextchanged_id;
  28. };
  29. #endif