Inheritance diagram for CEGUI::TextComponent:
Public Member Functions | |
TextComponent () | |
Constructor. | |
const String & | getText () const |
Return the text object that will be rendered by this TextComponent. | |
void | setText (const String &text) |
Set the text that will be rendered by this TextComponent. | |
const String & | getFont () const |
Return the name of the font to be used when rendering this TextComponent. | |
void | setFont (const String &font) |
Set the name of the font to be used when rendering this TextComponent. | |
VerticalTextFormatting | getVerticalFormatting () const |
Return the current vertical formatting setting for this TextComponent. | |
void | setVerticalFormatting (VerticalTextFormatting fmt) |
Set the vertical formatting setting for this TextComponent. | |
HorizontalTextFormatting | getHorizontalFormatting () const |
Return the current horizontal formatting setting for this TextComponent. | |
void | setHorizontalFormatting (HorizontalTextFormatting fmt) |
Set the horizontal formatting setting for this TextComponent. | |
void | writeXMLToStream (OutStream &out_stream) const |
Writes an xml representation of this TextComponent to out_stream. | |
Protected Member Functions | |
void | render_impl (Window &srcWindow, Rect &destRect, float base_z, const CEGUI::ColourRect *modColours, const Rect *clipper, bool clipToDisplay) const |
Method to do main render caching work. |
|
Return the name of the font to be used when rendering this TextComponent.
|
|
Return the current horizontal formatting setting for this TextComponent.
|
|
Return the text object that will be rendered by this TextComponent.
|
|
Return the current vertical formatting setting for this TextComponent.
|
|
Set the name of the font to be used when rendering this TextComponent. Note that setting this to the empty string ("") will cause the font from the base window passed when rendering to be used instead.
|
|
Set the horizontal formatting setting for this TextComponent.
|
|
Set the text that will be rendered by this TextComponent. Note that setting this to the empty string ("") will cause the text from the base window passed when rendering to be used instead.
|
|
Set the vertical formatting setting for this TextComponent.
|
|
Writes an xml representation of this TextComponent to out_stream.
|