Crazy Eddie's GUI System  0.8.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::JustifiedRenderedString Class Reference

FormattedRenderedString implementation that renders the RenderedString with justified formatting. More...

+ Inheritance diagram for CEGUI::JustifiedRenderedString:
+ Collaboration diagram for CEGUI::JustifiedRenderedString:

Public Member Functions

 JustifiedRenderedString (const RenderedString &string)
 Constructor.
 
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
 
- Public Member Functions inherited from CEGUI::FormattedRenderedString
virtual ~FormattedRenderedString ()
 Destructor.
 
void setRenderedString (const RenderedString &string)
 set the RenderedString.
 
const RenderedStringgetRenderedString () const
 

Protected Attributes

std::vector< float
CEGUI_VECTOR_ALLOC(float)> 
d_spaceExtras
 space extra size for each line to achieve justified formatting.
 
- Protected Attributes inherited from CEGUI::FormattedRenderedString
const RenderedStringd_renderedString
 RenderedString that we handle formatting for.
 

Additional Inherited Members

- Protected Member Functions inherited from CEGUI::FormattedRenderedString
 FormattedRenderedString (const RenderedString &string)
 Constructor.
 

Detailed Description

FormattedRenderedString implementation that renders the RenderedString with justified formatting.