Classes | |
| class | CCControl |
| class | CCControlButton |
| for Cocos2D. More... | |
| class | CCControlColourPicker |
| class | CCControlHuePicker |
| class | CCControlPotentiometer |
| for Cocos2D. More... | |
| class | CCControlSaturationBrightnessPicker |
| class | CCControlSlider |
| class | CCControlStepper |
| class | CCControlSwitch |
| for Cocos2D. More... | |
| class | CCColor3bObject |
| helper class to store ccColor3B's in mutable arrays More... | |
| class | CCControlUtils |
| class | CCInvocation |
| class | CCScale9Sprite |
| A 9-slice sprite for cocos2d. More... | |
Macros | |
| #define | kControlEventTotalNumber 9 |
| Number of kinds of control event. More... | |
| #define | cccontrol_selector(_SELECTOR) (SEL_CCControlHandler)(&_SELECTOR) |
Typedefs | |
| typedef unsigned int | CCControlEvent |
| typedef unsigned int | CCControlState |
| typedef void(CCObject::* | SEL_CCControlHandler )(CCObject *, CCControlEvent) |
Enumerations | |
| enum | { CCControlEventTouchDown = 1 << 0, CCControlEventTouchDragInside = 1 << 1, CCControlEventTouchDragOutside = 1 << 2, CCControlEventTouchDragEnter = 1 << 3, CCControlEventTouchDragExit = 1 << 4, CCControlEventTouchUpInside = 1 << 5, CCControlEventTouchUpOutside = 1 << 6, CCControlEventTouchCancel = 1 << 7, CCControlEventValueChanged = 1 << 8 } |
| Kinds of possible events for the control objects. More... | |
| enum | { CCControlStateNormal = 1 << 0, CCControlStateHighlighted = 1 << 1, CCControlStateDisabled = 1 << 2, CCControlStateSelected = 1 << 3 } |
| The possible state for a control. More... | |
| enum | CCControlStepperPart { kCCControlStepperPartMinus, kCCControlStepperPartPlus, kCCControlStepperPartNone } |
Functions | |
| CCColor3bObject (ccColor3B s_value) | |
| static CCSprite * | addSpriteToTargetWithPosAndAnchor (const char *spriteName, CCNode *target, CCPoint pos, CCPoint anchor) |
| static HSV | HSVfromRGB (RGBA value) |
| var | HSVfromRGB ( var value) |
| static RGBA | RGBfromHSV (HSV value) |
| var | RGBfromHSV ( var value) |
| local | RGBfromHSV ( local value) |
| static CCRect | CCRectUnion (const CCRect &src1, const CCRect &src2) |
| virtual SEL_CCControlHandler | getAction (void) |
| virtual CCObject * | getTarget (void) |
| getTarget More... | |
| var | getTarget () |
| getTarget More... | |
| local | getTarget () |
| getTarget More... | |
| virtual CCControlEvent | getControlEvent (void) |
| getControlEvent More... | |
| local | getControlEvent () |
| getControlEvent More... | |
| static CCInvocation * | create (CCObject *target, SEL_CCControlHandler action, CCControlEvent controlEvent) |
| local | create ( local target, local action, local controlEvent) |
| CCInvocation (CCObject *target, SEL_CCControlHandler action, CCControlEvent controlEvent) | |
| CCInvocation ( var target, var action, var controlEvent) | |
| CCInvocation ( local target, local action, local controlEvent) | |
| void | invoke (CCObject *sender) |
Variables | |
| double | r |
| double | g |
| double | b |
| double | a |
| double | h |
| double | s |
| var | s |
| local | s |
| double | v |
| var | v |
| local | v |
| ccColor3B | value |
| var | value |
| local | value |
| SEL_CCControlHandler | m_action |
| local | m_action |
| CCObject * | m_target |
| CCControlEvent | m_controlEvent |
| #define cccontrol_selector | ( | _SELECTOR) | (SEL_CCControlHandler)(&_SELECTOR) |
| #define kControlEventTotalNumber 9 |
Number of kinds of control event.
| local kControlEventTotalNumber 9 |
Number of kinds of control event.
| typedef unsigned int CCControlEvent |
| var CCControlEvent |
| local CCControlEvent |
| typedef unsigned int CCControlState |
| var CCControlState |
| local CCControlState |
| typedef void(CCObject::* SEL_CCControlHandler)(CCObject *, CCControlEvent) |
| typedef void(CCObject::* SEL_CCControlHandler)(CCObject *, CCControlEvent) |
| typedef void(CCObject::* SEL_CCControlHandler)(CCObject *, CCControlEvent) |
| anonymous enum |
Kinds of possible events for the control objects.
| var enum |
Kinds of possible events for the control objects.
| local enum |
Kinds of possible events for the control objects.
| anonymous enum |
| var enum |
| local enum |
| enum CCControlStepperPart |
| var CCControlStepperPart |
| local CCControlStepperPart |
|
inline |
| CCInvocation | ( | CCObject * | target, |
| SEL_CCControlHandler | action, | ||
| CCControlEvent | controlEvent | ||
| ) |
| var CCInvocation | ( | var | target, |
| var | action, | ||
| var | controlEvent | ||
| ) |
| local CCInvocation | ( | local | target, |
| local | action, | ||
| local | controlEvent | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
virtual |
|
virtual |
getControlEvent
|
virtual |
getControlEvent
|
virtual |
getControlEvent
|
virtual |
getTarget
|
virtual |
getTarget
|
virtual |
getTarget
|
static |
|
static |
|
static |
| void invoke | ( | CCObject * | sender) |
| var invoke | ( | var | sender) |
| local invoke | ( | local | sender) |
|
static |
|
static |
|
static |
| double a |
| var a |
| local a |
| double b |
| var b |
| local b |
| double g |
| var g |
| local g |
| double h |
| var h |
| local h |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| double r |
| var r |
| local r |
| double s |
| var s |
| local s |
| double v |
| var v |
| local v |
| ccColor3B value |
| var value |
| local value |