Update extensions/GUI/CCControlExtension/CCControlSlider.cpp

Removed meaningless setter...the macro already makes one...
This commit is contained in:
ThePickleMan 2012-09-04 20:54:34 -05:00
parent 423abc6f10
commit 0a96915da2
1 changed files with 0 additions and 10 deletions

View File

@ -163,16 +163,6 @@ CCControlSlider* CCControlSlider::create(CCSprite * backgroundSprite, CCSprite*
m_minimumValue = m_maximumValue - 1.0f; m_minimumValue = m_maximumValue - 1.0f;
setValue(m_value); 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 //this is the same as CCControl::getTouchLocation, but it returns the position relative to the position of this control
CCPoint CCControlSlider::getTouchLocationInControl(CCTouch* touch) CCPoint CCControlSlider::getTouchLocationInControl(CCTouch* touch)