Cocos2d-x  v3.12
 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...
 
class  FileUtilsTizen
 Helper class to handle file operations. More...
 

Enumerations

enum  Platform {
  OS_WINDOWS, 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_WINDOWS 

Windows.

OS_LINUX 

Linux.

OS_MAC 

Mac OS X.

OS_ANDROID 

Android.

OS_IPHONE 

iPhone

OS_IPAD 

iPad

OS_BLACKBERRY 

BlackBerry.

OS_NACL 

Native Client in Chrome.

OS_EMSCRIPTEN 

Emscripten.

OS_TIZEN 

Tizen.

OS_WINRT 

Windows Runtime Applications.

OS_WP8 

Windows Phone 8 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_WINDOWS 

Windows.

OS_LINUX 

Linux.

OS_MAC 

Mac OS X.

OS_ANDROID 

Android.

OS_IPHONE 

iPhone

OS_IPAD 

iPad

OS_BLACKBERRY 

BlackBerry.

OS_NACL 

Native Client in Chrome.

OS_EMSCRIPTEN 

Emscripten.

OS_TIZEN 

Tizen.

OS_WINRT 

Windows Runtime Applications.

OS_WP8 

Windows Phone 8 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_WINDOWS 

Windows.

OS_LINUX 

Linux.

OS_MAC 

Mac OS X.

OS_ANDROID 

Android.

OS_IPHONE 

iPhone

OS_IPAD 

iPad

OS_BLACKBERRY 

BlackBerry.

OS_NACL 

Native Client in Chrome.

OS_EMSCRIPTEN 

Emscripten.

OS_TIZEN 

Tizen.

OS_WINRT 

Windows Runtime Applications.

OS_WP8 

Windows Phone 8 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.