c_slider.h 908 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* This file was generated by Maki Compiler, do not edit manually */
  2. #ifndef __C_SLIDER_H
  3. #define __C_SLIDER_H
  4. #include "c_guiobject.h"
  5. #define C_SLIDER_PARENT C_GuiObject
  6. class C_Slider : public C_SLIDER_PARENT {
  7. public:
  8. C_Slider(ScriptObject *object);
  9. C_Slider();
  10. virtual ~C_Slider();
  11. virtual void C_hook(ScriptObject *o);
  12. ScriptObject *getScriptObject();
  13. virtual void onSetPosition(int newpos);
  14. virtual void onPostedPosition(int newpos);
  15. virtual void onSetFinalPosition(int pos);
  16. virtual void setPosition(int pos);
  17. virtual int getPosition();
  18. virtual void lock();
  19. virtual void unlock();
  20. private:
  21. ScriptObject *obj;
  22. int inited;
  23. static int loaded;
  24. static int onsetposition_id;
  25. static int onpostedposition_id;
  26. static int onsetfinalposition_id;
  27. static int setposition_id;
  28. static int getposition_id;
  29. static int lock_id;
  30. static int unlock_id;
  31. };
  32. #endif