#include <CCSGUIReader.h>
|
virtual cocos2d::ui::Widget * | createWidget (const rapidjson::Value &dic, const char *fullPath, const char *fileName)=0 |
virtual cocos2d::ui::Widget * | widgetFromJsonDictionary (const rapidjson::Value &data)=0 |
virtual void | setPropsForAllWidgetFromJsonDictionary (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, const rapidjson::Value &options)=0 |
virtual void | setPropsForAllCustomWidgetFromJsonDictionary (const std::string &classType, cocos2d::ui::Widget *widget, const rapidjson::Value &customOptions)=0 |
virtual cocos2d::ui::Widget * | createWidgetFromBinary (CocoLoader *cocoLoader, stExpCocoNode *pCocoNode, const char *fileName)=0 |
virtual cocos2d::ui::Widget * | widgetFromBinary (CocoLoader *cocoLoader, stExpCocoNode *pCocoNode)=0 |
virtual void | setPropsForAllWidgetFromBinary (WidgetReaderProtocol *reader, cocos2d::ui::Widget *widget, CocoLoader *cocoLoader, stExpCocoNode *pCocoNode)=0 |
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 cocos2d::ui::Widget*
createWidget |
( |
const rapidjson::Value & |
dic, |
|
|
const char * |
fullPath, |
|
|
const char * |
fileName |
|
) |
| |
|
pure virtual |
std::string getGUIClassName |
( |
const std::string & |
name | ) |
|
|
protected |
std::string
getWidgetReaderClassName |
( |
const std::string & |
classname | ) |
|
|
protected |
void setAnchorPointForWidget |
( |
cocos2d::ui::Widget * |
widget, |
|
|
const rapidjson::Value & |
options |
|
) |
| |
|
protected |
virtual void
setPropsForAllCustomWidgetFromJsonDictionary |
( |
const std::string & |
classType, |
|
|
cocos2d::ui::Widget * |
widget, |
|
|
const rapidjson::Value & |
customOptions |
|
) |
| |
|
pure virtual |
std::string m_strFilePath |
|
protected |
The documentation for this class was generated from the following file:
- /Users/guanghui/cocos2d-x-v2/cocos/editor-support/cocostudio/CCSGUIReader.h