Crazy Eddie's GUI System 0.8.7
CEGUI::RightAlignedRenderedString Class Reference

FormattedRenderedString implementation that renders the RenderedString with right aligned formatting. More...

#include <RightAlignedRenderedString.h>

+ Inheritance diagram for CEGUI::RightAlignedRenderedString:
+ Collaboration diagram for CEGUI::RightAlignedRenderedString:

Public Member Functions

 RightAlignedRenderedString (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.
 
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 Attributes

std::vector< float CEGUI_VECTOR_ALLOC(float)> d_offsets
 
- 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 right aligned formatting.

Member Function Documentation

◆ draw()

void CEGUI::RightAlignedRenderedString::draw ( const Window ref_wnd,
GeometryBuffer buffer,
const Vector2f position,
const ColourRect mod_colours,
const Rectf clip_rect 
) const
virtual

◆ format()

void CEGUI::RightAlignedRenderedString::format ( const Window ref_wnd,
const Sizef area_size 
)
virtual

◆ getFormattedLineCount()

size_t CEGUI::RightAlignedRenderedString::getFormattedLineCount ( ) const
virtual

◆ getHorizontalExtent()

float CEGUI::RightAlignedRenderedString::getHorizontalExtent ( const Window ref_wnd) const
virtual

◆ getVerticalExtent()

float CEGUI::RightAlignedRenderedString::getVerticalExtent ( const Window ref_wnd) const
virtual