cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
cocos2d::extension Namespace Reference

Classes

class  CCArrayForObjectSorting
 NA NA. More...
 
class  CCColor3bObject
 helper class to store ccColor3B's in mutable arrays NA NA More...
 
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  CCControlUtils
 
class  CCEditBox
 Class for edit box. More...
 
class  CCEditBoxDelegate
 NA NA. More...
 
class  CCEditBoxImpl
 
class  CCEditBoxImplAndroid
 
class  CCEditBoxImplIOS
 NA NA. More...
 
class  CCEditBoxImplMac
 NA NA. More...
 
class  CCEditBoxImplTizen
 NA NA. More...
 
class  CCEditBoxImplWin
 NA NA. More...
 
class  CCEditBoxImplWp8
 
class  CCHttpClient
 Singleton that handles asynchrounous http requests Once the request completed, a callback will issued in main thread when it provided during make request NA NA. More...
 
class  CCHttpRequest
 defines the object which users must packed for CCHttpClient::send(HttpRequest*) method. More...
 
class  CCHttpResponse
 defines the object which users will receive at onHttpCompleted(sender, HttpResponse) callback Please refer to samples/TestCpp/Classes/ExtensionTest/NetworkTest/HttpClientTest.cpp as a sample More...
 
class  CCInvocation
 NA NA. More...
 
class  CCScale9Sprite
 A 9-slice sprite for cocos2d. More...
 
class  CCScrollView
 ScrollView support for cocos2d for iphone. More...
 
class  CCScrollViewDelegate
 NA NA. More...
 
class  CCSortableObject
 NA NA. More...
 
class  CCTableView
 UITableView counterpart for cocos2d for iphone. More...
 
class  CCTableViewCell
 Abstract class for SWTableView cell node NA. More...
 
class  CCTableViewDataSource
 Data source that governs table backend data. More...
 
class  CCTableViewDelegate
 Sole purpose of this delegate is to single touch event in this version. More...
 
class  ColorPickerDelegate
 
struct  HSV
 
struct  RGBA
 
class  WebSocket
 

Typedefs

typedef unsigned int CCControlEvent
 
typedef unsigned int CCControlState
 
typedef void(CCObject::* SEL_CCControlHandler) (CCObject *, CCControlEvent)
 
typedef void(CCObject::* SEL_HttpResponse) (CCHttpClient *client, CCHttpResponse *response)
 

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 }
 
enum  KeyboardReturnType {
  kKeyboardReturnTypeDefault = 0 , kKeyboardReturnTypeDone , kKeyboardReturnTypeSend , kKeyboardReturnTypeSearch ,
  kKeyboardReturnTypeGo
}
 
enum  EditBoxInputMode {
  kEditBoxInputModeAny = 0 , kEditBoxInputModeEmailAddr , kEditBoxInputModeNumeric , kEditBoxInputModePhoneNumber ,
  kEditBoxInputModeUrl , kEditBoxInputModeDecimal , kEditBoxInputModeSingleLine
}
 The EditBoxInputMode defines the type of text that the user is allowed to enter. More...
 
enum  EditBoxInputFlag {
  kEditBoxInputFlagPassword = 0 , kEditBoxInputFlagSensitive , kEditBoxInputFlagInitialCapsWord , kEditBoxInputFlagInitialCapsSentence ,
  kEditBoxInputFlagInitialCapsAllCharacters
}
 The EditBoxInputFlag defines how the input text is displayed/formatted. More...
 
enum  CCScrollViewDirection { kCCScrollViewDirectionNone = -1 , kCCScrollViewDirectionHorizontal = 0 , kCCScrollViewDirectionVertical , kCCScrollViewDirectionBoth }
 
enum  CCTableViewVerticalFillOrder { kCCTableViewFillTopDown , kCCTableViewFillBottomUp }
 

Functions

CCEditBoxImpl__createSystemEditBox (CCEditBox *pEditBox)
 

Typedef Documentation

◆ SEL_HttpResponse

typedef void(CCObject::* SEL_HttpResponse) (CCHttpClient *client, CCHttpResponse *response)

Enumeration Type Documentation

◆ CCTableViewVerticalFillOrder

Enumerator
kCCTableViewFillTopDown 
kCCTableViewFillBottomUp 

◆ EditBoxInputFlag

The EditBoxInputFlag defines how the input text is displayed/formatted.

Enumerator
kEditBoxInputFlagPassword 

Indicates that the text entered is confidential data that should be obscured whenever possible.

This implies EDIT_BOX_INPUT_FLAG_SENSITIVE.

kEditBoxInputFlagSensitive 

Indicates that the text entered is sensitive data that the implementation must never store into a dictionary or table for use in predictive, auto-completing, or other accelerated input schemes.

A credit card number is an example of sensitive data.

kEditBoxInputFlagInitialCapsWord 

This flag is a hint to the implementation that during text editing, the initial letter of each word should be capitalized.

kEditBoxInputFlagInitialCapsSentence 

This flag is a hint to the implementation that during text editing, the initial letter of each sentence should be capitalized.

kEditBoxInputFlagInitialCapsAllCharacters 

Capitalize all characters automatically.

◆ EditBoxInputMode

The EditBoxInputMode defines the type of text that the user is allowed to enter.

Enumerator
kEditBoxInputModeAny 

The user is allowed to enter any text, including line breaks.

kEditBoxInputModeEmailAddr 

The user is allowed to enter an e-mail address.

kEditBoxInputModeNumeric 

The user is allowed to enter an integer value.

kEditBoxInputModePhoneNumber 

The user is allowed to enter a phone number.

kEditBoxInputModeUrl 

The user is allowed to enter a URL.

kEditBoxInputModeDecimal 

The user is allowed to enter a real number value.

This extends kEditBoxInputModeNumeric by allowing a decimal point.

kEditBoxInputModeSingleLine 

The user is allowed to enter any text, except for line breaks.

◆ KeyboardReturnType

Enumerator
kKeyboardReturnTypeDefault 
kKeyboardReturnTypeDone 
kKeyboardReturnTypeSend 
kKeyboardReturnTypeSearch 
kKeyboardReturnTypeGo 

Function Documentation

◆ __createSystemEditBox()

CCEditBoxImpl * __createSystemEditBox ( CCEditBox pEditBox)