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

#include <UIRichText.h>

Inheritance diagram for RichElementCustomNode:
RichElement Ref

Public Member Functions

 RichElementCustomNode ()
 
virtual ~RichElementCustomNode ()
 
bool init (int tag, const Color3B &color, GLubyte opacity, Node *customNode)
 
- Public Member Functions inherited from RichElement
 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 ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 NA NA More...
 

Static Public Member Functions

static RichElementCustomNodecreate (int tag, const Color3B &color, GLubyte opacity, Node *customNode)
 

Protected Attributes

Node_customNode
 
- Protected Attributes inherited from RichElement
Type _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

- Public Types inherited from RichElement
enum  Type { TEXT, IMAGE, CUSTOM }
 
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 

Constructor & Destructor Documentation

virtual ~RichElementCustomNode ( )
inlinevirtual

Member Function Documentation

static RichElementCustomNode* create ( int  tag,
const Color3B color,
GLubyte  opacity,
Node customNode 
)
static
bool init ( int  tag,
const Color3B color,
GLubyte  opacity,
Node customNode 
)

Friends And Related Function Documentation

friend class RichText
friend

Member Data Documentation

Node* _customNode
protected

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