27 #ifndef _CEGUIFalTextComponent_h_
28 #define _CEGUIFalTextComponent_h_
30 #include "./ComponentBase.h"
31 #include "../RenderedString.h"
32 #include "../RefCounted.h"
33 #include "../FormattedRenderedString.h"
34 #include "CEGUI/falagard/FormattingSetting.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
68 const String& getText()
const;
89 const String& getTextVisual()
const;
111 void setText(
const String& text);
129 const String& getFont()
const;
151 void setFont(
const String& font);
200 void setHorizontalFormattingPropertySource(
const String& property_name);
207 void setVerticalFormattingPropertySource(
const String& property_name);
230 bool isTextFetchedFromProperty()
const;
240 const String& getTextPropertySource()
const;
253 void setTextPropertySource(
const String& property);
263 bool isFontFetchedFromProperty()
const;
273 const String& getFontPropertySource()
const;
286 void setFontPropertySource(
const String& property);
289 float getHorizontalTextExtent(
const Window& window)
const;
292 float getVerticalTextExtent(
const Window& window)
const;
295 bool handleFontRenderSizeChange(
Window& window,
const Font* font)
const;
301 void setupStringFormatter(
const Window& window,
304 const Font* getFontObject(
const Window& window)
const;
312 mutable bool d_bidiDataValid;
325 String d_textPropertyName;
326 String d_fontPropertyName;
331 #if defined(_MSC_VER)
332 # pragma warning(pop)
335 #endif // end of guard _CEGUIFalTextComponent_h_