cocos2d-x  3.0Beta0
 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 ()
std::string description () const
bool initWithFNTfile (const std::string &FNTfile)
 initializes a BitmapFontConfiguration with a FNT file More...
 
const std::string & getAtlasName ()
void setAtlasName (const std::string &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...
 
 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...
 
local retainCount ()
 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 std::string &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...
 
var _luaID
 Lua reference id. More...
 
local _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 std::string &  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

std::string description ( ) const
const std::string& getAtlasName ( )
inline
var getAtlasName ( )
inline
local getAtlasName ( )
inline
std::set<unsigned int>
* getCharacterSet
( ) const
var getCharacterSet ( )
local getCharacterSet ( )
bool initWithFNTfile ( const std::string &  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 std::string &  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: