cocos2d-x  3.0-alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCSGUIReader Class Reference

#include <CCSGUIReader.h>

Inheritance diagram for CCSGUIReader:
Object

Public Member Functions

 CCSGUIReader ()
 ~CCSGUIReader ()
 ~CCSGUIReader ()
 ~CCSGUIReader ()
UIWidgetwidgetFromJsonFile (const char *fileName)
var widgetFromJsonFile ( var fileName)
local widgetFromJsonFile ( local fileName)
UIWidgetwidgetFromJsonDictionary (cs::JsonDictionary *data)
var widgetFromJsonDictionary ( var data)
local widgetFromJsonDictionary ( local data)
int getVersionInteger (const char *str)
void setPropsForWidgetFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
var setPropsForWidgetFromJsonDictionary ( var widget, var options)
local setPropsForWidgetFromJsonDictionary ( local widget, local options)
void setColorPropsForWidgetFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
var setColorPropsForWidgetFromJsonDictionary ( var widget, var options)
local setColorPropsForWidgetFromJsonDictionary ( local widget, local options)
void setPropsForButtonFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
var setPropsForButtonFromJsonDictionary ( var widget, var options)
local setPropsForButtonFromJsonDictionary ( local widget, local options)
void setPropsForCheckBoxFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForImageViewFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForLabelFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForLabelAtlasFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForContainerWidgetFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForPanelFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForScrollViewFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForSliderFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForTextAreaFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForTextButtonFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForTextFieldFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForLoadingBarFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForImageButtonFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForListViewFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForPageViewFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForLabelBMFontFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)
void setPropsForDragPanelFromJsonDictionary (UIWidget *widget, cs::JsonDictionary *options)

Static Public Member Functions

static CCSGUIReadershareReader ()
local shareReader ()
static void purgeCCSGUIReader ()
local purgeCCSGUIReader ()

Protected Attributes

std::string m_strFilePath
var m_strFilePath
local m_strFilePath
bool m_bOlderVersion
var m_bOlderVersion
local m_bOlderVersion

Additional Inherited Members

- Private Member Functions inherited from Object
 Object ()
 Constructor. More...
 
virtual ~Object ()
void release ()
 Release the ownership immediately. More...
 
void retain ()
 Retains the ownership. More...
 
Objectautorelease ()
 Release the ownership sometime soon automatically. More...
 
bool isSingleReference () const
 Returns a boolean value that indicates whether there is only one reference to the object. More...
 
unsigned int retainCount () const
 Returns the object's current reference count. More...
 
virtual bool isEqual (const Object *object)
 Returns a boolean value that indicates whether this object and a given object are equal. More...
 
virtual void acceptVisitor (DataVisitor &visitor)
virtual void update (float dt)
- Private Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 
unsigned int _reference
 count of references More...
 
var _reference
 count of references More...
 
local _reference
 count of references More...
 
unsigned int _autoReleaseCount
 count of autorelease More...
 
var _autoReleaseCount
 count of autorelease More...
 
local _autoReleaseCount
 count of autorelease More...
 

Constructor & Destructor Documentation

var CCSGUIReader ( )
local CCSGUIReader ( )
var ~CCSGUIReader ( )
local ~CCSGUIReader ( )

Member Function Documentation

int getVersionInteger ( const char *  str)
var getVersionInteger ( var  str)
local getVersionInteger ( local  str)
static void purgeCCSGUIReader ( )
static
var purgeCCSGUIReader ( )
static
local purgeCCSGUIReader ( )
static
void
setColorPropsForWidgetFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setColorPropsForWidgetFromJsonDictionary
( var  widget,
var  options 
)
local
setColorPropsForWidgetFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForButtonFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForButtonFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForButtonFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForCheckBoxFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForCheckBoxFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForCheckBoxFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForContainerWidgetFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForContainerWidgetFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForContainerWidgetFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForDragPanelFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForDragPanelFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForDragPanelFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForImageButtonFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForImageButtonFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForImageButtonFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForImageViewFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForImageViewFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForImageViewFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForLabelAtlasFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForLabelAtlasFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForLabelAtlasFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForLabelBMFontFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForLabelBMFontFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForLabelBMFontFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForLabelFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForLabelFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForLabelFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForListViewFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForListViewFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForListViewFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForLoadingBarFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForLoadingBarFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForLoadingBarFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForPageViewFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForPageViewFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForPageViewFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForPanelFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForPanelFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForPanelFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForScrollViewFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForScrollViewFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForScrollViewFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForSliderFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForSliderFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForSliderFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForTextAreaFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForTextAreaFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForTextAreaFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForTextButtonFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForTextButtonFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForTextButtonFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForTextFieldFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForTextFieldFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForTextFieldFromJsonDictionary
( local  widget,
local  options 
)
void
setPropsForWidgetFromJsonDictionary
( UIWidget widget,
cs::JsonDictionary options 
)
var
setPropsForWidgetFromJsonDictionary
( var  widget,
var  options 
)
local
setPropsForWidgetFromJsonDictionary
( local  widget,
local  options 
)
static CCSGUIReader* shareReader ( )
static
var shareReader ( )
static
local shareReader ( )
static
UIWidget* widgetFromJsonDictionary ( cs::JsonDictionary data)
var widgetFromJsonDictionary ( var  data)
local widgetFromJsonDictionary ( local  data)
UIWidget* widgetFromJsonFile ( const char *  fileName)
var widgetFromJsonFile ( var  fileName)
local widgetFromJsonFile ( local  fileName)

Member Data Documentation

bool m_bOlderVersion
protected
var m_bOlderVersion
protected
local m_bOlderVersion
protected
std::string m_strFilePath
protected
var m_strFilePath
protected
local m_strFilePath
protected

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