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);
221 const String& getHorizontalFormattingPropertySource()
const;
228 void setHorizontalFormattingPropertySource(
const String& property_name);
238 const String& getVerticalFormattingPropertySource()
const;
245 void setVerticalFormattingPropertySource(
const String& property_name);
268 bool isTextFetchedFromProperty()
const;
278 const String& getTextPropertySource()
const;
291 void setTextPropertySource(
const String& property);
301 bool isFontFetchedFromProperty()
const;
311 const String& getFontPropertySource()
const;
324 void setFontPropertySource(
const String& property);
327 float getHorizontalTextExtent(
const Window& window)
const;
330 float getVerticalTextExtent(
const Window& window)
const;
333 bool handleFontRenderSizeChange(
Window& window,
const Font* font)
const;
337 void updateFormatting(
const Window& srcWindow)
const;
346 void updateFormatting(
const Window& srcWindow,
const Sizef& size)
const;
352 void setupStringFormatter(
const Window& window,
355 const Font* getFontObject(
const Window& window)
const;
363 mutable bool d_bidiDataValid;
376 String d_textPropertyName;
377 String d_fontPropertyName;
382 #if defined(_MSC_VER)
383 # pragma warning(pop)
386 #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
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
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