h_slider.h 810 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __HOOK_SLIDER_H
  3. #define __HOOK_SLIDER_H
  4. #include "h_guiobject.h"
  5. #define H_SLIDER_PARENT H_GuiObject
  6. class H_Slider : public H_SLIDER_PARENT {
  7. public:
  8. H_Slider(ScriptObject *o);
  9. H_Slider();
  10. virtual ~H_Slider();
  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_onSetPosition(int newpos) { }
  15. virtual void hook_onPostedPosition(int newpos) { }
  16. virtual void hook_onSetFinalPosition(int pos) { }
  17. private:
  18. ScriptObject *obj;
  19. int inited;
  20. static int loaded;
  21. static int onsetposition_id;
  22. static int onpostedposition_id;
  23. static int onsetfinalposition_id;
  24. };
  25. #endif