Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Platform Specific

Classes

class  Device
 A class for providing platform specific features. More...
 
class  FileUtils
 Helper class to handle file operations. More...
 
class  GLView
 By GLView you can operate the frame information of EGL view through some function. More...
 

Enumerations

enum  Platform { ,
  OS_LINUX, OS_MAC, OS_ANDROID, OS_IPHONE,
  OS_IPAD, OS_BLACKBERRY, OS_NACL, OS_EMSCRIPTEN,
  OS_TIZEN, OS_WINRT, OS_WP8
}
 Since WINDOWS and ANDROID are defined as macros, we could not just use these keywords in enumeration(Platform). More...
 
enum  TextAlign { ,
  TOP = 0x13, TOP_RIGHT = 0x12, RIGHT = 0x32, BOTTOM_RIGHT = 0x22,
  BOTTOM = 0x23, BOTTOM_LEFT = 0x21, LEFT = 0x31, TOP_LEFT = 0x11
}
 Defines the alignment of text. More...
 

Detailed Description

Enumeration Type Documentation

enum Platform
strong

Since WINDOWS and ANDROID are defined as macros, we could not just use these keywords in enumeration(Platform).

Therefore, 'OS_' prefix is added to avoid conflicts with the definitions of system macros.

Enumerator
OS_LINUX 

Windows.

OS_MAC 

Linux.

OS_ANDROID 

Mac.

OS_IPHONE 

Android.

OS_IPAD 

Iphone.

OS_BLACKBERRY 

Ipad.

OS_NACL 

BLACKBERRY.

OS_EMSCRIPTEN 

Nacl.

OS_TIZEN 

Emscripten.

OS_WINRT 

Tizen.

OS_WP8 

Windows Store Applications.

Windows Phone Applications

var Platform
strong

Since WINDOWS and ANDROID are defined as macros, we could not just use these keywords in enumeration(Platform).

Therefore, 'OS_' prefix is added to avoid conflicts with the definitions of system macros.

Enumerator
OS_LINUX 

Windows.

OS_MAC 

Linux.

OS_ANDROID 

Mac.

OS_IPHONE 

Android.

OS_IPAD 

Iphone.

OS_BLACKBERRY 

Ipad.

OS_NACL 

BLACKBERRY.

OS_EMSCRIPTEN 

Nacl.

OS_TIZEN 

Emscripten.

OS_WINRT 

Tizen.

OS_WP8 

Windows Store Applications.

Windows Phone Applications

local Platform
strong

Since WINDOWS and ANDROID are defined as macros, we could not just use these keywords in enumeration(Platform).

Therefore, 'OS_' prefix is added to avoid conflicts with the definitions of system macros.

Enumerator
OS_LINUX 

Windows.

OS_MAC 

Linux.

OS_ANDROID 

Mac.

OS_IPHONE 

Android.

OS_IPAD 

Iphone.

OS_BLACKBERRY 

Ipad.

OS_NACL 

BLACKBERRY.

OS_EMSCRIPTEN 

Nacl.

OS_TIZEN 

Emscripten.

OS_WINRT 

Tizen.

OS_WP8 

Windows Store Applications.

Windows Phone Applications

enum TextAlign
strong

Defines the alignment of text.

Enumerator
TOP 

Horizontal center and vertical center.

TOP_RIGHT 

Horizontal center and vertical top.

RIGHT 

Horizontal right and vertical top.

BOTTOM_RIGHT 

Horizontal right and vertical center.

BOTTOM 

Horizontal right and vertical bottom.

BOTTOM_LEFT 

Horizontal center and vertical bottom.

LEFT 

Horizontal left and vertical bottom.

TOP_LEFT 

Horizontal left and vertical center.

var TextAlign
strong

Defines the alignment of text.

Enumerator
TOP 

Horizontal center and vertical center.

TOP_RIGHT 

Horizontal center and vertical top.

RIGHT 

Horizontal right and vertical top.

BOTTOM_RIGHT 

Horizontal right and vertical center.

BOTTOM 

Horizontal right and vertical bottom.

BOTTOM_LEFT 

Horizontal center and vertical bottom.

LEFT 

Horizontal left and vertical bottom.

TOP_LEFT 

Horizontal left and vertical center.

local TextAlign
strong

Defines the alignment of text.

Enumerator
TOP 

Horizontal center and vertical center.

TOP_RIGHT 

Horizontal center and vertical top.

RIGHT 

Horizontal right and vertical top.

BOTTOM_RIGHT 

Horizontal right and vertical center.

BOTTOM 

Horizontal right and vertical bottom.

BOTTOM_LEFT 

Horizontal center and vertical bottom.

LEFT 

Horizontal left and vertical bottom.

TOP_LEFT 

Horizontal left and vertical center.