28 #ifndef _FalStaticText_h_
29 #define _FalStaticText_h_
31 #include "FalModule.h"
32 #include "FalStatic.h"
33 #include "FalStaticTextProperties.h"
34 #include "../../falagard/CEGUIFalEnums.h"
35 #include "../../CEGUIColourRect.h"
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
75 static const utf8 TypeName[];
120 void setTextColours(
const ColourRect& colours);
150 void setVerticalScrollbarEnabled(
bool setting);
156 void setHorizontalScrollbarEnabled(
bool setting);
159 float getHorizontalTextExtent()
const;
162 float getVerticalTextExtent()
const;
168 void updateFormatting()
const;
170 void updateFormatting(
const Size& sz)
const;
173 void onLookNFeelAssigned();
174 void onLookNFeelUnassigned();
177 void renderScrolledText(
void);
178 void configureScrollbars(
void);
181 Rect getTextRenderArea(
void)
const;
182 Size getDocumentSize(
const Rect& renderArea)
const;
183 void setupStringFormatter()
const;
192 bool handleScrollbarChange(
const EventArgs& e);
215 typedef std::vector<Event::Connection> ConnectionList;
216 ConnectionList d_connections;
224 #if defined(_MSC_VER)
225 # pragma warning(pop)
228 #endif // end of guard _FalStaticText_h_