cocos2d-x  3.1rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ButtonReader Class Reference

#include <ButtonReader.h>

Inheritance diagram for ButtonReader:
WidgetReader Ref WidgetReaderProtocol

Public Member Functions

DECLARE_CLASS_WIDGET_READER_INFO ButtonReader ()
var ButtonReader ()
local ButtonReader ()
virtual ~ButtonReader ()
virtual void setPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
local setPropsFromJsonDictionary ( local widget, local options)
- Public Member Functions inherited from WidgetReader
DECLARE_CLASS_WIDGET_READER_INFO WidgetReader ()
var WidgetReader ()
local WidgetReader ()
virtual ~WidgetReader ()
virtual void setColorPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
local setColorPropsFromJsonDictionary ( local widget, local options)
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
- Public Member Functions inherited from WidgetReaderProtocol
virtual ~WidgetReaderProtocol ()

Static Public Member Functions

static ButtonReadergetInstance ()
static void purge ()
- Static Public Member Functions inherited from WidgetReader
static WidgetReadergetInstance ()
static void purge ()
local purge ()

Additional Inherited Members

- Protected Member Functions inherited from WidgetReader
std::string getResourcePath (const rapidjson::Value &dict, const std::string &key, cocos2d::ui::Widget::TextureResType texType)
local getResourcePath ( local dict, local key, local texType)
void setAnchorPointForWidget (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

var ButtonReader ( )
local ButtonReader ( )
virtual ~ButtonReader ( )
virtual
var ~ButtonReader ( )
virtual
local ~ButtonReader ( )
virtual

Member Function Documentation

static ButtonReader* getInstance ( )
static
var getInstance ( )
static
local getInstance ( )
static
static void purge ( )
static
var purge ( )
static
local purge ( )
static
virtual void
setPropsFromJsonDictionary
( cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
)
virtual

Reimplemented from WidgetReader.

var setPropsFromJsonDictionary ( var  widget,
var  options 
)
virtual

Reimplemented from WidgetReader.

local setPropsFromJsonDictionary ( local  widget,
local  options 
)
virtual

Reimplemented from WidgetReader.


The documentation for this class was generated from the following file: