cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCBMFontConfiguration Class Reference

CCBMFontConfiguration has parsed configuration of the the .fnt file. More...

#include <CCLabelBMFont.h>

Inheritance diagram for CCBMFontConfiguration:
Object

Public Member Functions

 CCBMFontConfiguration ()
virtual ~CCBMFontConfiguration ()
const char * description () const
bool initWithFNTfile (const char *FNTfile)
 initializes a BitmapFontConfiguration with a FNT file More...
 
var initWithFNTfile ( var FNTfile)
 initializes a BitmapFontConfiguration with a FNT file More...
 
local initWithFNTfile ( local FNTfile)
 initializes a BitmapFontConfiguration with a FNT file More...
 
const char * getAtlasName ()
void setAtlasName (const char *atlasName)
var setAtlasName ( var atlasName)
local setAtlasName ( local atlasName)
std::set< unsigned int > * getCharacterSet () const
local getCharacterSet ()
- Public Member Functions inherited from Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 Release the ownership sometime soon automatically. More...
 
bool isSingleReference () const
 Returns a boolean value that indicates whether there is only one reference to the object. More...
 
unsigned int retainCount () const
 Returns the object's current reference count. More...
 
virtual bool isEqual (const Object *object)
 Returns a boolean value that indicates whether this object and a given object are equal. More...
 
virtual void acceptVisitor (DataVisitor &visitor)
virtual void update (float dt)

Static Public Member Functions

static CCBMFontConfigurationcreate (const char *FNTfile)
 allocates a CCBMFontConfiguration with a FNT file More...
 
local create ( local FNTfile)
 allocates a CCBMFontConfiguration with a FNT file More...
 

Public Attributes

tFontDefHashElement_fontDefDictionary
int _commonHeight
 FNTConfig: Common Height Should be signed (issue #1343) More...
 
ccBMFontPadding _padding
 Padding. More...
 
std::string _atlasName
 atlas name More...
 
var _atlasName
 atlas name More...
 
local _atlasName
 atlas name More...
 
tKerningHashElement_kerningDictionary
 values for kerning More...
 
std::set< unsigned int > * _characterSet
- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 

Additional Inherited Members

- Protected Attributes inherited from Object
unsigned int _reference
 count of references More...
 
var _reference
 count of references More...
 
local _reference
 count of references More...
 
unsigned int _autoReleaseCount
 count of autorelease More...
 
var _autoReleaseCount
 count of autorelease More...
 
local _autoReleaseCount
 count of autorelease More...
 

Detailed Description

CCBMFontConfiguration has parsed configuration of the the .fnt file.

Since
v0.8

Constructor & Destructor Documentation

var ctor ( )
virtual ~CCBMFontConfiguration ( )
virtual

Member Function Documentation

static CCBMFontConfiguration*
create
( const char *  FNTfile)
static

allocates a CCBMFontConfiguration with a FNT file

var create ( var  FNTfile)
static

allocates a CCBMFontConfiguration with a FNT file

local create ( local  FNTfile)
static

allocates a CCBMFontConfiguration with a FNT file

const char* description ( ) const
const char* getAtlasName ( )
inline
var getAtlasName ( )
inline
local getAtlasName ( )
inline
std::set<unsigned int>
* getCharacterSet
( ) const
var getCharacterSet ( )
local getCharacterSet ( )
bool initWithFNTfile ( const char *  FNTfile)

initializes a BitmapFontConfiguration with a FNT file

var initWithFNTfile ( var  FNTfile)

initializes a BitmapFontConfiguration with a FNT file

local initWithFNTfile ( local  FNTfile)

initializes a BitmapFontConfiguration with a FNT file

void setAtlasName ( const char *  atlasName)
inline
var setAtlasName ( var  atlasName)
inline
local setAtlasName ( local  atlasName)
inline

Member Data Documentation

std::string _atlasName

atlas name

var _atlasName

atlas name

local _atlasName

atlas name

std::set<unsigned int>
* _characterSet
var _characterSet
local _characterSet
int _commonHeight

FNTConfig: Common Height Should be signed (issue #1343)

var _commonHeight

FNTConfig: Common Height Should be signed (issue #1343)

local _commonHeight

FNTConfig: Common Height Should be signed (issue #1343)

tFontDefHashElement*
_fontDefDictionary
var _fontDefDictionary
local _fontDefDictionary
tKerningHashElement*
_kerningDictionary

values for kerning

var _kerningDictionary

values for kerning

local _kerningDictionary

values for kerning

ccBMFontPadding _padding

Padding.

var _padding

Padding.

local _padding

Padding.


The documentation for this class was generated from the following file: