Update extensions/GUI/CCControlExtension/CCControlSlider.h

Added fields and methods for setting the maximum allowed value.
This commit is contained in:
ThePickleMan 2012-09-02 16:08:13 -05:00
parent f11c849cfe
commit 82ea6fbb99
1 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,11 @@ class CCControlSlider: public CCControl
virtual void setMinimumValue(float val);
CC_SYNTHESIZE_READONLY(float, m_maximumValue, MaximumValue);
virtual void setMaximumValue(float val);
CC_SYNTHESIZE_READONLY(float, m_minimumAllowedValue, MinimumAllowedValue);
virtual void setMinimumAllowedValue(float val);
CC_SYNTHESIZE_READONLY(float, m_maximumAllowedValue, MaximumAllowedValue);
virtual void setMaximumAllowedValue(float val);
//interval to snap to
CC_SYNTHESIZE(float, m_snappingInterval, SnappingInterval);