Crazy Eddies GUI System  0.7.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CEGUI::FormattedRenderedString Class Referenceabstract

Root of a class hierarchy that wrap RenderedString objects and render them with additional formatting. More...

Inherited by CEGUI::CentredRenderedString, CEGUI::JustifiedRenderedString, CEGUI::LeftAlignedRenderedString, CEGUI::RenderedStringWordWrapper< T >, and CEGUI::RightAlignedRenderedString.

+ Collaboration diagram for CEGUI::FormattedRenderedString:

Public Member Functions

virtual ~FormattedRenderedString ()
 Destructor.
 
virtual void format (const Size &area_size)=0
 
virtual void draw (GeometryBuffer &buffer, const Vector2 &position, const ColourRect *mod_colours, const Rect *clip_rect) const =0
 
virtual size_t getFormattedLineCount () const =0
 
virtual float getHorizontalExtent () const =0
 
virtual float getVerticalExtent () const =0
 
void setRenderedString (const RenderedString &string)
 set the RenderedString.
 
const RenderedStringgetRenderedString () const
 

Protected Member Functions

 FormattedRenderedString (const RenderedString &string)
 Constructor.
 

Protected Attributes

const RenderedStringd_renderedString
 RenderedString that we handle formatting for.
 

Detailed Description

Root of a class hierarchy that wrap RenderedString objects and render them with additional formatting.