Slider.pkg 745 B

12345678910111213141516171819202122232425
  1. $#include "Slider.h"
  2. class Slider : public BorderImage
  3. {
  4. Slider(Context* context);
  5. virtual ~Slider();
  6. void SetOrientation(Orientation orientation);
  7. void SetRange(float range);
  8. void SetValue(float value);
  9. void ChangeValue(float delta);
  10. void SetRepeatRate(float rate);
  11. Orientation GetOrientation() const;
  12. float GetRange() const;
  13. float GetValue() const;
  14. BorderImage* GetKnob() const;
  15. float GetRepeatRate() const;
  16. tolua_property__get_set Orientation orientation;
  17. tolua_property__get_set float range;
  18. tolua_property__get_set float value;
  19. tolua_readonly tolua_property__get_set BorderImage* knob;
  20. tolua_property__get_set float repeatRate;
  21. };