Crazy Eddie's GUI System  0.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGUI::FormattedRenderedString Class Referenceabstract

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

Inherits CEGUI::AllocatedObject< FormattedRenderedString >.

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 Window *ref_wnd, const Sizef &area_size)=0
 
virtual void draw (const Window *ref_wnd, GeometryBuffer &buffer, const Vector2f &position, const ColourRect *mod_colours, const Rectf *clip_rect) const =0
 
virtual size_t getFormattedLineCount () const =0
 
virtual float getHorizontalExtent (const Window *ref_wnd) const =0
 
virtual float getVerticalExtent (const Window *ref_wnd) 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.