cocos2d-x
3.3
|
#include <UIRichText.h>
Public Member Functions | |
RichElementText () | |
virtual | ~RichElementText () |
bool | init (int tag, const Color3B &color, GLubyte opacity, const std::string &text, const std::string &fontName, float fontSize) |
![]() | |
RichElement () | |
virtual | ~RichElement () |
bool | init (int tag, const Color3B &color, GLubyte opacity) |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
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 RichElementText * | create (int tag, const Color3B &color, GLubyte opacity, const std::string &text, const std::string &fontName, float fontSize) |
Protected Attributes | |
std::string | _text |
std::string | _fontName |
float | _fontSize |
![]() | |
Type | _type |
int | _tag |
Color3B | _color |
GLubyte | _opacity |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
Friends | |
class | RichText |
Additional Inherited Members | |
![]() | |
enum | Type { TEXT, IMAGE, CUSTOM } |
![]() | |
Ref () | |
Constructor. More... | |
|
inline |
|
inlinevirtual |
|
static |
bool init | ( | int | tag, |
const Color3B & | color, | ||
GLubyte | opacity, | ||
const std::string & | text, | ||
const std::string & | fontName, | ||
float | fontSize | ||
) |
|
friend |
|
protected |
|
protected |
|
protected |