cocos2d-x  3.2
 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 Types

enum  Type { TEXT, IMAGE, CUSTOM }
 

Public Member Functions

 RichElement ()
 RichElement ()
 RichElement ()
virtual ~RichElement ()
var ~RichElement ()
local ~RichElement ()
bool init (int tag, const Color3B &color, GLubyte opacity)
var init ( var tag, var color, var opacity)
local init ( local tag, local color, local 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 ()

Protected Attributes

Type _type
int _tag
var _tag
local _tag
Color3B _color
var _color
local _color
GLubyte _opacity
var _opacity
local _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...
 

Member Enumeration Documentation

enum Type
strong
Enumerator
TEXT 
IMAGE 
CUSTOM 
var Type
strong
Enumerator
TEXT 
IMAGE 
CUSTOM 
local Type
strong
Enumerator
TEXT 
IMAGE 
CUSTOM 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Friends And Related Function Documentation

friend class RichText
friend
var RichText
friend
local RichText
friend

Member Data Documentation

Color3B _color
protected
var _color
protected
local _color
protected
GLubyte _opacity
protected
var _opacity
protected
local _opacity
protected
int _tag
protected
var _tag
protected
local _tag
protected
Type _type
protected
var _type
protected
local _type
protected

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