#include <SliderReader.h>
Public Member Functions | |
DECLARE_CLASS_WIDGET_READER_INFO | SliderReader () |
virtual | ~SliderReader () |
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) |
![]() | |
DECLARE_CLASS_WIDGET_READER_INFO | WidgetReader () |
var | WidgetReader () |
local | WidgetReader () |
virtual | ~WidgetReader () |
var | ~WidgetReader () |
local | ~WidgetReader () |
virtual void | setColorPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options) |
local | setColorPropsFromJsonDictionary ( local widget, local options) |
![]() | |
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 () |
Static Public Member Functions | |
static SliderReader * | getInstance () |
static void | purge () |
![]() | |
static WidgetReader * | getInstance () |
static void | purge () |
local | 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) |
void | beginSetBasicProperties (cocos2d::ui::Widget *widget) |
void | endSetBasicProperties (cocos2d::ui::Widget *widget) |
![]() | |
Ref () | |
Constructor. More... | |
![]() | |
std::function< int(const std::string &)> | valueToInt |
local | 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... | |
var SliderReader | ( | ) |
local SliderReader | ( | ) |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
virtual |
Reimplemented from WidgetReader.
|
virtual |
Reimplemented from WidgetReader.
|
virtual |
Reimplemented from WidgetReader.
|
virtual |
Reimplemented from WidgetReader.
|
virtual |
Reimplemented from WidgetReader.
|
virtual |
Reimplemented from WidgetReader.