cocos2d-x  3.0rc1
 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 Ref

Public Member Functions

 RichElementText ()
 RichElementText ()
 RichElementText ()
virtual ~RichElementText ()
var ~RichElementText ()
local ~RichElementText ()
bool init (int tag, const Color3B &color, GLubyte opacity, const char *text, const char *fontName, float fontSize)
var init ( var tag, var color, var opacity, var text, var fontName, var fontSize)
local init ( local tag, local color, local opacity, local text, local fontName, local fontSize)
- Public Member Functions inherited from 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 ()
 Release the ownership immediately. More...
 
local 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 ()

Static Public Member Functions

static RichElementTextcreate (int tag, const Color3B &color, GLubyte opacity, const char *text, const char *fontName, float fontSize)
local create ( local tag, local color, local opacity, local text, local fontName, local fontSize)

Protected Attributes

std::string _text
local _text
std::string _fontName
var _fontName
local _fontName
float _fontSize
var _fontSize
local _fontSize
- Protected Attributes inherited from RichElement
RichElementType _type
var _type
local _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...
 
 Ref ()
 Constructor. More...
 

Constructor & Destructor Documentation

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

Member Function Documentation

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

Friends And Related Function Documentation

friend class RichText
friend
var RichText
friend
local RichText
friend

Member Data Documentation

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

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