27 #ifndef _FalStaticText_h_
28 #define _FalStaticText_h_
30 #include "CEGUI/WindowRendererSets/Core/Module.h"
31 #include "CEGUI/WindowRendererSets/Core/Static.h"
32 #include "CEGUI/falagard/Enums.h"
33 #include "CEGUI/ColourRect.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
118 void setTextColours(
const ColourRect& colours);
148 void setVerticalScrollbarEnabled(
bool setting);
154 void setHorizontalScrollbarEnabled(
bool setting);
157 float getHorizontalTextExtent()
const;
160 float getVerticalTextExtent()
const;
163 bool handleFontRenderSizeChange(
const Font*
const font);
168 void updateFormatting()
const;
170 void updateFormatting(
const Sizef& sz)
const;
173 void onLookNFeelAssigned();
174 void onLookNFeelUnassigned();
177 void renderScrolledText(
void);
178 void configureScrollbars(
void);
181 Rectf getTextRenderArea(
void)
const;
182 Sizef getDocumentSize(
const Rectf& renderArea)
const;
183 void setupStringFormatter()
const;
192 bool handleScrollbarChange(
const EventArgs& e);
206 typedef std::vector<Event::Connection> ConnectionList;
207 ConnectionList d_connections;
215 #if defined(_MSC_VER)
216 # pragma warning(pop)
219 #endif // end of guard _FalStaticText_h_