27 #ifndef _CEGUICentredRenderedString_h_
28 #define _CEGUICentredRenderedString_h_
30 #include "CEGUI/FormattedRenderedString.h"
33 #if defined (_MSC_VER)
34 # pragma warning(push)
35 # pragma warning(disable : 4251)
46 class CEGUIEXPORT CentredRenderedString :
public FormattedRenderedString
50 CentredRenderedString(
const RenderedString&
string);
53 void format(
const Window* ref_wnd,
const Sizef& area_size);
54 void draw(
const Window* ref_wnd, GeometryBuffer& buffer,
55 const Vector2f& position,
const ColourRect* mod_colours,
56 const Rectf* clip_rect)
const;
57 size_t getFormattedLineCount()
const;
58 float getHorizontalExtent(
const Window* ref_wnd)
const;
59 float getVerticalExtent(
const Window* ref_wnd)
const;
63 CEGUI_VECTOR_ALLOC(
float)> d_offsets;
68 #if defined (_MSC_VER)
72 #endif // end of guard _CEGUICentredRenderedString_h_
Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42