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;
58 bool canSplit()
const;
61 bool first_component);
63 size_t getSpaceCount()
const;
64 void setSelection(
const Window* ref_wnd,
65 const float start,
const float end);
73 mutable bool d_windowPtrSynched;
82 #endif // end of guard _CEGUIRenderedStringWidgetComponent_h_