cocos2d-x  2.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RichElementImage Class Reference

#include <UIRichText.h>

Inheritance diagram for RichElementImage:
RichElement CCObject CCCopying

Public Member Functions

 RichElementImage ()
virtual ~RichElementImage ()
virtual bool init (int tag, const ccColor3B &color, GLubyte opacity, const char *filePath)
local init ( local tag, local color, local opacity, local filePath)
- Public Member Functions inherited from RichElement
 RichElement ()
virtual ~RichElement ()
virtual bool init (int tag, const ccColor3B &color, GLubyte opacity)
local init ( local tag, local color, local opacity)
- Public Member Functions inherited from CCObject
 CCObject (void)
virtual ~CCObject (void)
void release (void)
void retain (void)
CCObjectautorelease (void)
CCObjectcopy (void)
bool isSingleReference (void) const
unsigned int retainCount (void) const
virtual bool isEqual (const CCObject *pObject)
virtual void acceptVisitor (CCDataVisitor &visitor)
virtual void update (float dt)
- Public Member Functions inherited from CCCopying
virtual CCObjectcopyWithZone (CCZone *pZone)

Static Public Member Functions

static RichElementImagecreate (int tag, const ccColor3B &color, GLubyte opacity, const char *filePath)

Protected Attributes

std::string _filePath
CCRect _textureRect
int _textureType
- Protected Attributes inherited from RichElement
RichElementType _type
var _type
local _type
int _tag
ccColor3B _color
GLubyte _opacity
- Protected Attributes inherited from CCObject
unsigned int m_uReference
unsigned int m_uAutoReleaseCount

Friends

class RichText

Additional Inherited Members

- Public Attributes inherited from CCObject
unsigned int m_uID
int m_nLuaID

Constructor & Destructor Documentation

RichElementImage ( )
inline
var RichElementImage ( )
inline
local RichElementImage ( )
inline
virtual ~RichElementImage ( )
inlinevirtual
var ~RichElementImage ( )
inlinevirtual
local ~RichElementImage ( )
inlinevirtual

Member Function Documentation

static RichElementImage* create ( int  tag,
const ccColor3B color,
GLubyte  opacity,
const char *  filePath 
)
static
var create ( var  tag,
var  color,
var  opacity,
var  filePath 
)
static
local create ( local  tag,
local  color,
local  opacity,
local  filePath 
)
static
virtual bool init ( int  tag,
const ccColor3B color,
GLubyte  opacity,
const char *  filePath 
)
virtual
var init ( var  tag,
var  color,
var  opacity,
var  filePath 
)
virtual
local init ( local  tag,
local  color,
local  opacity,
local  filePath 
)
virtual

Friends And Related Function Documentation

friend class RichText
friend
var RichText
friend
local RichText
friend

Member Data Documentation

std::string _filePath
protected
var _filePath
protected
local _filePath
protected
CCRect _textureRect
protected
var _textureRect
protected
local _textureRect
protected
int _textureType
protected
var _textureType
protected
local _textureType
protected

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