Rich element for displaying text. More...
#include <UIRichText.h>
Public Member Functions | |
| RichElementText () | |
| Default constructor. More... | |
| virtual | ~RichElementText () |
| Default destructor. More... | |
| local | ~RichElementText () |
| Default destructor. More... | |
| bool | init (int tag, const Color3B &color, GLubyte opacity, const std::string &text, const std::string &fontName, float fontSize) |
| Initialize a RichElementText with various arguments. More... | |
| var | init ( var tag, var color, var opacity, var text, var fontName, var fontSize) |
| Initialize a RichElementText with various arguments. More... | |
| local | init ( local tag, local color, local opacity, local text, local fontName, local fontSize) |
| Initialize a RichElementText with various arguments. More... | |
Public Member Functions inherited from RichElement | |
| RichElement () | |
| Default constructor. More... | |
| RichElement () | |
| Default constructor. More... | |
| RichElement () | |
| Default constructor. More... | |
| virtual | ~RichElement () |
| Default destructor. More... | |
| local | ~RichElement () |
| Default destructor. More... | |
| bool | init (int tag, const Color3B &color, GLubyte opacity) |
| Initialize a rich element with different arguments. More... | |
| var | init ( var tag, var color, var opacity) |
| Initialize a rich element with different arguments. More... | |
| local | init ( local tag, local color, local opacity) |
| Initialize a rich element with different arguments. More... | |
Public Member Functions inherited from Ref | |
| 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 () |
| Destructor. 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) |
| Create a RichElementText with various arguments. More... | |
| var | create ( var tag, var color, var opacity, var text, var fontName, var fontSize) |
| Create a RichElementText with various arguments. More... | |
| local | create ( local tag, local color, local opacity, local text, local fontName, local fontSize) |
| Create a RichElementText with various arguments. More... | |
Protected Attributes | |
| std::string | _text |
| std::string | _fontName |
| var | _fontName |
| local | _fontName |
| float | _fontSize |
| var | _fontSize |
| local | _fontSize |
Protected Attributes inherited from RichElement | |
| 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... | |
| local | _referenceCount |
| count of references More... | |
Friends | |
| class | RichText |
Additional Inherited Members | |
Public Types inherited from RichElement | |
| enum | Type { TEXT, IMAGE, CUSTOM } |
| Rich element type. More... | |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
Rich element for displaying text.
|
inline |
Default constructor.
|
inline |
Default constructor.
|
inline |
Default constructor.
|
inlinevirtual |
Default destructor.
|
inlinevirtual |
Default destructor.
|
inlinevirtual |
Default destructor.
|
static |
Create a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
|
static |
Create a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
|
static |
Create a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
| bool init | ( | int | tag, |
| const Color3B & | color, | ||
| GLubyte | opacity, | ||
| const std::string & | text, | ||
| const std::string & | fontName, | ||
| float | fontSize | ||
| ) |
Initialize a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
| var init | ( | var | tag, |
| var | color, | ||
| var | opacity, | ||
| var | text, | ||
| var | fontName, | ||
| var | fontSize | ||
| ) |
Initialize a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
| local init | ( | local | tag, |
| local | color, | ||
| local | opacity, | ||
| local | text, | ||
| local | fontName, | ||
| local | fontSize | ||
| ) |
Initialize a RichElementText with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| text | Content string. |
| fontName | Content font name. |
| fontSize | Content font size. |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |