Class that handles wrapping of a rendered string into sub-strings. Each sub-string is rendered using the FormattedRenderedString based class 'T'.
More...
|
| RenderedStringWordWrapper (const RenderedString &string) |
| Constructor.
|
|
| ~RenderedStringWordWrapper () |
| Destructor.
|
|
void | format (const Window *ref_wnd, const Sizef &area_size) |
|
void | draw (const Window *ref_wnd, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect) const |
|
size_t | getFormattedLineCount () const |
|
float | getHorizontalExtent (const Window *ref_wnd) const |
|
float | getVerticalExtent (const Window *ref_wnd) const |
|
| RenderedStringWordWrapper (const RenderedString &string) |
| Constructor.
|
|
| ~RenderedStringWordWrapper () |
| Destructor.
|
|
void | format (const Window *ref_wnd, const Sizef &area_size) |
|
void | draw (const Window *ref_wnd, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect) const |
|
size_t | getFormattedLineCount () const |
|
float | getHorizontalExtent (const Window *ref_wnd) const |
|
float | getVerticalExtent (const Window *ref_wnd) const |
|
template<> |
CEGUIEXPORT void | format (const Window *ref_wnd, const Sizef &area_size) |
| specialised version of format used with Justified text
|
|
template<> |
void | format (const Window *ref_wnd, const Sizef &area_size) |
|
template<> |
CEGUIEXPORT void | format (const Window *ref_wnd, const Sizef &area_size) |
| specialised version of format used with Justified text
|
|
virtual | ~FormattedRenderedString () |
| Destructor.
|
|
void | setRenderedString (const RenderedString &string) |
| set the RenderedString.
|
|
const RenderedString & | getRenderedString () const |
|
virtual | ~FormattedRenderedString () |
| Destructor.
|
|
void | setRenderedString (const RenderedString &string) |
| set the RenderedString.
|
|
const RenderedString & | getRenderedString () const |
|
template<typename T>
class CEGUI::RenderedStringWordWrapper< T >
Class that handles wrapping of a rendered string into sub-strings. Each sub-string is rendered using the FormattedRenderedString based class 'T'.