mirror of https://github.com/axmolengine/axmol.git
Update extensions/GUI/CCControlExtension/CCControlSlider.cpp
Removed meaningless setter...the macro already makes one...
This commit is contained in:
parent
423abc6f10
commit
0a96915da2
|
@ -163,16 +163,6 @@ CCControlSlider* CCControlSlider::create(CCSprite * backgroundSprite, CCSprite*
|
|||
m_minimumValue = m_maximumValue - 1.0f;
|
||||
setValue(m_value);
|
||||
}
|
||||
|
||||
void CCControlSlider::setMinimumAllowedValue(float minimumAllowedValue)
|
||||
{
|
||||
m_minimumAllowedValue = minimumAllowedValue;
|
||||
}
|
||||
|
||||
void CCControlSlider::setMaximumAllowedValue(float maximumAllowedValue)
|
||||
{
|
||||
m_maximumAllowedValue = maximumAllowedValue;
|
||||
}
|
||||
|
||||
//this is the same as CCControl::getTouchLocation, but it returns the position relative to the position of this control
|
||||
CCPoint CCControlSlider::getTouchLocationInControl(CCTouch* touch)
|
||||
|
|
Loading…
Reference in New Issue