|  | 
|  | RenderedStringTextComponent () | 
|  | Constructor. 
 | 
|  | 
|  | RenderedStringTextComponent (const String &text) | 
|  | 
|  | RenderedStringTextComponent (const String &text, const String &font_name) | 
|  | 
|  | RenderedStringTextComponent (const String &text, const Font *font) | 
|  | 
| void | setText (const String &text) | 
|  | Set the text to be rendered by this component. 
 | 
|  | 
| const String & | getText () const | 
|  | return the text that will be rendered by this component 
 | 
|  | 
| void | setFont (const Font *font) | 
|  | set the font to use when rendering the text. 
 | 
|  | 
| void | setFont (const String &font_name) | 
|  | set the font to use when rendering the text. 
 | 
|  | 
| const Font * | getFont () const | 
|  | return the font set to be used. If 0 the default font will be used. 
 | 
|  | 
| void | setColours (const ColourRect &cr) | 
|  | Set the colour values used when rendering this component. 
 | 
|  | 
| void | setColours (const Colour &c) | 
|  | Set the colour values used when rendering this component. 
 | 
|  | 
| const ColourRect & | getColours () const | 
|  | return the ColourRect object used when drawing this component. 
 | 
|  | 
| void | draw (const Window *ref_wnd, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect, const float vertical_space, const float space_extra) const | 
|  | draw the component. 
 | 
|  | 
| Sizef | getPixelSize (const Window *ref_wnd) const | 
|  | return the pixel size of the rendered component. 
 | 
|  | 
| bool | canSplit () const | 
|  | return whether the component can be split 
 | 
|  | 
| RenderedStringTextComponent * | split (const Window *ref_wnd, float split_point, bool first_component) | 
|  | split the component as close to split_point as possible, returning a new RenderedStringComponent of the same type as '*this' holding the left side of the split, and leaving the right side of the split in this object.  More... 
 | 
|  | 
| RenderedStringTextComponent * | clone () const | 
|  | clone this component. 
 | 
|  | 
| size_t | getSpaceCount () const | 
|  | return the total number of spacing characters in the string. 
 | 
|  | 
| void | setSelection (const Window *ref_wnd, const float start, const float end) | 
|  | mark some region appropriate given /a start and /a end as selected. 
 | 
|  | 
| virtual | ~RenderedStringComponent () | 
|  | Destructor. 
 | 
|  | 
| void | setVerticalFormatting (VerticalFormatting fmt) | 
|  | Set the VerticalFormatting option for this component. 
 | 
|  | 
| VerticalFormatting | getVerticalFormatting () const | 
|  | return the current VerticalFormatting option. 
 | 
|  | 
| void | setPadding (const Rectf &padding) | 
|  | set the padding values. 
 | 
|  | 
| void | setLeftPadding (const float padding) | 
|  | set the left padding value. 
 | 
|  | 
| void | setRightPadding (const float padding) | 
|  | set the right padding value. 
 | 
|  | 
| void | setTopPadding (const float padding) | 
|  | set the top padding value. 
 | 
|  | 
| void | setBottomPadding (const float padding) | 
|  | set the Bottom padding value. 
 | 
|  | 
| const Rectf & | getPadding () const | 
|  | return the current padding value Rect. 
 | 
|  | 
| float | getLeftPadding () const | 
|  | return the left padding value. 
 | 
|  | 
| float | getRightPadding () const | 
|  | return the right padding value. 
 | 
|  | 
| float | getTopPadding () const | 
|  | return the top padding value. 
 | 
|  | 
| float | getBottomPadding () const | 
|  | return the bottom padding value. 
 | 
|  | 
| void | setAspectLock (const bool setting) | 
|  | set the aspect-lock state 
 | 
|  | 
| bool | getAspectLock () const | 
|  | return the aspect-lock state 
 | 
|  | 
String component that draws an image.