#include <TextBMFontReader.h>
|
| TextBMFontReader () |
virtual | ~TextBMFontReader () |
virtual void | setPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options) |
local | setPropsFromJsonDictionary ( local widget, local options) |
virtual void | setPropsFromBinary (cocos2d::ui::Widget *widget, CocoLoader *cocoLoader, stExpCocoNode *pCocoNode) |
local | setPropsFromBinary ( local widget, local cocoLoader, local pCocoNode) |
flatbuffers::Offset
< flatbuffers::Table > | createOptionsWithFlatBuffers (const tinyxml2::XMLElement *objectData, flatbuffers::FlatBufferBuilder *builder) |
local | createOptionsWithFlatBuffers ( local objectData, local builder) |
void | setPropsWithFlatBuffers (cocos2d::Node *node, const flatbuffers::Table *textBMFontOptions) |
cocos2d::Node * | createNodeWithFlatBuffers (const flatbuffers::Table *textBMFontOptions) |
| WidgetReader () |
virtual | ~WidgetReader () |
virtual void | setColorPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options) |
local | setColorPropsFromJsonDictionary ( local widget, local options) |
flatbuffers::Offset
< flatbuffers::Table > | createOptionsWithFlatBuffers (const tinyxml2::XMLElement *objectData, flatbuffers::FlatBufferBuilder *builder) |
local | createOptionsWithFlatBuffers ( local objectData, local builder) |
void | setPropsWithFlatBuffers (cocos2d::Node *node, const flatbuffers::Table *widgetOptions) |
cocos2d::Node * | createNodeWithFlatBuffers (const flatbuffers::Table *widgetOptions) |
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
virtual | ~WidgetReaderProtocol () |
| NodeReaderProtocol () |
virtual | ~NodeReaderProtocol () |
|
std::string | getResourcePath (const rapidjson::Value &dict, const std::string &key, cocos2d::ui::Widget::TextureResType texType) |
void | setAnchorPointForWidget (cocos2d::ui::Widget *widget, const rapidjson::Value &options) |
std::string | getResourcePath (CocoLoader *cocoLoader, stExpCocoNode *pCocoNode, cocos2d::ui::Widget::TextureResType texType) |
var | getResourcePath ( var cocoLoader, var pCocoNode, var texType) |
local | getResourcePath ( local cocoLoader, local pCocoNode, local texType) |
std::string | getResourcePath (const std::string &path, cocos2d::ui::Widget::TextureResType texType) |
local | getResourcePath ( local path, local texType) |
void | beginSetBasicProperties (cocos2d::ui::Widget *widget) |
void | endSetBasicProperties (cocos2d::ui::Widget *widget) |
| Ref () |
| Constructor. More...
|
|
std::function< int(const
std::string &)> | valueToInt |
std::function< bool(const
std::string &)> | valueToBool |
var | valueToBool |
local | valueToBool |
std::function< float(const
std::string &)> | valueToFloat |
var | valueToFloat |
local | valueToFloat |
float | _sizePercentX |
float | _sizePercentY |
float | _positionPercentX |
float | _positionPercentY |
float | _width |
float | _height |
cocos2d::Color3B | _color |
var | _color |
local | _color |
int | _opacity |
cocos2d::Vec2 | _position |
bool | _isAdaptScreen |
cocos2d::Vec2 | _originalAnchorPoint |
var | _originalAnchorPoint |
local | _originalAnchorPoint |
unsigned int | _referenceCount |
| count of references More...
|
|
cocos2d::Node*
createNodeWithFlatBuffers |
( |
const flatbuffers::Table * |
textBMFontOptions | ) |
|
|
virtual |
var createNodeWithFlatBuffers |
( |
var |
textBMFontOptions | ) |
|
|
virtual |
local createNodeWithFlatBuffers |
( |
local |
textBMFontOptions | ) |
|
|
virtual |
flatbuffers::Offset
<flatbuffers::Table>
createOptionsWithFlatBuffers |
( |
const tinyxml2::XMLElement * |
objectData, |
|
|
flatbuffers::FlatBufferBuilder * |
builder |
|
) |
| |
|
virtual |
var createOptionsWithFlatBuffers |
( |
var |
objectData, |
|
|
var |
builder |
|
) |
| |
|
virtual |
local createOptionsWithFlatBuffers |
( |
local |
objectData, |
|
|
local |
builder |
|
) |
| |
|
virtual |
var setPropsFromBinary |
( |
var |
widget, |
|
|
var |
cocoLoader, |
|
|
var |
pCocoNode |
|
) |
| |
|
virtual |
local setPropsFromBinary |
( |
local |
widget, |
|
|
local |
cocoLoader, |
|
|
local |
pCocoNode |
|
) |
| |
|
virtual |
virtual void
setPropsFromJsonDictionary |
( |
cocos2d::ui::Widget * |
widget, |
|
|
const rapidjson::Value & |
options |
|
) |
| |
|
virtual |
var setPropsFromJsonDictionary |
( |
var |
widget, |
|
|
var |
options |
|
) |
| |
|
virtual |
local setPropsFromJsonDictionary |
( |
local |
widget, |
|
|
local |
options |
|
) |
| |
|
virtual |
void setPropsWithFlatBuffers |
( |
cocos2d::Node * |
node, |
|
|
const flatbuffers::Table * |
textBMFontOptions |
|
) |
| |
|
virtual |
var setPropsWithFlatBuffers |
( |
var |
node, |
|
|
var |
textBMFontOptions |
|
) |
| |
|
virtual |
local setPropsWithFlatBuffers |
( |
local |
node, |
|
|
local |
textBMFontOptions |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file:
- /Users/guanghui/cocos2d-x-v2/cocos/editor-support/cocostudio/WidgetReader/TextBMFontReader/TextBMFontReader.h