27 #ifndef _CEGUIRenderedStringWidgetComponent_h_ 28 #define _CEGUIRenderedStringWidgetComponent_h_ 30 #include "CEGUI/RenderedStringComponent.h" 31 #include "CEGUI/String.h" 37 class CEGUIEXPORT RenderedStringWidgetComponent :
public RenderedStringComponent
41 RenderedStringWidgetComponent();
42 RenderedStringWidgetComponent(
const String& widget_name);
43 RenderedStringWidgetComponent(Window* widget);
46 void setWindow(
const String& widget_name);
48 void setWindow(Window* widget);
50 const Window* getWindow()
const;
53 void draw(
const Window* ref_wnd, GeometryBuffer& buffer,
54 const Vector2f& position,
const ColourRect* mod_colours,
55 const Rectf* clip_rect,
const float vertical_space,
56 const float space_extra)
const;
57 Sizef getPixelSize(
const Window* ref_wnd)
const;
58 bool canSplit()
const;
59 RenderedStringWidgetComponent* split(
const Window* ref_wnd,
61 bool first_component);
62 RenderedStringWidgetComponent* clone()
const;
63 size_t getSpaceCount()
const;
64 void setSelection(
const Window* ref_wnd,
65 const float start,
const float end);
68 Window* getEffectiveWindow(
const Window* ref_wnd)
const;
73 mutable bool d_windowPtrSynched;
75 mutable Window* d_window;
82 #endif // end of guard _CEGUIRenderedStringWidgetComponent_h_ Main namespace for Crazy Eddie's GUI Library.
Definition: cegui/include/CEGUI/Affector.h:42