cocos2d-x  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCControl.h File Reference
#include "CCInvocation.h"
#include "CCControlUtils.h"
#include "cocos2d.h"

Classes

class  CCControl
 

Namespaces

 cocos2d
 
 cocos2d::extension
 

Constant Groups

 cocos2d
 
 cocos2d::extension
 

Macros

#define kControlEventTotalNumber   9
 Number of kinds of control event. More...
 

Typedefs

typedef unsigned int CCControlEvent
typedef unsigned int CCControlState

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...