#include <CCSGUIReader.h>
Public Member Functions | |
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 |
Public Member Functions inherited from Ref | |
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 () |
Protected Member Functions | |
void | setAnchorPointForWidget (cocos2d::ui::Widget *widget, const rapidjson::Value &options) |
std::string | getGUIClassName (const std::string &name) |
cocos2d::ui::Widget * | createGUI (const std::string &classname) |
WidgetReaderProtocol * | createWidgetReaderProtocol (const std::string &classname) |
Protected Member Functions inherited from Ref | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
Protected Attributes | |
std::string | m_strFilePath |
Protected Attributes inherited from Ref | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
|
protected |
|
pure virtual |
Implemented in WidgetPropertiesReader0300, and WidgetPropertiesReader0250.
|
protected |
|
protected |
|
protected |
|
pure virtual |
Implemented in WidgetPropertiesReader0300, and WidgetPropertiesReader0250.
|
pure virtual |
Implemented in WidgetPropertiesReader0300, and WidgetPropertiesReader0250.
|
pure virtual |
Implemented in WidgetPropertiesReader0300, and WidgetPropertiesReader0250.
|
protected |