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

#include <UIRichText.h>

Inheritance diagram for RichElement:
Ref RichElementCustomNode RichElementImage RichElementText

Public Member Functions

 RichElement ()
virtual ~RichElement ()
bool init (int tag, const Color3B &color, GLubyte opacity)
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Release the ownership immediately. More...
 
Refautorelease ()
 Release the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()

Protected Attributes

RichElementType _type
int _tag
Color3B _color
GLubyte _opacity
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Friends

class RichText

Additional Inherited Members

- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 

Constructor & Destructor Documentation

RichElement ( )
inline
virtual ~RichElement ( )
inlinevirtual

Member Function Documentation

bool init ( int  tag,
const Color3B color,
GLubyte  opacity 
)

Friends And Related Function Documentation

friend class RichText
friend

Member Data Documentation

Color3B _color
protected
GLubyte _opacity
protected
int _tag
protected
RichElementType _type
protected

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