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

@ -164,16 +164,6 @@ CCControlSlider* CCControlSlider::create(CCSprite * backgroundSprite, CCSprite*
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)
{