Class CCControlStepper

#include <Geode/cocos/extensions/GUI/CCControlExtension/CCControlStepper.h>
classCCControlStepper:publiccocos2d::extension::CCControl{ ... }
No description provided
Examples0
Public static methods1
staticcocos2d::extension::CCControlStepper*create(,)
No description provided
Public member functions24
boolinitWithMinusSpriteAndPlusSprite(,)
No description provided
virtualvoidsetWraps(
boolwraps
)
No description provided
virtualvoidsetMinimumValue(
doubleminimumValue
)
No description provided
virtualvoidsetMaximumValue(
doublemaximumValue
)
No description provided
virtualvoidsetValue(
doublevalue
)
No description provided
virtualdoublegetValue()
No description provided
virtualvoidsetStepValue(
doublestepValue
)
No description provided
virtualvoidsetValueWithSendingEvent(
doublevalue
,
boolsend
)

Set the numeric value of the stepper. If send is true, the CCControlEventValueChanged is sent.

virtualboolisContinuous()
No description provided
virtualvoidupdate()
No description provided
virtualboolccTouchBegan(,)
No description provided
virtualvoidccTouchMoved(,)
No description provided
virtualvoidccTouchEnded(,)
No description provided
cocos2d::CCSprite*getMinusSprite()const
No description provided
voidsetMinusSprite()
No description provided
cocos2d::CCSprite*getPlusSprite()const
No description provided
voidsetPlusSprite()
No description provided
cocos2d::CCLabelTTF*getMinusLabel()const
No description provided
voidsetMinusLabel()
No description provided
cocos2d::CCLabelTTF*getPlusLabel()const
No description provided
voidsetPlusLabel()
No description provided
voidupdateLayoutUsingTouchLocation()

Update the layout of the stepper with the given touch location.

voidstartAutorepeat()

Start the autorepeat increment/decrement.

voidstopAutorepeat()

Stop the autorepeat.

Fields14
cocos2d::CCSprite*m_pMinusSprite
;
No description provided
cocos2d::CCSprite*m_pPlusSprite
;
No description provided
;
No description provided
;
No description provided
doublem_dValue
;

The numeric value of the stepper.

boolm_bContinuous
;

The continuous vs. noncontinuous state of the stepper.

boolm_bAutorepeat
;

The automatic vs. nonautomatic repeat state of the stepper.

boolm_bWraps
;

The wrap vs. no-wrap state of the stepper.

doublem_dMinimumValue
;

The lowest possible numeric value for the stepper.

doublem_dMaximumValue
;

The highest possible numeric value for the stepper.

doublem_dStepValue
;

The step, or increment, value for the stepper.

boolm_bTouchInsideFlag
;
No description provided
;
No description provided
intm_nAutorepeatCount
;
No description provided
Protected member functions0
Protected fields0
Derived classes0