28 #ifndef _FalStaticText_h_
29 #define _FalStaticText_h_
31 #include "CEGUI/WindowRendererSets/Core/Module.h"
32 #include "CEGUI/WindowRendererSets/Core/Static.h"
33 #include "CEGUI/falagard/Enums.h"
34 #include "CEGUI/ColourRect.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
119 void setTextColours(
const ColourRect& colours);
149 void setVerticalScrollbarEnabled(
bool setting);
155 void setHorizontalScrollbarEnabled(
bool setting);
158 float getHorizontalTextExtent()
const;
161 float getVerticalTextExtent()
const;
164 bool handleFontRenderSizeChange(
const Font*
const font);
169 void updateFormatting()
const;
171 void updateFormatting(
const Sizef& sz)
const;
174 void onLookNFeelAssigned();
175 void onLookNFeelUnassigned();
178 void renderScrolledText(
void);
179 void configureScrollbars(
void);
182 Rectf getTextRenderArea(
void)
const;
183 Sizef getDocumentSize(
const Rectf& renderArea)
const;
184 void setupStringFormatter()
const;
193 bool handleScrollbarChange(
const EventArgs& e);
207 typedef std::vector<Event::Connection> ConnectionList;
208 ConnectionList d_connections;
216 #if defined(_MSC_VER)
217 # pragma warning(pop)
220 #endif // end of guard _FalStaticText_h_