Crazy Eddies GUI System
0.7.1
|
FormattedRenderedString implementation that renders the RenderedString with centred formatting. More...
Public Member Functions | |
CentredRenderedString (const RenderedString &string) | |
Constructor. | |
void | format (const Size &area_size) |
void | draw (GeometryBuffer &buffer, const Vector2 &position, const ColourRect *mod_colours, const Rect *clip_rect) const |
size_t | getFormattedLineCount () const |
float | getHorizontalExtent () const |
float | getVerticalExtent () const |
Public Member Functions inherited from CEGUI::FormattedRenderedString | |
virtual | ~FormattedRenderedString () |
Destructor. | |
void | setRenderedString (const RenderedString &string) |
set the RenderedString. | |
const RenderedString & | getRenderedString () const |
Protected Attributes | |
std::vector< float > | d_offsets |
Protected Attributes inherited from CEGUI::FormattedRenderedString | |
const RenderedString * | d_renderedString |
RenderedString that we handle formatting for. | |
Additional Inherited Members | |
Protected Member Functions inherited from CEGUI::FormattedRenderedString | |
FormattedRenderedString (const RenderedString &string) | |
Constructor. | |
FormattedRenderedString implementation that renders the RenderedString with centred formatting.