Crazy Eddies GUI System: CEGUI::RenderedStringWordWrapper< T > Class Template Reference

Crazy Eddies GUI System 0.7.6

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
CEGUI::RenderedStringWordWrapper< T > Class Template Reference

Class that handles wrapping of a rendered string into sub-strings. Each sub-string is rendered using the FormattedRenderedString based class 'T'. More...

Inheritance diagram for CEGUI::RenderedStringWordWrapper< T >:
[legend]
Collaboration diagram for CEGUI::RenderedStringWordWrapper< T >:
[legend]

List of all members.

## 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)
## 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 Attributes
LineList | d_lines
| collection of lines.

## Detailed Description

### 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'.