From 0a96915da2ad3b66b09f1ee2b0a65dd91f4f15c7 Mon Sep 17 00:00:00 2001 From: ThePickleMan Date: Tue, 4 Sep 2012 20:54:34 -0500 Subject: [PATCH] Update extensions/GUI/CCControlExtension/CCControlSlider.cpp Removed meaningless setter...the macro already makes one... --- extensions/GUI/CCControlExtension/CCControlSlider.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/extensions/GUI/CCControlExtension/CCControlSlider.cpp b/extensions/GUI/CCControlExtension/CCControlSlider.cpp index 061527f710..18a7bc28c4 100644 --- a/extensions/GUI/CCControlExtension/CCControlSlider.cpp +++ b/extensions/GUI/CCControlExtension/CCControlSlider.cpp @@ -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)