|
| TextComponent (const TextComponent &obj) |
|
TextComponent & | operator= (const TextComponent &other) |
|
const String & | getText () const |
| Return the text set for this TextComponent. More...
|
|
String | getEffectiveText (const Window &wnd) const |
|
const String & | getTextVisual () const |
| return text string with visual ordering of glyphs. More...
|
|
String | getEffectiveVisualText (const Window &wnd) const |
|
void | setText (const String &text) |
| Set the text string for this TextComponent. More...
|
|
const String & | getFont () const |
| Return the name of the font set to be used when rendering this TextComponent. More...
|
|
String | getEffectiveFont (const Window &wnd) const |
|
void | setFont (const String &font) |
| Set the name of a font to be used when rendering this TextComponent. More...
|
|
VerticalTextFormatting | getVerticalFormatting (const Window &wnd) const |
| Return the current vertical formatting setting for this TextComponent. More...
|
|
void | setVerticalFormatting (VerticalTextFormatting fmt) |
| Set the vertical formatting setting for this TextComponent. More...
|
|
HorizontalTextFormatting | getHorizontalFormatting (const Window &wnd) const |
| Return the current horizontal formatting setting for this TextComponent. More...
|
|
void | setHorizontalFormatting (HorizontalTextFormatting fmt) |
| Set the horizontal formatting setting for this TextComponent. More...
|
|
void | setHorizontalFormattingPropertySource (const String &property_name) |
| Set the name of a property that will be used to obtain the horizontal formatting to use for this ImageryComponent.
|
|
void | setVerticalFormattingPropertySource (const String &property_name) |
| Set the name of a property that will be used to obtain the vertical formatting to use for this ImageryComponent.
|
|
void | writeXMLToStream (XMLSerializer &xml_stream) const |
| Writes an xml representation of this TextComponent to out_stream. More...
|
|
bool | isTextFetchedFromProperty () const |
| Return whether this TextComponent fetches it's text string via a property on the target window. More...
|
|
const String & | getTextPropertySource () const |
| Return the name of the property that will be used to determine the text string to render for this TextComponent. More...
|
|
void | setTextPropertySource (const String &property) |
| Set the name of the property that will be used to determine the text string to render for this TextComponent. More...
|
|
bool | isFontFetchedFromProperty () const |
| Return whether this TextComponent fetches it's font via a property on the target window. More...
|
|
const String & | getFontPropertySource () const |
| Return the name of the property that will be used to determine the font to use for rendering the text string for this TextComponent. More...
|
|
void | setFontPropertySource (const String &property) |
| Set the name of the property that will be used to determine the font to use for rendering the text string of this TextComponent. More...
|
|
float | getHorizontalTextExtent (const Window &window) const |
| return the horizontal pixel extent of the formatted rendered string.
|
|
float | getVerticalTextExtent (const Window &window) const |
| return the vertical pixel extent of the formatted rendered string.
|
|
bool | handleFontRenderSizeChange (Window &window, const Font *font) const |
| perform any processing required due to the given font having changed.
|
|
void | render (Window &srcWindow, const CEGUI::ColourRect *modColours=0, const Rectf *clipper=0, bool clipToDisplay=false) const |
| Render this component. More correctly, the component is cached for rendering. More...
|
|
void | render (Window &srcWindow, const Rectf &baseRect, const CEGUI::ColourRect *modColours=0, const Rectf *clipper=0, bool clipToDisplay=false) const |
| Render this component. More correctly, the component is cached for rendering. More...
|
|
const ComponentArea & | getComponentArea () const |
| Return the ComponentArea of this component. More...
|
|
void | setComponentArea (const ComponentArea &area) |
| Set the conponent's ComponentArea. More...
|
|
const ColourRect & | getColours () const |
| Return the ColourRect used by this component. More...
|
|
void | setColours (const ColourRect &cols) |
| Set the colours to be used by this component. More...
|
|
void | setColoursPropertySource (const String &property) |
| Set the name of the property where colour values can be obtained. More...
|
|
Class that encapsulates information for a text component.