28 #ifndef _CEGUIFalTextComponent_h_
29 #define _CEGUIFalTextComponent_h_
31 #include "./ComponentBase.h"
32 #include "../RenderedString.h"
33 #include "../RefCounted.h"
34 #include "../FormattedRenderedString.h"
35 #include "CEGUI/falagard/FormattingSetting.h"
38 # pragma warning(push)
39 # pragma warning(disable : 4251)
69 const String& getText()
const;
90 const String& getTextVisual()
const;
112 void setText(
const String& text);
130 const String& getFont()
const;
152 void setFont(
const String& font);
201 void setHorizontalFormattingPropertySource(
const String& property_name);
208 void setVerticalFormattingPropertySource(
const String& property_name);
231 bool isTextFetchedFromProperty()
const;
241 const String& getTextPropertySource()
const;
254 void setTextPropertySource(
const String& property);
264 bool isFontFetchedFromProperty()
const;
274 const String& getFontPropertySource()
const;
287 void setFontPropertySource(
const String& property);
290 float getHorizontalTextExtent(
const Window& window)
const;
293 float getVerticalTextExtent(
const Window& window)
const;
296 bool handleFontRenderSizeChange(
Window& window,
const Font* font)
const;
302 void setupStringFormatter(
const Window& window,
305 const Font* getFontObject(
const Window& window)
const;
313 mutable bool d_bidiDataValid;
326 String d_textPropertyName;
327 String d_fontPropertyName;
332 #if defined(_MSC_VER)
333 # pragma warning(pop)
336 #endif // end of guard _CEGUIFalTextComponent_h_