cocos2d-x
3.3
|
#include <ScrollViewReader.h>
Public Member Functions | |
ScrollViewReader () | |
virtual | ~ScrollViewReader () |
virtual void | setPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options) |
virtual void | setPropsFromBinary (cocos2d::ui::Widget *widget, CocoLoader *cocoLoader, stExpCocoNode *pCocoNode) |
flatbuffers::Offset < flatbuffers::Table > | createOptionsWithFlatBuffers (const tinyxml2::XMLElement *objectData, flatbuffers::FlatBufferBuilder *builder) |
void | setPropsWithFlatBuffers (cocos2d::Node *node, const flatbuffers::Table *scrollViewOptions) |
cocos2d::Node * | createNodeWithFlatBuffers (const flatbuffers::Table *scrollViewOptions) |
int | getResourceType (std::string key) |
![]() | |
LayoutReader () | |
virtual | ~LayoutReader () |
int | getResourceType (std::string key) |
![]() | |
WidgetReader () | |
virtual | ~WidgetReader () |
virtual void | setColorPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options) |
flatbuffers::Offset < flatbuffers::Table > | createOptionsWithFlatBuffers (const tinyxml2::XMLElement *objectData, flatbuffers::FlatBufferBuilder *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 () |
NA NA More... | |
![]() | |
virtual | ~WidgetReaderProtocol () |
![]() | |
NodeReaderProtocol () | |
virtual | ~NodeReaderProtocol () |
Static Public Member Functions | |
static ScrollViewReader * | getInstance () |
static void | purge () |
![]() | |
static LayoutReader * | getInstance () |
static void | purge () |
![]() | |
static WidgetReader * | getInstance () |
static void | purge () |
Additional Inherited Members | |
![]() | |
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) |
std::string | getResourcePath (const std::string &path, cocos2d::ui::Widget::TextureResType 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 |
std::function< float(const std::string &)> | valueToFloat |
float | _sizePercentX |
float | _sizePercentY |
float | _positionPercentX |
float | _positionPercentY |
float | _width |
float | _height |
cocos2d::Color3B | _color |
int | _opacity |
cocos2d::Vec2 | _position |
bool | _isAdaptScreen |
cocos2d::Vec2 | _originalAnchorPoint |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
ScrollViewReader | ( | ) |
|
virtual |
|
virtual |
Reimplemented from LayoutReader.
|
virtual |
Reimplemented from LayoutReader.
|
static |
int getResourceType | ( | std::string | key | ) |
|
static |
|
virtual |
Reimplemented from LayoutReader.
Reimplemented in ListViewReader.
|
virtual |
Reimplemented from LayoutReader.
Reimplemented in ListViewReader.
|
virtual |
Reimplemented from LayoutReader.