27 #ifndef _FalMultiLineEditbox_h_
28 #define _FalMultiLineEditbox_h_
30 #include "CEGUI/WindowRendererSets/Core/Module.h"
31 #include "CEGUI/widgets/MultiLineEditbox.h"
34 # pragma warning(push)
35 # pragma warning(disable : 4251)
75 static const String TypeName;
95 Rectf getTextRenderArea(
void)
const;
97 void update(
float elapsed);
100 bool isCaretBlinkEnabled()
const;
102 float getCaretBlinkTimeout()
const;
104 void setCaretBlinkEnabled(
bool enable);
106 void setCaretBlinkTimeout(
float seconds);
109 bool handleFontRenderSizeChange(
const Font*
const font);
122 void cacheEditboxBaseImagery();
131 void cacheCaretImagery(
const Rectf& textArea);
137 void cacheTextLines(
const Rectf& dest_area);
144 void setColourRectToUnselectedTextColour(
ColourRect& colour_rect)
const;
151 void setColourRectToSelectedTextColour(
ColourRect& colour_rect)
const;
158 void setColourRectToActiveSelectionColour(
ColourRect& colour_rect)
const;
165 void setColourRectToInactiveSelectionColour(
ColourRect& colour_rect)
const;
179 void setColourRectToOptionalPropertyColour(
const String& propertyName,
195 #if defined(_MSC_VER)
196 # pragma warning(pop)
199 #endif // end of guard _FalMultiLineEditbox_h_
Base class for multi-line edit box window renderer objects.
Definition: widgets/MultiLineEditbox.h:51
static const String UnselectedTextColourPropertyName
type name for this widget.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:78
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
static const String InactiveSelectionColourPropertyName
Name of the optional property to access to obtain inactive selection rendering colour.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:84
Class that holds details of colours for the four corners of a rectangle.
Definition: ColourRect.h:43
bool d_blinkCaret
true if the caret imagery should blink.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:183
Class that encapsulates a typeface.
Definition: Font.h:58
static const String SelectedTextColourPropertyName
Name of the optional property to access for the selected text colour.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:80
bool d_showCaret
true if caret should be shown.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:189
static const String ActiveSelectionColourPropertyName
Name of the optional property to access to obtain active selection rendering colour.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:82
MultiLineEditbox class for the FalagardBase module.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:72
float d_caretBlinkTimeout
time-out in seconds used for blinking the caret.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:185
static const float DefaultCaretBlinkTimeout
The default timeout (in seconds) used when blinking the caret.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:86
float d_caretBlinkElapsed
current time elapsed since last caret blink state change.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:187
String class used within the GUI system.
Definition: String.h:62