Crazy Eddies GUI System
0.7.2
|
Class that handles wrapping of a rendered string into sub-strings. Each sub-string is rendered using the FormattedRenderedString based class 'T'. More...
Public Member Functions | |
RenderedStringWordWrapper (const RenderedString &string) | |
Constructor. | |
~RenderedStringWordWrapper () | |
Destructor. | |
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 |
template<> | |
CEGUIEXPORT void | format (const Size &area_size) |
Public Member Functions inherited from CEGUI::FormattedRenderedString | |
virtual | ~FormattedRenderedString () |
Destructor. | |
void | setRenderedString (const RenderedString &string) |
set the RenderedString. | |
const RenderedString & | getRenderedString () const |
Protected Types | |
typedef std::vector < FormattedRenderedString * > | LineList |
type of collection used to track the formatted lines. | |
Protected Member Functions | |
void | deleteFormatters () |
Delete the current formatters and associated RenderedStrings. | |
Protected Member Functions inherited from CEGUI::FormattedRenderedString | |
FormattedRenderedString (const RenderedString &string) | |
Constructor. | |
Protected Attributes | |
LineList | d_lines |
collection of lines. | |
Protected Attributes inherited from CEGUI::FormattedRenderedString | |
const RenderedString * | d_renderedString |
RenderedString that we handle formatting for. | |
Class that handles wrapping of a rendered string into sub-strings. Each sub-string is rendered using the FormattedRenderedString based class 'T'.