cocos2d-x  3.0Beta0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Label

Classes

class  LabelAtlas
 LabelAtlas is a subclass of AtlasNode. More...
 
struct  ccBMFontDef
 
struct  ccBMFontPadding
 
struct  tFontDefHashElement
 
struct  tKerningHashElement
 
class  CCBMFontConfiguration
 CCBMFontConfiguration has parsed configuration of the the .fnt file. More...
 
class  LabelBMFont
 LabelBMFont is a subclass of SpriteBatchNode. More...
 
class  LabelTTF
 LabelTTF is a subclass of TextureNode that knows how to render text labels. More...
 

Enumerations

enum  { kLabelAutomaticWidth = -1 }
 

Functions

CC_DLL CCBMFontConfiguration *  (const std::string &file)
 Free function that parses a FNT file a place it on the cache. More...
 
CC_DLL void  (void)
 Purges the FNT config cache. More...
 

Detailed Description

Enumeration Type Documentation

anonymous enum
Enumerator
kLabelAutomaticWidth 
var enum
Enumerator
kLabelAutomaticWidth 
local enum
Enumerator
kLabelAutomaticWidth 

Function Documentation

CC_DLL CCBMFontConfiguration*
cocos2d::FNTConfigLoadFile
( const std::string &  file)

Free function that parses a FNT file a place it on the cache.

var FNTConfigLoadFile ( var  file)

Free function that parses a FNT file a place it on the cache.

local FNTConfigLoadFile ( local  file)

Free function that parses a FNT file a place it on the cache.

CC_DLL void
cocos2d::FNTConfigRemoveCache
( void  )

Purges the FNT config cache.

var FNTConfigRemoveCache (   )

Purges the FNT config cache.

local FNTConfigRemoveCache (   )

Purges the FNT config cache.