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