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

#include <CCSGUIReader.h>

Inheritance diagram for GUIReader:
Object

Public Member Functions

 GUIReader ()
 ~GUIReader ()
gui::UIWidgetwidgetFromJsonFile (const char *fileName)
local widgetFromJsonFile ( local fileName)
int getVersionInteger (const char *str)
void storeFileDesignSize (const char *fileName, const cocos2d::Size &size)
local storeFileDesignSize ( local fileName, local size)
const cocos2d::Size getFileDesignSize (const char *fileName) const
- Public 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)

Static Public Member Functions

static GUIReadershareReader ()
var getInstance ()
local getInstance ()
static void purgeGUIReader ()

Protected Attributes

std::string m_strFilePath
cocos2d::Dictionary_fileDesignSizes
var _fileDesignSizes
local _fileDesignSizes
- Protected Attributes inherited from Object
unsigned int _reference
 count of references More...
 
unsigned int _autoReleaseCount
 count of autorelease More...
 

Additional Inherited Members

- Public Attributes inherited from Object
unsigned int _ID
 object id, ScriptSupport need public _ID More...
 
int _luaID
 Lua reference id. More...
 

Constructor & Destructor Documentation

GUIReader ( )
var ctor ( )
local GUIReader ( )
~GUIReader ( )

Member Function Documentation

const cocos2d::Size
getFileDesignSize
( const char *  fileName) const
local getFileDesignSize ( local  fileName)
int getVersionInteger ( const char *  str)
var getVersionInteger ( var  str)
local getVersionInteger ( local  str)
static void purgeGUIReader ( )
static
var purge ( )
static
local purgeGUIReader ( )
static
static GUIReader* shareReader ( )
static
var getInstance ( )
static
local getInstance ( )
static
void storeFileDesignSize ( const char *  fileName,
const cocos2d::Size size 
)
local storeFileDesignSize ( local  fileName,
local  size 
)
gui::UIWidget* widgetFromJsonFile ( const char *  fileName)
var widgetFromJsonFile ( var  fileName)
local widgetFromJsonFile ( local  fileName)

Member Data Documentation

cocos2d::Dictionary*
_fileDesignSizes
protected
var _fileDesignSizes
protected
local _fileDesignSizes
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: