h_text.h 628 B

12345678910111213141516171819202122232425262728293031
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __HOOK_TEXT_H
  3. #define __HOOK_TEXT_H
  4. #include "h_guiobject.h"
  5. #define H_TEXT_PARENT H_GuiObject
  6. class H_Text : public H_TEXT_PARENT {
  7. public:
  8. H_Text(ScriptObject *o);
  9. H_Text();
  10. virtual ~H_Text();
  11. virtual void H_hook(ScriptObject *o);
  12. ScriptObject *getHookedObject();
  13. virtual int eventCallback(ScriptObject *object, int dlfid, scriptVar **params, int nparams);
  14. virtual void hook_onTextChanged(const wchar_t *newtxt) { }
  15. private:
  16. ScriptObject *obj;
  17. int inited;
  18. static int loaded;
  19. static int ontextchanged_id;
  20. };
  21. #endif