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

#include <UIRichText.h>

Inheritance diagram for RichElementText:
RichElement CCObject CCCopying

Public Member Functions

 RichElementText ()
virtual ~RichElementText ()
virtual bool init (int tag, const ccColor3B &color, GLubyte opacity, const char *text, const char *fontName, float fontSize)
- 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 RichElementTextcreate (int tag, const ccColor3B &color, GLubyte opacity, const char *text, const char *fontName, float fontSize)

Protected Attributes

std::string _text
std::string _fontName
float _fontSize
- 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

RichElementText ( )
inline
virtual ~RichElementText ( )
inlinevirtual

Member Function Documentation

static RichElementText* create ( int  tag,
const ccColor3B color,
GLubyte  opacity,
const char *  text,
const char *  fontName,
float  fontSize 
)
static
virtual bool init ( int  tag,
const ccColor3B color,
GLubyte  opacity,
const char *  text,
const char *  fontName,
float  fontSize 
)
virtual

Friends And Related Function Documentation

friend class RichText
friend

Member Data Documentation

std::string _fontName
protected
float _fontSize
protected
std::string _text
protected

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