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_
Class that encapsulates information for a text component.
Definition: TextComponent.h:48
Common base class used for renderable components within an ImagerySection.
Definition: ComponentBase.h:37
Class that holds details of colours for the four corners of a rectangle.
Definition: ColourRect.h:43
HorizontalTextFormatting
Enumeration of possible values to indicate the horizontal formatting to be used for a text component...
Definition: Enums.h:95
Abstract class to wrap a Bidi visual mapping of a text string.
Definition: BidiVisualMapping.h:50
Simple, generic, reference counted pointer class. This is primarily here for use by the Events system...
Definition: RefCounted.h:42
Class representing a rendered string of entities.
Definition: RenderedString.h:50
Class that encapsulates a typeface.
Definition: Font.h:58
VerticalTextFormatting
Enumeration of possible values to indicate the vertical formatting to be used for a text component...
Definition: Enums.h:84
An abstract base class providing common functionality and specifying the required interface for deriv...
Definition: Window.h:149
Class used to create XML Document.
Definition: XMLSerializer.h:85
String class used within the GUI system.
Definition: String.h:62