Crazy Eddie's GUI System
0.8.7
|
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;
195 #if defined(_MSC_VER)
196 # pragma warning(pop)
199 #endif // end of guard _FalMultiLineEditbox_h_
Class that encapsulates a typeface.
Definition: Font.h:62
void setCaretBlinkEnabled(bool enable)
set whether the blinking caret is enabled.
static const String SelectedTextColourPropertyName
Name of the optional property to access for the selected text colour.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:80
void cacheEditboxBaseImagery()
Perform rendering of the widget control frame and other 'static' areas. This method should not render...
bool d_blinkCaret
true if the caret imagery should blink.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:183
void setColourRectToSelectedTextColour(ColourRect &colour_rect) const
Set the given ColourRect to the colour to be used for rendering Editbox text falling within the selec...
Base class for multi-line edit box window renderer objects.
Definition: widgets/MultiLineEditbox.h:52
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
void render()
Populate render cache.
void setCaretBlinkTimeout(float seconds)
set the caret blink timeout period (only used if blink is enabled).
float d_caretBlinkTimeout
time-out in seconds used for blinking the caret.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:185
bool handleFontRenderSizeChange(const Font *const font)
Perform any updates needed because the given font's render size has changed.
Class that holds details of colours for the four corners of a rectangle.
Definition: ColourRect.h:45
void update(float elapsed)
perform any time based updates for this WindowRenderer.
FalagardMultiLineEditbox(const String &type)
Constructor.
static const String UnselectedTextColourPropertyName
type name for this widget.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:78
float d_caretBlinkElapsed
current time elapsed since last caret blink state change.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:187
void setColourRectToOptionalPropertyColour(const String &propertyName, ColourRect &colour_rect) const
Set the given ColourRect to the colour(s) fetched from the named property if it exists,...
void cacheCaretImagery(const Rectf &textArea)
Render the caret.
static const String ActiveSelectionColourPropertyName
Name of the optional property to access to obtain active selection rendering colour.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:82
void setColourRectToActiveSelectionColour(ColourRect &colour_rect) const
Set the given ColouRect to the colours to be used for rendering the selection highlight when the edit...
static const String InactiveSelectionColourPropertyName
Name of the optional property to access to obtain inactive selection rendering colour.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:84
bool d_showCaret
true if caret should be shown.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:189
float getCaretBlinkTimeout() const
return the caret blink timeout period (only used if blink is enabled).
bool isCaretBlinkEnabled() const
return whether the blinking caret is enabled.
void cacheTextLines(const Rectf &dest_area)
Render text lines.
static const float DefaultCaretBlinkTimeout
The default timeout (in seconds) used when blinking the caret.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:86
MultiLineEditbox class for the FalagardBase module.
Definition: WindowRendererSets/Core/MultiLineEditbox.h:73
String class used within the GUI system.
Definition: String.h:64
void setColourRectToInactiveSelectionColour(ColourRect &colour_rect) const
set the given ColourRect to the colours to be used for rendering the selection highlight when the edi...
Rectf getTextRenderArea(void) const
Return a Rect object describing, in un-clipped pixels, the window relative area that the text should ...
void setColourRectToUnselectedTextColour(ColourRect &colour_rect) const
Set the given ColourRect to the colour to be used for rendering Editbox text oustside of the selected...