#include <CEGUIMultiLineEditbox.h>
Inheritance diagram for CEGUI::MultiLineEditbox:
Public Types | |
typedef ConstBaseIterator< PropertyRegistry > | PropertyIterator |
typedef ConstBaseIterator< EventMap > | EventIterator |
Public Member Functions | |
bool | hasInputFocus (void) const |
return true if the edit box has input focus. | |
bool | isReadOnly (void) const |
return true if the edit box is read-only. | |
ulong | getCaratIndex (void) const |
return the current position of the carat. | |
ulong | getSelectionStartIndex (void) const |
return the current selection start point. | |
ulong | getSelectionEndIndex (void) const |
return the current selection end point. | |
ulong | getSelectionLength (void) const |
return the length of the current selection (in code points / characters). | |
ulong | getMaxTextLength (void) const |
return the maximum text length set for this edit box. | |
colour | getNormalTextColour (void) const |
return the currently set colour to be used for rendering edit box text in the normal, unselected state. | |
colour | getSelectedTextColour (void) const |
return the currently set colour to be used for rendering the edit box text when within the selected region. | |
colour | getNormalSelectBrushColour (void) const |
return the currently set colour to be used for rendering the edit box selection highlight when the edit box is active. | |
colour | getInactiveSelectBrushColour (void) const |
return the currently set colour to be used for rendering the edit box selection highlight when the edit box is inactive. | |
bool | isWordWrapped (void) const |
Return whether the text in the edit box will be word-wrapped. | |
virtual void | initialise (void) |
Initialise the Window based object ready for use. | |
void | setReadOnly (bool setting) |
Specify whether the edit box is read-only. | |
void | setCaratIndex (ulong carat_pos) |
Set the current position of the carat. | |
void | setSelection (ulong start_pos, ulong end_pos) |
Define the current selection for the edit box. | |
void | setMaxTextLength (ulong max_len) |
set the maximum text length for this edit box. | |
void | setNormalTextColour (const colour &col) |
Set the colour to be used for rendering edit box text in the normal, unselected state. | |
void | setSelectedTextColour (const colour &col) |
Set the colour to be used for rendering the edit box text when within the selected region. | |
void | setNormalSelectBrushColour (const colour &col) |
Set the colour to be used for rendering the edit box selection highlight when the edit box is active. | |
void | setInactiveSelectBrushColour (const colour &col) |
Set the colour to be used for rendering the edit box selection highlight when the edit box is inactive. | |
void | ensureCaratIsVisible (void) |
Scroll the view so that the current carat position is visible. | |
void | setWordWrapping (bool setting) |
Set whether the text will be word wrapped or not. | |
MultiLineEditbox (const String &type, const String &name) | |
Constructor for the MultiLineEditbox base class. | |
virtual | ~MultiLineEditbox (void) |
Destructor for the MultiLineEditbox base class. | |
const String & | getType (void) const |
return a String object holding the type name for this Window. | |
const String & | getName (void) const |
return a String object holding the name of this Window. | |
bool | isDestroyedByParent (void) const |
returns whether or not this Window is set to be destroyed when its parent is destroyed. | |
bool | isAlwaysOnTop (void) const |
returns whether or not this Window is an always on top (a.k.a 'topmost') Window. | |
bool | isDisabled (void) const |
return true if the Window is currently disabled | |
bool | isVisible (void) const |
return true if the Window is currently visible. | |
bool | isActive (void) const |
return true if this is the active Window (the window that receives inputs) | |
bool | isClippedByParent (void) const |
return true if this Window is clipped so that its rendering does not pass outside its parent windows area. | |
uint | getID (void) const |
return the ID code currently assigned to this Window by client code. | |
uint | getChildCount (void) const |
return the number of child Window objects currently attached to this Window. | |
bool | isChild (const String &name) const |
returns whether a Window with the specified name is currently attached to this Window as a child. | |
bool | isChild (uint ID) const |
returns whether at least one window with the given ID code is attached as a child. | |
bool | isChild (const Window *window) const |
return true if the given Window is a child of this window. | |
Window * | getChild (const String &name) const |
return a pointer to the child window with the specified name. | |
Window * | getChild (uint ID) const |
return a pointer to the first attached child window with the specified ID. | |
Window * | getChildAtIdx (uint idx) const |
return a pointer to the child window that is attached to 'this' at the given index. | |
Window * | getActiveChild (void) |
return a pointer to the Window that currently has input focus starting with this Window. | |
const Window * | getActiveChild (void) const |
bool | isAncestor (const String &name) const |
return true if the specified Window is some ancestor of this Window | |
bool | isAncestor (uint ID) const |
return true if any Window with the given ID is some ancestor of this Window. | |
bool | isAncestor (const Window *window) const |
return true if the specified Window is some ancestor of this Window. | |
const Font * | getFont (void) const |
return the Font object active for the Window. | |
const String & | getText (void) const |
return the current text for the Window | |
bool | inheritsAlpha (void) const |
return true if the Window inherits alpha from its parent(s). | |
float | getAlpha (void) const |
return the current alpha value set for this Window | |
float | getEffectiveAlpha (void) const |
return the effective alpha value that will be used when rendering this window, taking into account inheritance of parent window(s) alpha. | |
Rect | getRect (void) const |
return a Rect object that describes the Window area. | |
Rect | getRect (MetricsMode mode) const |
return a Rect object that describes the Window area using the specified metrics system. | |
virtual Rect | getPixelRect (void) const |
return a Rect object describing the Window area in screen space. | |
Rect | getInnerRect (void) const |
return a Rect object describing the clipped inner area for this window. | |
Rect | getUnclippedPixelRect (void) const |
return a Rect object describing the Window area unclipped, in screen space. | |
virtual Rect | getUnclippedInnerRect (void) const |
Return a Rect object that describes, unclipped, the inner rectangle for this window. The inner rectangle is typically an area that excludes some frame or other rendering that should not be touched by subsequent rendering. | |
bool | isCapturedByThis (void) const |
return true if this Window has input captured. | |
bool | isCapturedByAncestor (void) const |
return true if a child window has captured inputs. | |
bool | isCapturedByChild (void) const |
return true if an ancestor window has captured inputs. | |
virtual bool | isHit (const Point &position) const |
check if the given position would hit this window. | |
Window * | getChildAtPosition (const Point &position) const |
return the child Window that is 'hit' by the given position | |
MetricsMode | getMetricsMode (void) const |
return the current metrics mode employed by the Window | |
float | getXPosition (void) const |
return the x position of the window. Interpretation of return value depends upon the metric type in use by this window. | |
float | getXPosition (MetricsMode mode) const |
return the x position of the window using the specified metrics system. | |
float | getYPosition (void) const |
return the y position of the window. Interpretation of return value depends upon the metric type in use by this window. | |
float | getYPosition (MetricsMode mode) const |
return the y position of the window using the specified metrics system. | |
Point | getPosition (void) const |
return the position of the window. Interpretation of return value depends upon the metric type in use by this window. | |
Point | getPosition (MetricsMode mode) const |
return the position of the window using the specified metrics system. | |
float | getWidth (void) const |
return the width of the Window. Interpretation of return value depends upon the metric type in use by this window. | |
float | getWidth (MetricsMode mode) const |
return the width of the Window using the specified metrics system. | |
float | getHeight (void) const |
return the height of the Window. Interpretation of return value depends upon the metric type in use by this window. | |
float | getHeight (MetricsMode mode) const |
return the height of the Window using the specified metrics system. | |
Size | getSize (void) const |
return the size of the Window. Interpretation of return value depends upon the metric type in use by this window. | |
Size | getSize (MetricsMode mode) const |
return the size of the Window using the specified metrics system. | |
Window * | getParent (void) const |
return the parent of this Window. | |
Size | getMaximumSize (void) const |
Return the current maximum size for this window. | |
Size | getMinimumSize (void) const |
Return the current minimum size for this window. | |
const Image * | getMouseCursor (void) const |
Return a pointer to the mouse cursor image to use when the mouse is within this window. | |
Rect | getRelativeRect (void) const |
Return the window area rect in relative metrics. | |
Point | getRelativePosition (void) const |
Return the window position in relative metrics. | |
float | getRelativeXPosition (void) const |
Return the window X position in relative metrics. | |
float | getRelativeYPosition (void) const |
Return the window Y position in relative metrics. | |
Size | getRelativeSize (void) const |
Return the window size in relative metrics. | |
float | getRelativeWidth (void) const |
Return the window width in relative metrics. | |
float | getRelativeHeight (void) const |
Return the window height in relative metrics. | |
Rect | getAbsoluteRect (void) const |
Return the window area rect in absolute metrics. | |
Point | getAbsolutePosition (void) const |
Return the window position in absolute metrics. | |
float | getAbsoluteXPosition (void) const |
Return the window X position in absolute metrics. | |
float | getAbsoluteYPosition (void) const |
Return the window Y position in absolute metrics. | |
Size | getAbsoluteSize (void) const |
Return the window size in absolute metrics. | |
float | getAbsoluteWidth (void) const |
Return the window width in absolute metrics. | |
float | getAbsoluteHeight (void) const |
Return the window height in absolute metrics. | |
void * | getUserData (void) const |
Return the user data set for this Window. | |
bool | restoresOldCapture (void) const |
Return whether this window is set to restore old input capture when it loses input capture. | |
bool | isZOrderingEnabled (void) const |
Return whether z-order changes are enabled or disabled for this Window. | |
bool | wantsMultiClickEvents (void) const |
Return whether this window will receive multi-click events or multiple 'down' events instead. | |
bool | isMouseAutoRepeatEnabled (void) const |
Return whether mouse button down event autorepeat is enabled for this window. | |
float | getAutoRepeatDelay (void) const |
Return the current auto-repeat delay setting for this window. | |
float | getAutoRepeatRate (void) const |
Return the current auto-repeat rate setting for this window. | |
void | setDestroyedByParent (bool setting) |
Set whether or not this Window will automatically be destroyed when its parent Window is destroyed. | |
void | setAlwaysOnTop (bool setting) |
Set whether this window is always on top, or not. | |
void | setEnabled (bool setting) |
Set whether this window is enabled or disabled. A disabled window normally can not be interacted with, and may have different rendering. | |
void | enable (void) |
enable the Window to allow interaction. | |
void | disable (void) |
disable the Window to prevent interaction. | |
void | setVisible (bool setting) |
Set whether the Window is visible or hidden. | |
void | show (void) |
show the Window | |
void | hide (void) |
hide the Window. | |
void | activate (void) |
Activate the Window giving it input focus and bringing it to the top of all non always-on-top Windows. | |
void | deactivate (void) |
Deactivate the window. No further inputs will be received by the window until it is re-activated either programmatically or by the user interacting with the gui. | |
void | setClippedByParent (bool setting) |
Set whether this Window will be clipped by its parent window(s). | |
void | setID (uint ID) |
Set the current ID for the Window. | |
void | setText (const String &text) |
Set the current text string for the Window. | |
void | setWidth (float width) |
Set the current width of the Window. Interpretation of the input value width is dependant upon the current metrics system set for the Window. | |
void | setWidth (MetricsMode mode, float width) |
set the width of the Window using the specified metrics system. | |
void | setHeight (float height) |
Set the current height of the Window. Interpretation of the input value height is dependant upon the current metrics system set for the Window. | |
void | setHeight (MetricsMode mode, float height) |
set the height of the Window using the specified metrics system. | |
void | setSize (const Size &size) |
Set the current size of the Window. Interpretation of the input value size is dependant upon the current metrics system set for the Window. | |
void | setSize (MetricsMode mode, const Size &size) |
set the size of the Window using the specified metrics system. | |
void | setXPosition (float x) |
Set the current 'x' position of the Window. Interpretation of the input value x is dependant upon the current metrics system set for the Window. | |
void | setXPosition (MetricsMode mode, float x) |
set the x position of the window using the specified metrics system. | |
void | setYPosition (float y) |
Set the current 'y' position of the Window. Interpretation of the input value y is dependant upon the current metrics system set for the Window. | |
void | setYPosition (MetricsMode mode, float y) |
set the y position of the window using the specified metrics system. | |
void | setPosition (const Point &position) |
Set the current position of the Window. Interpretation of the input value position is dependant upon the current metrics system set for the Window. | |
void | setPosition (MetricsMode mode, const Point &position) |
set the position of the window using the specified metrics system. | |
void | setAreaRect (const Rect &area) |
Set the current area for the Window, this allows for setting of position and size at the same time. Interpretation of the input value area is dependant upon the current metrics system set for the Window. | |
void | setFont (const Font *font) |
Set the font used by this Window. | |
void | setFont (const String &name) |
Set the font used by this Window. | |
void | addChildWindow (const String &name) |
Add the named Window as a child of this Window. If the Window name is already attached to a Window, it is detached before being added to this Window. | |
void | addChildWindow (Window *window) |
Add the specified Window as a child of this Window. If the Window window is already attached to a Window, it is detached before being added to this Window. | |
void | removeChildWindow (const String &name) |
Remove the named Window from this windows child list. | |
void | removeChildWindow (Window *window) |
Remove the specified Window form this windows child list. | |
void | removeChildWindow (uint ID) |
Remove the first child Window with the specified ID. If there is more than one attached Window objects with the specified ID, only the fist one encountered will be removed. | |
void | moveToFront () |
Move the Window to the top of the z order. | |
void | moveToBack () |
Move the Window to the bottom of the Z order. | |
bool | captureInput (void) |
Captures input to this window. | |
void | releaseInput (void) |
Releases input capture from this Window. If this Window does not have inputs captured, nothing happens. | |
void | setRestoreCapture (bool setting) |
Set whether this window will remember and restore the previous window that had inputs captured. | |
void | setAlpha (float alpha) |
Set the current alpha value for this window. | |
void | setInheritsAlpha (bool setting) |
Sets whether this Window will inherit alpha from its parent windows. | |
void | requestRedraw (void) const |
Signal the System object to redraw (at least) this Window on the next render cycle. | |
void | setMetricsMode (MetricsMode mode) |
set the current metrics mode employed by the Window | |
void | setMinimumSize (const Size &sz) |
Set the minimum size for this window. | |
void | setMaximumSize (const Size &sz) |
Set the maximum size for this window. | |
void | setMouseCursor (const Image *image) |
Set the mouse cursor image to be used when the mouse enters this window. | |
void | setMouseCursor (MouseCursorImage image) |
Set the mouse cursor image to be used when the mouse enters this window. | |
void | setMouseCursor (const String &imageset, const String &image_name) |
Set the mouse cursor image to be used when the mouse enters this window. | |
void | setUserData (void *user_data) |
Set the user data set for this Window. | |
void | setRect (MetricsMode mode, const Rect &area) |
set the Rect that describes the Window area using the specified metrics system. | |
void | setZOrderingEnabled (bool setting) |
Set whether z-order changes are enabled or disabled for this Window. | |
void | setWantsMultiClickEvents (bool setting) |
Set whether this window will receive multi-click events or multiple 'down' events instead. | |
void | setMouseAutoRepeatEnabled (bool setting) |
Set whether mouse button down event autorepeat is enabled for this window. | |
void | setAutoRepeatDelay (float delay) |
Set the current auto-repeat delay setting for this window. | |
void | setAutoRepeatRate (float rate) |
Set the current auto-repeat rate setting for this window. | |
float | absoluteToRelativeX (float val) const |
Convert the given X co-ordinate from absolute to relative metrics. | |
float | absoluteToRelativeY (float val) const |
Convert the given Y co-ordinate from absolute to relative metrics. | |
Point | absoluteToRelative (const Point &pt) const |
Convert the given position from absolute to relative metrics. | |
Size | absoluteToRelative (const Size &sze) const |
Convert the given size from absolute to relative metrics. | |
Rect | absoluteToRelative (const Rect &rect) const |
Convert the given area from absolute to relative metrics. | |
float | relativeToAbsoluteX (float val) const |
Convert the given X co-ordinate from relative to absolute metrics. | |
float | relativeToAbsoluteY (float val) const |
Convert the given Y co-ordinate from relative to absolute metrics. | |
Point | relativeToAbsolute (const Point &pt) const |
Convert the given position from relative to absolute metrics. | |
Size | relativeToAbsolute (const Size &sze) const |
Convert the given size from relative to absolute metrics. | |
Rect | relativeToAbsolute (const Rect &rect) const |
Convert the given area from relative to absolute metrics. | |
float | windowToScreenX (float x) const |
Convert a window co-ordinate value, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate. | |
float | windowToScreenY (float y) const |
Convert a window co-ordinate value, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate. | |
Point | windowToScreen (const Point &pt) const |
Convert a window co-ordinate position, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate position. | |
Size | windowToScreen (const Size &sze) const |
Convert a window size value, specified in whichever metrics mode is active, to a size in pixels. | |
Rect | windowToScreen (const Rect &rect) const |
Convert a window area, specified in whichever metrics mode is active, to a screen area. | |
float | screenToWindowX (float x) const |
Convert a screen relative pixel co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active. | |
float | screenToWindowY (float y) const |
Convert a screen relative pixel co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active. | |
Point | screenToWindow (const Point &pt) const |
Convert a screen relative pixel position to a window co-ordinate position, specified in whichever metrics mode is active. | |
Size | screenToWindow (const Size &sze) const |
Convert a pixel screen size to a window based size, specified in whichever metrics mode is active. | |
Rect | screenToWindow (const Rect &rect) const |
Convert a screen area to a window area, specified in whichever metrics mode is active. | |
void | render (void) |
Causes the Window object to render itself and all of it's attached children. | |
void | update (float elapsed) |
Cause window to update itself and any attached children. Client code does not need to call this method; to ensure full, and proper updates, call the injectTimePulse methodname method provided by the System class. | |
void | addProperty (Property *property) |
Adds a new Property to the PropertySet. | |
void | removeProperty (const String &name) |
Removes a Property from the PropertySet. | |
void | clearProperties (void) |
Removes all Property objects from the PropertySet. | |
bool | isPropertyPresent (const String &name) const |
Checks to see if a Property with the given name is in the PropertySet. | |
const String & | getPropertyHelp (const String &name) const |
Return the help text for the specified Property. | |
String | getProperty (const String &name) const |
Gets the current value of the specified Property. | |
void | setProperty (const String &name, const String &value) |
Sets the current value of a Property. | |
bool | isPropertyDefault (const String &name) const |
Returns whether a Property is at it's default value. | |
String | getPropertyDefault (const String &name) const |
Returns the default value of a Property as a String. | |
PropertyIterator | getIterator (void) const |
Return a PropertySet::PropertyIterator object to iterate over the available Properties. | |
EventIterator | getIterator (void) const |
Return a EventSet::EventIterator object to iterate over the available events. | |
void | addEvent (const String &name) |
Add a new Event to the EventSet with the given name. | |
void | removeEvent (const String &name) |
Removes the Event with the given name. All connections to the event are disconnected. | |
void | removeAllEvents (void) |
Remove all Event objects from the EventSet. | |
bool | isEventPresent (const String &name) |
Checks to see if an Event with the given name is present in the EventSet. | |
virtual Event::Connection | subscribeEvent (const String &name, Event::Subscriber subscriber) |
Subscribes the the named Event. | |
virtual Event::Connection | subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber) |
Subscribes the the specified group of the named Event. | |
virtual void | fireEvent (const String &name, EventArgs &args, const String &eventNamespace="") |
Fires the named event passing the given EventArgs object. | |
bool | isMuted (void) const |
Return whether the EventSet is muted or not. | |
void | setMutedState (bool setting) |
Set the mute state for this EventSet. | |
Static Public Member Functions | |
Window * | getCaptureWindow (void) |
return the Window that currently has inputs captured. | |
Static Public Attributes | |
const String | EventNamespace |
Namespace for global events. | |
const String | EventReadOnlyModeChanged |
The read-only mode for the edit box has been changed. | |
const String | EventWordWrapModeChanged |
The word wrap mode of the text box has been changed. | |
const String | EventMaximumTextLengthChanged |
The maximum allowable string length has been changed. | |
const String | EventCaratMoved |
The text carat (insert point) has changed. | |
const String | EventTextSelectionChanged |
The current text selection has changed. | |
const String | EventEditboxFull |
The number of characters in the edit box has reached the current maximum. | |
const String | EventVertScrollbarModeChanged |
Event triggered when the vertical scroll bar 'force' setting changes. | |
const String | EventHorzScrollbarModeChanged |
Event triggered when the horizontal scroll bar 'force' setting changes. | |
const ulong | DefaultNormalTextColour = 0xFFFFFFFF |
Colour applied to normal unselected text. | |
const ulong | DefaultSelectedTextColour = 0xFF000000 |
Colour applied to selected text. | |
const ulong | DefaultNormalSelectionColour = 0xFF6060FF |
Colour applied to normal selection brush. | |
const ulong | DefaultInactiveSelectionColour = 0xFF808080 |
Colour applied to selection brush when widget is inactive. | |
const String | EventParentSized |
Parent of this Window has been re-sized. | |
const String | EventSized |
Window size has changed. | |
const String | EventMoved |
Window position has changed. | |
const String | EventTextChanged |
Text string for the Window has changed. | |
const String | EventFontChanged |
Font object for the Window has been changed. | |
const String | EventAlphaChanged |
Alpha blend value for the Window has changed. | |
const String | EventIDChanged |
Client assigned ID code for the Window has changed. | |
const String | EventActivated |
Window has been activated (has input focus). | |
const String | EventDeactivated |
Window has been deactivated (loses input focus). | |
const String | EventShown |
Window has been made visible. | |
const String | EventHidden |
Window has been hidden from view. | |
const String | EventEnabled |
Window has been enabled (interaction is possible). | |
const String | EventDisabled |
Window has been disabled (interaction is no longer possible). | |
const String | EventMetricsModeChanged |
Active metrics mode has been modified. | |
const String | EventClippedByParentChanged |
Clipping by parent mode has been modified. | |
const String | EventDestroyedByParentChanged |
Destruction by parent mode has been modified. | |
const String | EventInheritsAlphaChanged |
Alpha inherited from parent mode has been modified. | |
const String | EventAlwaysOnTopChanged |
Always on top mode has been modified. | |
const String | EventInputCaptureGained |
Window has captured all inputs. | |
const String | EventInputCaptureLost |
Window has lost it's capture on inputs. | |
const String | EventRenderingStarted |
Rendering of the Window has started. | |
const String | EventRenderingEnded |
Rendering for the Window has finished. | |
const String | EventChildAdded |
A child Window has been added. | |
const String | EventChildRemoved |
A child window has been removed. | |
const String | EventDestructionStarted |
Destruction of the Window is about to begin. | |
const String | EventZOrderChanged |
The z-order of the window has changed. | |
const String | EventMouseEnters |
Mouse cursor has entered the Window. | |
const String | EventMouseLeaves |
Mouse cursor has left the Window. | |
const String | EventMouseMove |
Mouse cursor was moved within the area of the Window. | |
const String | EventMouseWheel |
Mouse wheel was scrolled within the Window. | |
const String | EventMouseButtonDown |
A mouse button was pressed down within the Window. | |
const String | EventMouseButtonUp |
A mouse button was released within the Window. | |
const String | EventMouseClick |
A mouse button was clicked (down then up) within the Window. | |
const String | EventMouseDoubleClick |
A mouse button was double-clicked within the Window. | |
const String | EventMouseTripleClick |
A mouse button was triple-clicked within the Window. | |
const String | EventKeyDown |
A key on the keyboard was pressed. | |
const String | EventKeyUp |
A key on the keyboard was released. | |
const String | EventCharacterKey |
A text character was typed on the keyboard. | |
Protected Types | |
typedef std::vector< LineInfo > | LineList |
Type for collection of LineInfos. | |
typedef std::vector< Window * > | ChildList |
typedef std::map< String, Event * > | EventMap |
Protected Member Functions | |
virtual Rect | getTextRenderArea (void) const =0 |
Return a Rect object describing, in un-clipped pixels, the window relative area that the text should be rendered in to. | |
virtual Scrollbar * | createVertScrollbar (void) const =0 |
create and return a pointer to a Scrollbar widget for use as vertical scroll bar | |
virtual Scrollbar * | createHorzScrollbar (void) const =0 |
create and return a pointer to a Scrollbar widget for use as horizontal scroll bar | |
virtual void | layoutComponentWidgets ()=0 |
Setup size and position for the component widgets attached to this Editbox. | |
virtual void | renderEditboxBaseImagery (float z)=0 |
Perform rendering of the widget control frame and other 'static' areas. This method should not render the actual text. Note that the text will be rendered to layer 4 and the selection brush to layer 3, other layers can be used for rendering imagery behind and infront of the text & selection.. | |
virtual void | renderCarat (float baseX, float baseY, const Rect &clipper)=0 |
Render the carat. | |
void | addMultiLineEditboxEvents (void) |
Add multi-line edit box specific events. | |
void | renderTextLines (const Rect &dest_area, const Rect &clipper) const |
Render text lines. | |
void | formatText (void) |
Format the text into lines as needed by the current formatting options. | |
uint | getNextTokenLength (const String &text, uint start_idx) const |
Return the length of the next token in String text starting at index start_idx. | |
virtual void | drawSelf (float z) |
Perform the actual rendering for this Window. | |
void | configureScrollbars (void) |
display required integrated scroll bars according to current state of the edit box and update their values. | |
uint | getTextIndexFromPosition (const Point &pt) const |
Return the text code point index that is rendered closest to screen position pt. | |
uint | getLineNumberFromIndex (uint index) const |
Return the line number a given index falls on with the current formatting. Will return last line if index is out of range. | |
void | clearSelection (void) |
Clear the current selection setting. | |
void | eraseSelectedText (bool modify_text=true) |
Erase the currently selected text. | |
void | handleBackspace (void) |
Processing for backspace key. | |
void | handleDelete (void) |
Processing for Delete key. | |
void | handleCharLeft (uint sysKeys) |
Processing to move carat one character left. | |
void | handleWordLeft (uint sysKeys) |
Processing to move carat one word left. | |
void | handleCharRight (uint sysKeys) |
Processing to move carat one character right. | |
void | handleWordRight (uint sysKeys) |
Processing to move carat one word right. | |
void | handleDocHome (uint sysKeys) |
Processing to move carat to the start of the text. | |
void | handleDocEnd (uint sysKeys) |
Processing to move carat to the end of the text. | |
void | handleLineHome (uint sysKeys) |
Processing to move carat to the start of the current line. | |
void | handleLineEnd (uint sysKeys) |
Processing to move carat to the end of the current line. | |
void | handleLineUp (uint sysKeys) |
Processing to move carat up a line. | |
void | handleLineDown (uint sysKeys) |
Processing to move carat down a line. | |
void | handleNewLine (uint sysKeys) |
Processing to insert a new line / paragraph. | |
void | onReadOnlyChanged (WindowEventArgs &e) |
Handler called when the read-only state of the edit box changes. | |
void | onWordWrapModeChanged (WindowEventArgs &e) |
Handler called when the word wrap mode for the the edit box changes. | |
void | onMaximumTextLengthChanged (WindowEventArgs &e) |
Handler called when the maximum text length for the edit box changes. | |
void | onCaratMoved (WindowEventArgs &e) |
Handler called when the carat moves. | |
void | onTextSelectionChanged (WindowEventArgs &e) |
Handler called when the text selection changes. | |
void | onEditboxFullEvent (WindowEventArgs &e) |
Handler called when the edit box is full. | |
void | onVertScrollbarModeChanged (WindowEventArgs &e) |
Handler called when the 'always show' setting for the vertical scroll bar changes. | |
void | onHorzScrollbarModeChanged (WindowEventArgs &e) |
Handler called when 'always show' setting for the horizontal scroll bar changes. | |
virtual void | onMouseButtonDown (MouseEventArgs &e) |
Handler called when a mouse button has been depressed within this window's area. | |
virtual void | onMouseButtonUp (MouseEventArgs &e) |
Handler called when a mouse button has been released within this window's area. | |
virtual void | onMouseDoubleClicked (MouseEventArgs &e) |
Handler called when a mouse button has been double-clicked within this window's area. | |
virtual void | onMouseTripleClicked (MouseEventArgs &e) |
Handler called when a mouse button has been triple-clicked within this window's area. | |
virtual void | onMouseMove (MouseEventArgs &e) |
Handler called when the mouse cursor has been moved within this window's area. | |
virtual void | onCaptureLost (WindowEventArgs &e) |
Handler called when this window loses capture of mouse inputs. | |
virtual void | onCharacter (KeyEventArgs &e) |
Handler called when a character-key has been pressed while this window has input focus. | |
virtual void | onKeyDown (KeyEventArgs &e) |
Handler called when a key as been depressed while this window has input focus. | |
virtual void | onTextChanged (WindowEventArgs &e) |
Handler called when the window's text is changed. | |
virtual void | onSized (WindowEventArgs &e) |
Handler called when the window's size changes. | |
virtual void | onMouseWheel (MouseEventArgs &e) |
Handler called when the mouse wheel (z-axis) position changes within this window's area. | |
virtual void | onMoved (WindowEventArgs &e) |
Handler called when the window's position changes. | |
virtual void | onFontChanged (WindowEventArgs &e) |
Handler called when the window's font is changed. | |
virtual void | onAlphaChanged (WindowEventArgs &e) |
Handler called when the window's alpha blend value is changed. | |
virtual void | onIDChanged (WindowEventArgs &e) |
Handler called when the window's client assigned ID is changed. | |
virtual void | onShown (WindowEventArgs &e) |
Handler called when the window is shown (made visible). | |
virtual void | onHidden (WindowEventArgs &e) |
Handler called when the window is hidden. | |
virtual void | onEnabled (WindowEventArgs &e) |
Handler called when the window is enabled. | |
virtual void | onDisabled (WindowEventArgs &e) |
Handler called when the window is disabled. | |
virtual void | onMetricsChanged (WindowEventArgs &e) |
Handler called when the window's active metrics system is changed. | |
virtual void | onClippingChanged (WindowEventArgs &e) |
Handler called when the window's setting for being clipped by it's parent is changed. | |
virtual void | onParentDestroyChanged (WindowEventArgs &e) |
Handler called when the window's setting for being destroyed automatically be it's parent is changed. | |
virtual void | onInheritsAlphaChanged (WindowEventArgs &e) |
Handler called when the window's setting for inheriting alpha-blending is changed. | |
virtual void | onAlwaysOnTopChanged (WindowEventArgs &e) |
Handler called when the window's always-on-top setting is changed. | |
virtual void | onCaptureGained (WindowEventArgs &e) |
Handler called when this window gains capture of mouse inputs. | |
virtual void | onRenderingStarted (WindowEventArgs &e) |
Handler called when rendering for this window has started. | |
virtual void | onRenderingEnded (WindowEventArgs &e) |
Handler called when rendering for this window has ended. | |
virtual void | onZChanged (WindowEventArgs &e) |
Handler called when the z-order position of this window has changed. | |
virtual void | onDestructionStarted (WindowEventArgs &e) |
Handler called when this window's destruction sequence has begun. | |
virtual void | onActivated (ActivationEventArgs &e) |
Handler called when this window has become the active window. | |
virtual void | onDeactivated (ActivationEventArgs &e) |
Handler called when this window has lost input focus and has been deactivated. | |
virtual void | onParentSized (WindowEventArgs &e) |
Handler called when this window's parent window has been resized. If this window is the root / GUI Sheet window, this call will be made when the screen size changes. | |
virtual void | onChildAdded (WindowEventArgs &e) |
Handler called when a child window is added to this window. | |
virtual void | onChildRemoved (WindowEventArgs &e) |
Handler called when a child window is removed from this window. | |
virtual void | onMouseEnters (MouseEventArgs &e) |
Handler called when the mouse cursor has entered this window's area. | |
virtual void | onMouseLeaves (MouseEventArgs &e) |
Handler called when the mouse cursor has left this window's area. | |
virtual void | onMouseClicked (MouseEventArgs &e) |
Handler called when a mouse button has been clicked (that is depressed and then released, within a specified time) within this window's area. | |
virtual void | onKeyUp (KeyEventArgs &e) |
Handler called when a key as been released while this window has input focus. | |
virtual void | updateSelf (float elapsed) |
Perform actual update processing for this Window. | |
void | setParent (Window *parent) |
Set the parent window for this window object. | |
float | getParentWidth (void) const |
Return the pixel Width of the parent element. This always returns a valid number. | |
float | getParentHeight (void) const |
Return the pixel Height of the parent element. This always returns a valid number. | |
Size | getParentSize (void) const |
Return the pixel size of the parent element. This always returns a valid object. | |
Rect | absoluteToRelative_impl (const Window *window, const Rect &rect) const |
Return a Rect object that describes, in values relative to window, the absolute area described by rect. | |
Size | absoluteToRelative_impl (const Window *window, const Size &sz) const |
Point | absoluteToRelative_impl (const Window *window, const Point &pt) const |
float | absoluteToRelativeX_impl (const Window *window, float x) const |
float | absoluteToRelativeY_impl (const Window *window, float y) const |
Rect | relativeToAbsolute_impl (const Window *window, const Rect &rect) const |
Return a Rect object that describes, in absolute values offset from window, the relative area described by rect. | |
Size | relativeToAbsolute_impl (const Window *window, const Size &sz) const |
Point | relativeToAbsolute_impl (const Window *window, const Point &pt) const |
float | relativeToAbsoluteX_impl (const Window *window, float x) const |
float | relativeToAbsoluteY_impl (const Window *window, float y) const |
Size | getWindowSize_impl (const Window *window) const |
MetricsMode | getInheritedMetricsMode (void) const |
Return the inherited metrics mode. This is either the metrics mode of our parent, or Relative if we have no parent. | |
void | generateAutoRepeatEvent (MouseButton button) |
Fires off a repeated mouse button down event for this window. | |
void | addStandardEvents (void) |
Add standard CEGUI::Window events. | |
virtual void | cleanupChildren (void) |
Cleanup child windows. | |
virtual void | addChild_impl (Window *wnd) |
Add given window to child list at an appropriate position. | |
virtual void | removeChild_impl (Window *wnd) |
Remove given window from child list. | |
virtual void | onZChange_impl (void) |
Notify 'this' and all siblings of a ZOrder change event. | |
void | addStandardProperties (void) |
Add standard CEGUI::Window properties. | |
Protected Attributes | |
bool | d_readOnly |
true if the edit box is in read-only mode | |
ulong | d_maxTextLen |
Maximum number of characters for this Editbox. | |
ulong | d_caratPos |
Position of the carat / insert-point. | |
ulong | d_selectionStart |
Start of selection area. | |
ulong | d_selectionEnd |
End of selection area. | |
bool | d_dragging |
true when a selection is being dragged. | |
ulong | d_dragAnchorIdx |
Selection index for drag selection anchor point. | |
bool | d_wordWrap |
true when formatting uses word-wrapping. | |
LineList | d_lines |
Holds the lines for the current formatting. | |
float | d_widestExtent |
Holds the extent of the widest line as calculated in the last formatting pass. | |
Scrollbar * | d_vertScrollbar |
Points to the vertical scroll bar widget. | |
Scrollbar * | d_horzScrollbar |
Points to the horizontal scroll bar widget. | |
bool | d_forceVertScroll |
true if vertical scrollbar should always be displayed | |
bool | d_forceHorzScroll |
true if horizontal scrollbar should always be displayed | |
const Image * | d_selectionBrush |
Image to use as the selection brush (should be set by derived class). | |
colour | d_normalTextColour |
Text colour used normally. | |
colour | d_selectTextColour |
Text colour used when text is highlighted. | |
colour | d_selectBrushColour |
Colour to apply to the selection brush. | |
colour | d_inactiveSelectBrushColour |
Colour to apply to the selection brush when widget is inactive / read-only. | |
ChildList | d_children |
The list of child Window objects attached to this. | |
MetricsMode | d_metricsMode |
Holds the active metrics mode for this window. | |
Window * | d_oldCapture |
The Window that previously had capture (used for restoreOldCapture mode). | |
Window * | d_parent |
Holds pointer to the parent window. | |
const Font * | d_font |
Holds pointer to the Window objects current Font. | |
String | d_text |
Holds the text / label / caption for this Window. | |
uint | d_ID |
User ID assigned to this Window. | |
float | d_alpha |
Alpha transparency setting for the Window. | |
Rect | d_abs_area |
This Window objects area (pixels relative to parent). | |
Rect | d_rel_area |
This Window objects area (decimal fractions relative to parent). | |
const Image * | d_mouseCursor |
Holds pointer to the Window objects current mouse cursor image. | |
void * | d_userData |
Holds pointer to some user assigned data. | |
Size | d_minSize |
current minimum size for the window (this is always stored in pixels). | |
Size | d_maxSize |
current maximum size for the window (this is always stored in pixels). | |
bool | d_enabled |
true when Window is enabled | |
bool | d_visible |
true when Window is visible (that is it will be rendered, but may be obscured so no necesarily really visible) | |
bool | d_active |
true when Window is the active Window (receiving inputs). | |
bool | d_clippedByParent |
true when Window will be clipped by parent Window area Rect. | |
bool | d_destroyedByParent |
true when Window will be auto-destroyed by parent. | |
bool | d_alwaysOnTop |
true if Window will be drawn on top of all other Windows | |
bool | d_inheritsAlpha |
true if the Window inherits alpha from the parent Window | |
bool | d_restoreOldCapture |
true if the Window restores capture to the previous window when it releases capture. | |
bool | d_zOrderingEnabled |
true if the Window responds to z-order change requests. | |
bool | d_wantsMultiClicks |
true if the Window wishes to hear about multi-click mouse events. | |
bool | d_autoRepeat |
true if button will auto-repeat mouse button down events while mouse button is held down, | |
float | d_repeatDelay |
seconds before first repeat event is fired | |
float | d_repeatRate |
secons between further repeats after delay has expired. | |
bool | d_repeating |
implements repeating - is true after delay has elapsed, | |
float | d_repeatElapsed |
implements repeating - tracks time elapsed. | |
MouseButton | d_repeatButton |
Button we're tracking (implication of this is that we only support one button at a time). | |
const String | d_type |
String holding the type name for the Window (is also the name of the WindowFactory that created us). | |
const String | d_name |
The name of the window (GUI system unique). | |
EventMap | d_events |
bool | d_muted |
true if events for this EventSet have been muted. | |
Static Protected Attributes | |
String | d_lineBreakChars |
Holds what we consider to be line break characters. | |
Window * | d_captureWindow = NULL |
Window that has captured inputs. | |
WindowProperties::AbsoluteHeight | d_absHeightProperty |
WindowProperties::AbsoluteMaxSize | d_absMaxSizeProperty |
WindowProperties::AbsoluteMinSize | d_absMinSizeProperty |
WindowProperties::AbsolutePosition | d_absPositionProperty |
WindowProperties::AbsoluteRect | d_absRectProperty |
WindowProperties::AbsoluteSize | d_absSizeProperty |
WindowProperties::AbsoluteWidth | d_absWidthProperty |
WindowProperties::AbsoluteXPosition | d_absXPosProperty |
WindowProperties::AbsoluteYPosition | d_absYPosProperty |
WindowProperties::Alpha | d_alphaProperty |
WindowProperties::AlwaysOnTop | d_alwaysOnTopProperty |
WindowProperties::ClippedByParent | d_clippedByParentProperty |
WindowProperties::DestroyedByParent | d_destroyedByParentProperty |
WindowProperties::Disabled | d_disabledProperty |
WindowProperties::Font | d_fontProperty |
WindowProperties::Height | d_heightProperty |
WindowProperties::ID | d_IDProperty |
WindowProperties::InheritsAlpha | d_inheritsAlphaProperty |
WindowProperties::MetricsMode | d_metricsModeProperty |
WindowProperties::MouseCursorImage | d_mouseCursorProperty |
WindowProperties::Position | d_positionProperty |
WindowProperties::Rect | d_rectProperty |
WindowProperties::RelativeHeight | d_relHeightProperty |
WindowProperties::RelativeMaxSize | d_relMaxSizeProperty |
WindowProperties::RelativeMinSize | d_relMinSizeProperty |
WindowProperties::RelativePosition | d_relPositionProperty |
WindowProperties::RelativeRect | d_relRectProperty |
WindowProperties::RelativeSize | d_relSizeProperty |
WindowProperties::RelativeWidth | d_relWidthProperty |
WindowProperties::RelativeXPosition | d_relXPosProperty |
WindowProperties::RelativeYPosition | d_relYPosProperty |
WindowProperties::RestoreOldCapture | d_restoreOldCaptureProperty |
WindowProperties::Size | d_sizeProperty |
WindowProperties::Text | d_textProperty |
WindowProperties::Visible | d_visibleProperty |
WindowProperties::Width | d_widthProperty |
WindowProperties::XPosition | d_xPosProperty |
WindowProperties::YPosition | d_yPosProperty |
WindowProperties::ZOrderChangeEnabled | d_zOrderChangeProperty |
WindowProperties::WantsMultiClickEvents | d_wantsMultiClicksProperty |
WindowProperties::MouseButtonDownAutoRepeat | d_autoRepeatProperty |
WindowProperties::AutoRepeatDelay | d_autoRepeatDelayProperty |
WindowProperties::AutoRepeatRate | d_autoRepeatRateProperty |
Friends | |
class | System |
Definition at line 50 of file CEGUIMultiLineEditbox.h.
|
Definition at line 2615 of file CEGUIWindow.h. |
|
Definition at line 216 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::getIterator(). |
|
Definition at line 207 of file CEGUIEventSet.h. |
|
Type for collection of LineInfos.
Definition at line 732 of file CEGUIMultiLineEditbox.h. |
|
Definition at line 201 of file CEGUIPropertySet.h. Referenced by CEGUI::PropertySet::getIterator(). |
|
Constructor for the MultiLineEditbox base class.
Definition at line 85 of file CEGUIMultiLineEditbox.cpp. References addMultiLineEditboxEvents(), and CEGUI::String::append(). |
|
Destructor for the MultiLineEditbox base class.
Definition at line 117 of file CEGUIMultiLineEditbox.cpp. |
|
Convert the given area from absolute to relative metrics.
Definition at line 1322 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(). |
|
Convert the given size from absolute to relative metrics.
Definition at line 1313 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(). |
|
Convert the given position from absolute to relative metrics.
Definition at line 1304 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(), and CEGUI::Point. Referenced by CEGUI::StaticText::layoutComponentWidgets(). |
|
Definition at line 1877 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getWindowSize_impl(), PixelAligned, and CEGUI::Point. |
|
Definition at line 1845 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned. |
|
|
Convert the given X co-ordinate from absolute to relative metrics.
Definition at line 1286 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelativeX_impl(). Referenced by CEGUI::MultiColumnList::autoSizeColumnHeader(), CEGUI::MultiColumnList::getColumnHeaderWidth(), CEGUI::MultiColumnList::getTotalColumnHeadersWidth(), CEGUI::MultiColumnList::handleHorzScrollbar(), CEGUI::MultiColumnList::insertColumn(), and CEGUI::ListHeader::segmentDragHandler(). |
|
Definition at line 1909 of file CEGUIWindow.cpp. References CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned. Referenced by CEGUI::Window::absoluteToRelativeX(), and CEGUI::ListHeaderSegment::doDragSizing(). |
|
Convert the given Y co-ordinate from absolute to relative metrics.
Definition at line 1295 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelativeY_impl(). Referenced by CEGUI::TabControlProperties::RelativeTabTextPadding::getDefault(), CEGUI::TabControl::setAbsoluteTabHeight(), and CEGUI::TabControl::setAbsoluteTabTextPadding(). |
|
Definition at line 1928 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Window::getWindowSize_impl(), and PixelAligned. Referenced by CEGUI::Window::absoluteToRelativeY(). |
|
Activate the Window giving it input focus and bringing it to the top of all non always-on-top Windows.
Definition at line 802 of file CEGUIWindow.cpp. References CEGUI::Window::d_captureWindow, CEGUI::Window::moveToFront(), and CEGUI::Window::onCaptureLost(). Referenced by CEGUI::Combobox::activateEditbox(), CEGUI::Combobox::droplist_SelectionAcceptedHandler(), and CEGUI::Combobox::showDropList(). |
|
Add given window to child list at an appropriate position.
Reimplemented in CEGUI::TabControl. Definition at line 1730 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getParent(), CEGUI::Window::isAlwaysOnTop(), CEGUI::Window::onParentSized(), CEGUI::Window::removeChildWindow(), and CEGUI::Window::setParent(). Referenced by CEGUI::Window::addChildWindow(), CEGUI::Window::moveToFront(), and CEGUI::Window::setAlwaysOnTop(). |
|
Add the specified Window as a child of this Window. If the Window window is already attached to a Window, it is detached before being added to this Window.
Definition at line 977 of file CEGUIWindow.cpp. References CEGUI::Window::addChild_impl(), CEGUI::Window::onChildAdded(), and CEGUI::Window::onZChange_impl(). |
|
Add the named Window as a child of this Window. If the Window name is already attached to a Window, it is detached before being added to this Window.
Definition at line 966 of file CEGUIWindow.cpp. Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::TabControl::addTab(), CEGUI::TabControl::initialise(), CEGUI::StaticText::initialise(), CEGUI::Slider::initialise(), CEGUI::Scrollbar::initialise(), initialise(), CEGUI::MultiColumnList::initialise(), CEGUI::Listbox::initialise(), CEGUI::FrameWindow::initialise(), CEGUI::Combobox::initialise(), and CEGUI::ListHeader::insertColumn(). |
|
Add a new Event to the EventSet with the given name.
Definition at line 54 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events, and CEGUI::EventSet::isEventPresent(). Referenced by CEGUI::Checkbox::addCheckboxEvents(), CEGUI::Combobox::addComboboxEvents(), CEGUI::ComboDropList::addComboDropListEvents(), CEGUI::Editbox::addEditboxEvents(), CEGUI::FrameWindow::addFrameWindowEvents(), CEGUI::ListHeaderSegment::addHeaderSegmentEvents(), CEGUI::Listbox::addListboxEvents(), CEGUI::ListHeader::addListHeaderEvents(), CEGUI::MouseCursor::addMouseCursorEvents(), CEGUI::MultiColumnList::addMultiColumnListboxEvents(), addMultiLineEditboxEvents(), CEGUI::ProgressBar::addProgressBarEvents(), CEGUI::PushButton::addPushButtonEvents(), CEGUI::RadioButton::addRadioButtonEvents(), CEGUI::Scrollbar::addScrollbarEvents(), CEGUI::Slider::addSliderEvents(), CEGUI::Window::addStandardEvents(), CEGUI::TabButton::addTabButtonEvents(), CEGUI::TabControl::addTabControlEvents(), CEGUI::Thumb::addThumbEvents(), CEGUI::Renderer::Renderer(), and CEGUI::GlobalEventSet::subscribeEvent(). |
|
Add multi-line edit box specific events.
Definition at line 178 of file CEGUIMultiLineEditbox.cpp. References CEGUI::EventSet::addEvent(), EventCaratMoved, EventEditboxFull, EventHorzScrollbarModeChanged, EventMaximumTextLengthChanged, EventReadOnlyModeChanged, EventTextSelectionChanged, EventVertScrollbarModeChanged, and EventWordWrapModeChanged. Referenced by MultiLineEditbox(). |
|
Adds a new Property to the PropertySet.
Definition at line 37 of file CEGUIPropertySet.cpp. References CEGUI::Property::getName(), and CEGUI::utf8. Referenced by CEGUI::Window::addStandardProperties(), and CEGUI::TabControl::addTabControlProperties(). |
|
Add standard CEGUI::Window events.
Definition at line 1683 of file CEGUIWindow.cpp. References CEGUI::EventSet::addEvent(), CEGUI::Window::EventActivated, CEGUI::Window::EventAlphaChanged, CEGUI::Window::EventAlwaysOnTopChanged, CEGUI::Window::EventCharacterKey, CEGUI::Window::EventChildAdded, CEGUI::Window::EventChildRemoved, CEGUI::Window::EventClippedByParentChanged, CEGUI::Window::EventDeactivated, CEGUI::Window::EventDestroyedByParentChanged, CEGUI::Window::EventDestructionStarted, CEGUI::Window::EventDisabled, CEGUI::Window::EventEnabled, CEGUI::Window::EventFontChanged, CEGUI::Window::EventHidden, CEGUI::Window::EventIDChanged, CEGUI::Window::EventInheritsAlphaChanged, CEGUI::Window::EventInputCaptureGained, CEGUI::Window::EventInputCaptureLost, CEGUI::Window::EventKeyDown, CEGUI::Window::EventKeyUp, CEGUI::Window::EventMetricsModeChanged, CEGUI::Window::EventMouseButtonDown, CEGUI::Window::EventMouseButtonUp, CEGUI::Window::EventMouseClick, CEGUI::Window::EventMouseDoubleClick, CEGUI::Window::EventMouseEnters, CEGUI::Window::EventMouseLeaves, CEGUI::Window::EventMouseMove, CEGUI::Window::EventMouseTripleClick, CEGUI::Window::EventMouseWheel, CEGUI::Window::EventMoved, CEGUI::Window::EventParentSized, CEGUI::Window::EventRenderingEnded, CEGUI::Window::EventRenderingStarted, CEGUI::Window::EventShown, CEGUI::Window::EventSized, CEGUI::Window::EventTextChanged, and CEGUI::Window::EventZOrderChanged. Referenced by CEGUI::Window::Window(). |
|
Add standard CEGUI::Window properties.
Definition at line 2539 of file CEGUIWindow.cpp. References CEGUI::PropertySet::addProperty(), CEGUI::Window::d_absHeightProperty, CEGUI::Window::d_absMaxSizeProperty, CEGUI::Window::d_absMinSizeProperty, CEGUI::Window::d_absPositionProperty, CEGUI::Window::d_absRectProperty, CEGUI::Window::d_absSizeProperty, CEGUI::Window::d_absWidthProperty, CEGUI::Window::d_absXPosProperty, CEGUI::Window::d_absYPosProperty, CEGUI::Window::d_alphaProperty, CEGUI::Window::d_alwaysOnTopProperty, CEGUI::Window::d_autoRepeatDelayProperty, CEGUI::Window::d_autoRepeatProperty, CEGUI::Window::d_autoRepeatRateProperty, CEGUI::Window::d_clippedByParentProperty, CEGUI::Window::d_destroyedByParentProperty, CEGUI::Window::d_disabledProperty, CEGUI::Window::d_fontProperty, CEGUI::Window::d_heightProperty, CEGUI::Window::d_IDProperty, CEGUI::Window::d_inheritsAlphaProperty, CEGUI::Window::d_metricsModeProperty, CEGUI::Window::d_mouseCursorProperty, CEGUI::Window::d_positionProperty, CEGUI::Window::d_rectProperty, CEGUI::Window::d_relHeightProperty, CEGUI::Window::d_relMaxSizeProperty, CEGUI::Window::d_relMinSizeProperty, CEGUI::Window::d_relPositionProperty, CEGUI::Window::d_relRectProperty, CEGUI::Window::d_relSizeProperty, CEGUI::Window::d_relWidthProperty, CEGUI::Window::d_relXPosProperty, CEGUI::Window::d_relYPosProperty, CEGUI::Window::d_restoreOldCaptureProperty, CEGUI::Window::d_sizeProperty, CEGUI::Window::d_textProperty, CEGUI::Window::d_visibleProperty, CEGUI::Window::d_wantsMultiClicksProperty, CEGUI::Window::d_widthProperty, CEGUI::Window::d_xPosProperty, CEGUI::Window::d_yPosProperty, and CEGUI::Window::d_zOrderChangeProperty. Referenced by CEGUI::Window::Window(). |
|
Captures input to this window.
Definition at line 1159 of file CEGUIWindow.cpp. References CEGUI::Window::d_captureWindow, CEGUI::Window::d_oldCapture, CEGUI::Window::isActive(), CEGUI::Window::onCaptureGained(), and CEGUI::Window::onCaptureLost(). Referenced by CEGUI::Titlebar::onMouseButtonDown(), onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::Editbox::onMouseButtonDown(), CEGUI::ButtonBase::onMouseButtonDown(), and CEGUI::Combobox::showDropList(). |
|
Cleanup child windows.
Definition at line 1707 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), CEGUI::Window::isDestroyedByParent(), and CEGUI::Window::removeChildWindow(). Referenced by CEGUI::Window::~Window(). |
|
Removes all Property objects from the PropertySet.
Definition at line 68 of file CEGUIPropertySet.cpp. |
|
Clear the current selection setting.
Definition at line 856 of file CEGUIMultiLineEditbox.cpp. References getSelectionLength(), and setSelection(). Referenced by eraseSelectedText(), handleCharLeft(), handleCharRight(), handleDocEnd(), handleDocHome(), handleLineDown(), handleLineEnd(), handleLineHome(), handleLineUp(), handleWordLeft(), handleWordRight(), onMouseButtonDown(), and onTextChanged(). |
|
display required integrated scroll bars according to current state of the edit box and update their values.
Definition at line 442 of file CEGUIMultiLineEditbox.cpp. References ceguimax, d_horzScrollbar, d_lines, d_vertScrollbar, CEGUI::Window::getFont(), CEGUI::Rect::getHeight(), CEGUI::Font::getLineSpacing(), CEGUI::Scrollbar::getScrollPosition(), getTextRenderArea(), CEGUI::Rect::getWidth(), CEGUI::Window::hide(), CEGUI::Scrollbar::setDocumentSize(), CEGUI::Scrollbar::setPageSize(), CEGUI::Scrollbar::setScrollPosition(), CEGUI::Scrollbar::setStepSize(), and CEGUI::Window::show(). Referenced by formatText(). |
|
create and return a pointer to a Scrollbar widget for use as horizontal scroll bar
Referenced by initialise(). |
|
create and return a pointer to a Scrollbar widget for use as vertical scroll bar
Referenced by initialise(). |
|
Deactivate the window. No further inputs will be received by the window until it is re-activated either programmatically or by the user interacting with the gui.
Definition at line 825 of file CEGUIWindow.cpp. References CEGUI::Window::onDeactivated(), and CEGUI::ActivationEventArgs::otherWindow. |
|
disable the Window to prevent interaction.
Definition at line 1094 of file CEGUIWindow.h. |
|
Perform the actual rendering for this Window.
Implements CEGUI::Window. Definition at line 194 of file CEGUIMultiLineEditbox.cpp. References d_horzScrollbar, CEGUI::Rect::d_left, CEGUI::Rect::d_top, d_vertScrollbar, CEGUI::Rect::getIntersection(), CEGUI::Window::getPosition(), CEGUI::Scrollbar::getScrollPosition(), getTextRenderArea(), CEGUI::Window::getUnclippedPixelRect(), hasInputFocus(), isReadOnly(), CEGUI::Rect::offset(), CEGUI::Point, renderCarat(), renderEditboxBaseImagery(), and renderTextLines(). |
|
enable the Window to allow interaction.
Definition at line 1084 of file CEGUIWindow.h. |
|
Scroll the view so that the current carat position is visible.
Definition at line 373 of file CEGUIMultiLineEditbox.cpp. References d_caratPos, d_horzScrollbar, d_lines, d_vertScrollbar, CEGUI::Window::getFont(), CEGUI::Rect::getHeight(), getLineNumberFromIndex(), CEGUI::Font::getLineSpacing(), CEGUI::Scrollbar::getScrollPosition(), CEGUI::Font::getTextExtent(), getTextRenderArea(), CEGUI::Rect::getWidth(), CEGUI::Scrollbar::setScrollPosition(), CEGUI::String::substr(), and CEGUI::uint. Referenced by handleDelete(), onTextChanged(), and setCaratIndex(). |
|
Erase the currently selected text.
Definition at line 870 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), CEGUI::String::erase(), getSelectionLength(), getSelectionStartIndex(), onTextChanged(), and setCaratIndex(). Referenced by handleBackspace(), handleDelete(), handleNewLine(), and onCharacter(). |
|
Fires the named event passing the given EventArgs object.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 141 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::Window::onActivated(), CEGUI::Window::onAlphaChanged(), CEGUI::Window::onAlwaysOnTopChanged(), CEGUI::Window::onCaptureGained(), CEGUI::Window::onCaptureLost(), onCaratMoved(), CEGUI::Editbox::onCaratMoved(), CEGUI::Combobox::onCaratMoved(), CEGUI::Window::onCharacter(), CEGUI::Window::onChildAdded(), CEGUI::Window::onChildRemoved(), CEGUI::ListHeaderSegment::onClickableSettingChanged(), CEGUI::TabButton::onClicked(), CEGUI::PushButton::onClicked(), CEGUI::Window::onClippingChanged(), CEGUI::FrameWindow::onCloseClicked(), CEGUI::Window::onDeactivated(), CEGUI::Window::onDestructionStarted(), CEGUI::Window::onDisabled(), CEGUI::ListHeader::onDragMoveSettingChanged(), CEGUI::ListHeader::onDragSizeSettingChanged(), CEGUI::Combobox::onDropListDisplayed(), CEGUI::Combobox::onDroplistRemoved(), onEditboxFullEvent(), CEGUI::Editbox::onEditboxFullEvent(), CEGUI::Combobox::onEditboxFullEvent(), CEGUI::Window::onEnabled(), CEGUI::Window::onFontChanged(), CEGUI::Window::onHidden(), onHorzScrollbarModeChanged(), CEGUI::MultiColumnList::onHorzScrollbarModeChanged(), CEGUI::Listbox::onHorzScrollbarModeChanged(), CEGUI::Combobox::onHorzScrollbarModeChanged(), CEGUI::Window::onIDChanged(), CEGUI::MouseCursor::onImageChanged(), CEGUI::Window::onInheritsAlphaChanged(), CEGUI::Editbox::onInvalidEntryAttempted(), CEGUI::Combobox::onInvalidEntryAttempted(), CEGUI::Window::onKeyDown(), CEGUI::Window::onKeyUp(), CEGUI::MultiColumnList::onListColumnMoved(), CEGUI::MultiColumnList::onListColumnSized(), CEGUI::MultiColumnList::onListContentsChanged(), CEGUI::Listbox::onListContentsChanged(), CEGUI::Combobox::onListContentsChanged(), CEGUI::ComboDropList::onListSelectionAccepted(), CEGUI::Combobox::onListSelectionAccepted(), CEGUI::Combobox::onListSelectionChanged(), CEGUI::Editbox::onMaskCodePointChanged(), CEGUI::Editbox::onMaskedRenderingModeChanged(), onMaximumTextLengthChanged(), CEGUI::Editbox::onMaximumTextLengthChanged(), CEGUI::Combobox::onMaximumTextLengthChanged(), CEGUI::Window::onMetricsChanged(), CEGUI::Window::onMouseButtonDown(), CEGUI::Window::onMouseButtonUp(), CEGUI::Window::onMouseClicked(), CEGUI::Window::onMouseDoubleClicked(), CEGUI::Window::onMouseEnters(), CEGUI::Window::onMouseLeaves(), CEGUI::Window::onMouseMove(), CEGUI::Window::onMouseTripleClicked(), CEGUI::Window::onMouseWheel(), CEGUI::ListHeaderSegment::onMovableSettingChanged(), CEGUI::Window::onMoved(), CEGUI::Listbox::onMultiselectModeChanged(), CEGUI::MultiColumnList::onNominatedSelectColumnChanged(), CEGUI::MultiColumnList::onNominatedSelectRowChanged(), CEGUI::Window::onParentDestroyChanged(), CEGUI::Window::onParentSized(), CEGUI::ProgressBar::onProgressChanged(), CEGUI::ProgressBar::onProgressDone(), onReadOnlyChanged(), CEGUI::Editbox::onReadOnlyChanged(), CEGUI::Combobox::onReadOnlyChanged(), CEGUI::Window::onRenderingEnded(), CEGUI::Window::onRenderingStarted(), CEGUI::FrameWindow::onRollupToggled(), CEGUI::Scrollbar::onScrollConfigChanged(), CEGUI::Scrollbar::onScrollPositionChanged(), CEGUI::ListHeader::onSegmentAdded(), CEGUI::ListHeaderSegment::onSegmentClicked(), CEGUI::ListHeader::onSegmentClicked(), CEGUI::ListHeaderSegment::onSegmentDragPositionChanged(), CEGUI::ListHeaderSegment::onSegmentDragStart(), CEGUI::ListHeaderSegment::onSegmentDragStop(), CEGUI::ListHeader::onSegmentOffsetChanged(), CEGUI::ListHeader::onSegmentRemoved(), CEGUI::ListHeader::onSegmentSequenceChanged(), CEGUI::ListHeaderSegment::onSegmentSized(), CEGUI::ListHeader::onSegmentSized(), CEGUI::TabControl::onSelectionChanged(), CEGUI::MultiColumnList::onSelectionChanged(), CEGUI::Listbox::onSelectionChanged(), CEGUI::MultiColumnList::onSelectionModeChanged(), CEGUI::Checkbox::onSelectStateChange(), CEGUI::RadioButton::onSelectStateChanged(), CEGUI::Window::onShown(), CEGUI::Window::onSized(), CEGUI::ListHeaderSegment::onSizingSettingChanged(), CEGUI::MultiColumnList::onSortColumnChanged(), CEGUI::ListHeader::onSortColumnChanged(), CEGUI::MultiColumnList::onSortDirectionChanged(), CEGUI::ListHeaderSegment::onSortDirectionChanged(), CEGUI::ListHeader::onSortDirectionChanged(), CEGUI::Listbox::onSortModeChanged(), CEGUI::Combobox::onSortModeChanged(), CEGUI::ListHeader::onSortSettingChanged(), CEGUI::ListHeaderSegment::onSplitterDoubleClicked(), CEGUI::ListHeader::onSplitterDoubleClicked(), CEGUI::Editbox::onTextAcceptedEvent(), CEGUI::Combobox::onTextAcceptedEvent(), CEGUI::Window::onTextChanged(), CEGUI::Editbox::onTextInvalidatedEvent(), CEGUI::Combobox::onTextInvalidatedEvent(), onTextSelectionChanged(), CEGUI::Editbox::onTextSelectionChanged(), CEGUI::Combobox::onTextSelectionChanged(), CEGUI::Thumb::onThumbPositionChanged(), CEGUI::Thumb::onThumbTrackEnded(), CEGUI::Slider::onThumbTrackEnded(), CEGUI::Scrollbar::onThumbTrackEnded(), CEGUI::Thumb::onThumbTrackStarted(), CEGUI::Slider::onThumbTrackStarted(), CEGUI::Scrollbar::onThumbTrackStarted(), CEGUI::Editbox::onValidationStringChanged(), CEGUI::Combobox::onValidationStringChanged(), CEGUI::Slider::onValueChanged(), onVertScrollbarModeChanged(), CEGUI::MultiColumnList::onVertScrollbarModeChanged(), CEGUI::Listbox::onVertScrollbarModeChanged(), CEGUI::Combobox::onVertScrollbarModeChanged(), onWordWrapModeChanged(), CEGUI::Window::onZChanged(), CEGUI::DirectX81Renderer::setDisplaySize(), and CEGUI::DirectX9Renderer::setDisplaySize(). |
|
Format the text into lines as needed by the current formatting options.
Definition at line 629 of file CEGUIMultiLineEditbox.cpp. References configureScrollbars(), CEGUI::MultiLineEditbox::LineInfo::d_extent, CEGUI::MultiLineEditbox::LineInfo::d_length, d_lineBreakChars, d_lines, CEGUI::MultiLineEditbox::LineInfo::d_startIdx, d_widestExtent, d_wordWrap, CEGUI::String::find_first_of(), CEGUI::Font::getCharAtPixel(), CEGUI::Window::getFont(), getNextTokenLength(), CEGUI::Font::getTextExtent(), getTextRenderArea(), CEGUI::Rect::getWidth(), CEGUI::String::length(), CEGUI::Window::requestRedraw(), CEGUI::String::substr(), and CEGUI::uint. Referenced by initialise(), onSized(), onTextChanged(), and setWordWrapping(). |
|
Fires off a repeated mouse button down event for this window.
Definition at line 2524 of file CEGUIWindow.cpp. References CEGUI::MouseEventArgs::button, CEGUI::MouseEventArgs::moveDelta, CEGUI::Window::onMouseButtonDown(), CEGUI::MouseEventArgs::position, CEGUI::MouseEventArgs::sysKeys, and CEGUI::MouseEventArgs::wheelChange. Referenced by CEGUI::Window::updateSelf(). |
|
Return the window height in absolute metrics.
Definition at line 848 of file CEGUIWindow.h. Referenced by CEGUI::StaticText::getTextRenderArea(). |
|
Return the window position in absolute metrics.
Definition at line 798 of file CEGUIWindow.h. References CEGUI::Point. |
|
Return the window area rect in absolute metrics.
Definition at line 788 of file CEGUIWindow.h. |
|
Return the window size in absolute metrics.
Definition at line 828 of file CEGUIWindow.h. Referenced by CEGUI::StaticText::layoutComponentWidgets(), and CEGUI::Static::onSized(). |
|
Return the window width in absolute metrics.
Definition at line 838 of file CEGUIWindow.h. Referenced by CEGUI::StaticText::getTextRenderArea(), CEGUI::ListHeaderSegment::onMouseMove(), and CEGUI::ListHeader::segmentDragHandler(). |
|
Return the window X position in absolute metrics.
Definition at line 808 of file CEGUIWindow.h. |
|
Return the window Y position in absolute metrics.
Definition at line 818 of file CEGUIWindow.h. |
|
Definition at line 364 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getActiveChild(), CEGUI::Window::getChildCount(), CEGUI::Window::isActive(), and CEGUI::uint. |
|
return a pointer to the Window that currently has input focus starting with this Window.
Definition at line 354 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::getActiveChild(), CEGUI::System::injectChar(), CEGUI::System::injectKeyDown(), and CEGUI::System::injectKeyUp(). |
|
return the current alpha value set for this Window
Definition at line 456 of file CEGUIWindow.h. |
|
Return the current auto-repeat delay setting for this window.
Definition at line 2648 of file CEGUIWindow.cpp. |
|
Return the current auto-repeat rate setting for this window.
Definition at line 2657 of file CEGUIWindow.cpp. |
|
return the Window that currently has inputs captured.
Definition at line 534 of file CEGUIWindow.h. Referenced by CEGUI::ButtonBase::updateInternalState(). |
|
return the current position of the carat.
Definition at line 108 of file CEGUIMultiLineEditbox.h. References CEGUI::ulong. Referenced by handleDelete(), handleNewLine(), handleWordLeft(), handleWordRight(), onCharacter(), onKeyDown(), and onTextChanged(). |
|
return a pointer to the first attached child window with the specified ID. This function will throw an exception if no child object with the given ID is attached. This decision was made (over returning NULL if no window was found) so that client code can assume that if the call returns it has a valid window pointer. We provide the isChild() functions for checking if a given window is attached.
Definition at line 330 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::d_name, CEGUI::Window::getChildCount(), and CEGUI::uint. |
|
return a pointer to the child window with the specified name. This function will throw an exception if no child object with the given name is attached. This decision was made (over returning NULL if no window was found) so that client code can assume that if the call returns it has a valid window pointer. We provide the isChild() functions for checking if a given window is attached.
Definition at line 309 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::d_name, CEGUI::Window::getChildCount(), CEGUI::uint, and CEGUI::utf8. Referenced by CEGUI::TabControl::getTabContents(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::TabControl::removeButtonForTabContent(), CEGUI::TabControl::removeTab(), and CEGUI::TabControl::setSelectedTab(). |
|
return a pointer to the child window that is attached to 'this' at the given index.
Definition at line 358 of file CEGUIWindow.h. Referenced by CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::RadioButton::getSelectedButtonInGroup(), CEGUI::TabControl::getTabContentsAtIndex(), and CEGUI::TabControl::removeTab(). |
|
return the child Window that is 'hit' by the given position
Definition at line 594 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, and CEGUI::Point. Referenced by CEGUI::TabButton::onMouseButtonUp(), CEGUI::RadioButton::onMouseButtonUp(), CEGUI::PushButton::onMouseButtonUp(), CEGUI::ComboDropList::onMouseButtonUp(), CEGUI::Checkbox::onMouseButtonUp(), CEGUI::ComboDropList::onMouseMove(), and CEGUI::ButtonBase::updateInternalState(). |
|
return the number of child Window objects currently attached to this Window.
Definition at line 257 of file CEGUIWindow.h. References CEGUI::uint. Referenced by CEGUI::Window::cleanupChildren(), CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::Window::getActiveChild(), CEGUI::Window::getChild(), CEGUI::RadioButton::getSelectedButtonInGroup(), CEGUI::TabControl::getTabCount(), CEGUI::Window::isChild(), CEGUI::Window::moveToFront(), CEGUI::Window::onAlphaChanged(), CEGUI::Window::onDeactivated(), CEGUI::Window::onSized(), CEGUI::Window::onZChange_impl(), CEGUI::Window::removeChildWindow(), CEGUI::Window::render(), CEGUI::Window::setRestoreCapture(), and CEGUI::Window::update(). |
|
return the effective alpha value that will be used when rendering this window, taking into account inheritance of parent window(s) alpha.
Definition at line 475 of file CEGUIWindow.cpp. References CEGUI::Window::d_alpha, CEGUI::Window::d_parent, and CEGUI::Window::inheritsAlpha(). Referenced by CEGUI::StaticText::drawSelf(), CEGUI::Static::drawSelf(), CEGUI::MultiColumnList::drawSelf(), CEGUI::Listbox::drawSelf(), renderTextLines(), CEGUI::Window::setInheritsAlpha(), CEGUI::Static::updateRenderableFrameColours(), and CEGUI::StaticImage::updateRenderableImageColours(). |
|
return the Font object active for the Window.
Definition at line 459 of file CEGUIWindow.cpp. References CEGUI::Window::d_font. Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::StaticText::configureScrollbars(), configureScrollbars(), CEGUI::StaticText::drawSelf(), ensureCaratIsVisible(), formatText(), CEGUI::ListboxTextItem::getFont(), getTextIndexFromPosition(), CEGUI::FrameWindow::getTitlebarFont(), handleLineDown(), handleLineUp(), CEGUI::Combobox::initialise(), onCharacter(), CEGUI::Editbox::onCharacter(), CEGUI::TabControl::onFontChanged(), CEGUI::Combobox::onFontChanged(), renderTextLines(), and CEGUI::Window::setFont(). |
|
return the height of the Window using the specified metrics system.
Definition at line 2316 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Rect::getHeight(), and CEGUI::Window::getInheritedMetricsMode(). |
|
return the height of the Window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 710 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Rect::getHeight(), and CEGUI::Window::getMetricsMode(). Referenced by CEGUI::Window::setWidth(). |
|
return the ID code currently assigned to this Window by client code.
Definition at line 247 of file CEGUIWindow.h. References CEGUI::uint. Referenced by CEGUI::MultiColumnList::getColumnID(), CEGUI::MultiColumnList::getNominatedSelectionColumnID(), CEGUI::Window::isAncestor(), and CEGUI::MultiColumnList::setSortColumnByID(). |
|
return the currently set colour to be used for rendering the edit box selection highlight when the edit box is inactive.
Definition at line 194 of file CEGUIMultiLineEditbox.h. |
|
Return the inherited metrics mode. This is either the metrics mode of our parent, or Relative if we have no parent.
Definition at line 2215 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent, CEGUI::Window::getMetricsMode(), CEGUI::MetricsMode, and CEGUI::Relative. Referenced by CEGUI::Window::getHeight(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getPosition(), CEGUI::Window::getRect(), CEGUI::Window::getSize(), CEGUI::Window::getWidth(), CEGUI::Window::getXPosition(), CEGUI::Window::getYPosition(), CEGUI::Window::setPosition(), CEGUI::Window::setRect(), and CEGUI::Window::setSize(). |
|
return a Rect object describing the clipped inner area for this window.
Definition at line 525 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent, CEGUI::Rect::getIntersection(), CEGUI::Window::getRect(), CEGUI::Window::getUnclippedInnerRect(), and CEGUI::Window::isClippedByParent(). Referenced by CEGUI::Window::getPixelRect(), and CEGUI::Titlebar::onMouseButtonDown(). |
|
Return a EventSet::EventIterator object to iterate over the available events.
Definition at line 183 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events, and CEGUI::EventSet::EventIterator. |
|
Return a PropertySet::PropertyIterator object to iterate over the available Properties.
Definition at line 131 of file CEGUIPropertySet.cpp. References CEGUI::PropertySet::PropertyIterator. |
|
Return the line number a given index falls on with the current formatting. Will return last line if index is out of range.
Definition at line 818 of file CEGUIMultiLineEditbox.cpp. References d_lines, CEGUI::String::length(), CEGUI::uint, and CEGUI::utf8. Referenced by ensureCaratIsVisible(), handleLineDown(), handleLineEnd(), handleLineHome(), handleLineUp(), and onMouseTripleClicked(). |
|
Return the current maximum size for this window.
Definition at line 2035 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(), CEGUI::Window::d_maxSize, and CEGUI::Window::getMetricsMode(). |
|
return the maximum text length set for this edit box.
Definition at line 150 of file CEGUIMultiLineEditbox.h. References CEGUI::ulong. |
|
return the current metrics mode employed by the Window
Definition at line 635 of file CEGUIWindow.cpp. References CEGUI::Window::d_metricsMode, CEGUI::Window::getInheritedMetricsMode(), and CEGUI::MetricsMode. Referenced by CEGUI::MultiColumnList::autoSizeColumnHeader(), CEGUI::MultiColumnList::getColumnHeaderWidth(), CEGUI::Window::getHeight(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getMaximumSize(), CEGUI::Window::getMinimumSize(), CEGUI::Window::getPosition(), CEGUI::Window::getRect(), CEGUI::Window::getSize(), CEGUI::TabControl::getTabHeight(), CEGUI::TabControl::getTabTextPadding(), getTextIndexFromPosition(), CEGUI::MultiColumnList::getTotalColumnHeadersWidth(), CEGUI::Window::getUnclippedPixelRect(), CEGUI::Window::getWidth(), CEGUI::Window::getXPosition(), CEGUI::Window::getYPosition(), CEGUI::MultiColumnList::insertColumn(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Thumb::onMouseButtonDown(), CEGUI::MultiColumnList::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::Listbox::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::Titlebar::onMouseMove(), CEGUI::Thumb::onMouseMove(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::FrameWindow::onMouseMove(), CEGUI::ComboDropList::onMouseMove(), CEGUI::Window::onParentSized(), CEGUI::FrameWindow::onParentSized(), CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowX(), CEGUI::Window::screenToWindowY(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::ListHeader::segmentMovedHandler(), CEGUI::Window::setAreaRect(), CEGUI::MultiColumnList::setColumnHeaderWidth(), CEGUI::Window::setMaximumSize(), CEGUI::Window::setMetricsMode(), CEGUI::Window::setMinimumSize(), CEGUI::Window::setPosition(), CEGUI::Window::setSize(), CEGUI::TabControl::setTabHeight(), CEGUI::TabControl::setTabTextPadding(), CEGUI::FrameWindow::toggleRollup(), CEGUI::Window::windowToScreen(), CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY(). |
|
Return the current minimum size for this window.
Definition at line 2052 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(), CEGUI::Window::d_minSize, and CEGUI::Window::getMetricsMode(). |
|
Return a pointer to the mouse cursor image to use when the mouse is within this window.
Definition at line 2132 of file CEGUIWindow.cpp. References CEGUI::Window::d_mouseCursor. Referenced by CEGUI::Window::onMouseEnters(), and CEGUI::FrameWindow::setCursorForPoint(). |
|
return a String object holding the name of this Window.
Definition at line 171 of file CEGUIWindow.h. Referenced by CEGUI::TabControl::addChild_impl(), CEGUI::TabControl::addTab(), CEGUI::ListHeader::createInitialisedSegment(), CEGUI::TabControl::createTabButtonPane(), CEGUI::WindowManager::destroyWindow(), CEGUI::TabControl::handleTabButtonClicked(), CEGUI::Window::isAncestor(), CEGUI::TabControl::makeButtonName(), CEGUI::TabControl::removeTab(), and CEGUI::Editbox::setValidationString(). |
|
Return the length of the next token in String text starting at index start_idx.
Definition at line 747 of file CEGUIMultiLineEditbox.cpp. References CEGUI::String::find_first_of(), CEGUI::String::length(), and CEGUI::uint. Referenced by formatText(). |
|
return the currently set colour to be used for rendering the edit box selection highlight when the edit box is active.
Definition at line 183 of file CEGUIMultiLineEditbox.h. |
|
return the currently set colour to be used for rendering edit box text in the normal, unselected state.
Definition at line 161 of file CEGUIMultiLineEditbox.h. |
|
return the parent of this Window.
Definition at line 676 of file CEGUIWindow.h. Referenced by CEGUI::Window::addChild_impl(), CEGUI::GUILayout_xmlHandler::cleanupLoadedWindows(), CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::System::injectChar(), CEGUI::System::injectKeyDown(), CEGUI::System::injectKeyUp(), CEGUI::System::injectMouseButtonDown(), CEGUI::System::injectMouseButtonUp(), CEGUI::System::injectMouseMove(), CEGUI::System::injectMouseWheelChange(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::FrameWindow::offsetPixelPosition(), and CEGUI::Titlebar::onMouseButtonDown(). |
|
Return the pixel Height of the parent element. This always returns a valid number.
Definition at line 1659 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_parent, and CEGUI::Rect::getHeight(). |
|
Return the pixel size of the parent element. This always returns a valid object.
Definition at line 1674 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent, and CEGUI::Window::getWindowSize_impl(). |
|
Return the pixel Width of the parent element. This always returns a valid number.
Definition at line 1644 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_parent, CEGUI::Rect::getWidth(), and CEGUI::Window::getWidth(). |
|
return a Rect object describing the Window area in screen space.
Definition at line 506 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent, CEGUI::Window::getInnerRect(), CEGUI::Rect::getIntersection(), CEGUI::Window::getRect(), CEGUI::Window::getUnclippedPixelRect(), and CEGUI::Window::isClippedByParent(). Referenced by CEGUI::Static::drawSelf(), and CEGUI::Window::isHit(). |
|
return the position of the window using the specified metrics system.
Definition at line 2270 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Window::getInheritedMetricsMode(), CEGUI::Rect::getPosition(), and CEGUI::Point. |
|
return the position of the window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 680 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Window::getMetricsMode(), CEGUI::Rect::getPosition(), and CEGUI::Point. Referenced by drawSelf(), CEGUI::MultiColumnList::drawSelf(), CEGUI::Listbox::drawSelf(), CEGUI::ButtonBase::onCaptureLost(), CEGUI::ListHeader::segmentDragHandler(), and CEGUI::ListHeader::segmentMovedHandler(). |
|
Gets the current value of the specified Property.
Definition at line 99 of file CEGUIPropertySet.cpp. References CEGUI::String::find(), and CEGUI::utf8. |
|
Returns the default value of a Property as a String.
Definition at line 156 of file CEGUIPropertySet.cpp. References CEGUI::String::find(), and CEGUI::utf8. Referenced by CEGUI::TabControlProperties::TabTextPadding::getDefault(), and CEGUI::TabControlProperties::TabHeight::getDefault(). |
|
Return the help text for the specified Property.
Definition at line 84 of file CEGUIPropertySet.cpp. References CEGUI::Property::getHelp(), and CEGUI::utf8. |
|
return a Rect object that describes the Window area using the specified metrics system.
Definition at line 2363 of file CEGUIWindow.cpp. References CEGUI::Window::getInheritedMetricsMode(). |
|
return a Rect object that describes the Window area.
Definition at line 489 of file CEGUIWindow.cpp. References CEGUI::Window::getMetricsMode(). Referenced by CEGUI::Window::getInnerRect(), and CEGUI::Window::getPixelRect(). |
|
Return the window height in relative metrics.
Definition at line 778 of file CEGUIWindow.h. |
|
Return the window position in relative metrics.
Definition at line 728 of file CEGUIWindow.h. References CEGUI::Point. |
|
Return the window area rect in relative metrics.
Definition at line 718 of file CEGUIWindow.h. |
|
Return the window size in relative metrics.
Definition at line 758 of file CEGUIWindow.h. |
|
Return the window width in relative metrics.
Definition at line 768 of file CEGUIWindow.h. |
|
Return the window X position in relative metrics.
Definition at line 738 of file CEGUIWindow.h. |
|
Return the window Y position in relative metrics.
Definition at line 748 of file CEGUIWindow.h. |
|
return the currently set colour to be used for rendering the edit box text when within the selected region.
Definition at line 172 of file CEGUIMultiLineEditbox.h. |
|
return the current selection end point.
Definition at line 160 of file CEGUIMultiLineEditbox.cpp. References d_selectionEnd, d_selectionStart, and CEGUI::ulong. |
|
return the length of the current selection (in code points / characters).
Definition at line 169 of file CEGUIMultiLineEditbox.cpp. References d_selectionEnd, and CEGUI::ulong. Referenced by clearSelection(), eraseSelectedText(), handleBackspace(), handleDelete(), onKeyDown(), and CEGUI::MultiLineEditboxProperties::SelectionStart::set(). |
|
return the current selection start point.
Definition at line 151 of file CEGUIMultiLineEditbox.cpp. References d_selectionStart, and CEGUI::ulong. Referenced by eraseSelectedText(), and CEGUI::MultiLineEditboxProperties::SelectionLength::set(). |
|
return the size of the Window using the specified metrics system.
Definition at line 2339 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Window::getInheritedMetricsMode(), and CEGUI::Rect::getSize(). |
|
return the size of the Window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 725 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Window::getMetricsMode(), and CEGUI::Rect::getSize(). Referenced by CEGUI::StaticImage::onSized(), CEGUI::StaticImage::onStaticFrameChanged(), and CEGUI::FrameWindow::toggleRollup(). |
|
return the current text for the Window
Definition at line 430 of file CEGUIWindow.h. Referenced by CEGUI::Combobox::button_PressHandler(), CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::StaticText::drawSelf(), CEGUI::Combobox::editbox_MouseDownHandler(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::Combobox::onTextChanged(), and CEGUI::TabButton::setTargetWindow(). |
|
Return the text code point index that is rendered closest to screen position pt.
Definition at line 773 of file CEGUIMultiLineEditbox.cpp. References d_horzScrollbar, CEGUI::Rect::d_left, d_lines, CEGUI::Rect::d_top, d_vertScrollbar, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Font::getCharAtPixel(), CEGUI::Window::getFont(), CEGUI::Font::getLineSpacing(), CEGUI::Window::getMetricsMode(), CEGUI::Scrollbar::getScrollPosition(), getTextRenderArea(), CEGUI::Point, CEGUI::Window::relativeToAbsolute(), CEGUI::Window::screenToWindow(), CEGUI::String::substr(), and CEGUI::uint. Referenced by onMouseButtonDown(), and onMouseMove(). |
|
Return a Rect object describing, in un-clipped pixels, the window relative area that the text should be rendered in to.
Referenced by configureScrollbars(), drawSelf(), ensureCaratIsVisible(), formatText(), and getTextIndexFromPosition(). |
|
return a String object holding the type name for this Window.
Definition at line 161 of file CEGUIWindow.h. Referenced by CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::GUISheetFactory::destroyWindow(), and CEGUI::RadioButton::getSelectedButtonInGroup(). |
|
Return a Rect object that describes, unclipped, the inner rectangle for this window. The inner rectangle is typically an area that excludes some frame or other rendering that should not be touched by subsequent rendering.
Reimplemented in CEGUI::Static, and CEGUI::StaticText. Definition at line 564 of file CEGUIWindow.cpp. References CEGUI::Window::getUnclippedPixelRect(). Referenced by CEGUI::Window::getInnerRect(). |
|
return a Rect object describing the Window area unclipped, in screen space.
Definition at line 545 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Rect::getHeight(), CEGUI::Window::getMetricsMode(), CEGUI::Rect::getWidth(), and CEGUI::Window::windowToScreen(). Referenced by CEGUI::Static::drawSelf(), drawSelf(), CEGUI::MultiColumnList::drawSelf(), CEGUI::Listbox::drawSelf(), CEGUI::Window::getPixelRect(), and CEGUI::Window::getUnclippedInnerRect(). |
|
Return the user data set for this Window. Each Window can have some client assigned data attached to it, this data is not used by the GUI system in any way. Interpretation of the data is entirely application specific.
Definition at line 861 of file CEGUIWindow.h. |
|
return the width of the Window using the specified metrics system.
Definition at line 2293 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Window::getInheritedMetricsMode(), and CEGUI::Rect::getWidth(). |
|
return the width of the Window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 695 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Window::getMetricsMode(), and CEGUI::Rect::getWidth(). Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::Window::getParentWidth(), and CEGUI::Window::setHeight(). |
|
Definition at line 2018 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, and CEGUI::Rect::getSize(). Referenced by CEGUI::Window::absoluteToRelative_impl(), CEGUI::Window::absoluteToRelativeX_impl(), CEGUI::Window::absoluteToRelativeY_impl(), CEGUI::Window::getParentSize(), CEGUI::Window::relativeToAbsolute_impl(), CEGUI::Window::relativeToAbsoluteX_impl(), and CEGUI::Window::relativeToAbsoluteY_impl(). |
|
return the x position of the window using the specified metrics system.
Definition at line 2224 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Rect::d_left, CEGUI::Window::d_rel_area, and CEGUI::Window::getInheritedMetricsMode(). |
|
return the x position of the window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 650 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Rect::d_left, CEGUI::Window::d_rel_area, and CEGUI::Window::getMetricsMode(). Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::Thumb::setHorzRange(), and CEGUI::Window::setYPosition(). |
|
return the y position of the window using the specified metrics system.
Definition at line 2247 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Rect::d_top, and CEGUI::Window::getInheritedMetricsMode(). |
|
return the y position of the window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 665 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_rel_area, CEGUI::Rect::d_top, and CEGUI::Window::getMetricsMode(). Referenced by CEGUI::Thumb::setVertRange(), and CEGUI::Window::setXPosition(). |
|
Processing for backspace key.
Definition at line 896 of file CEGUIMultiLineEditbox.cpp. References d_caratPos, CEGUI::String::erase(), eraseSelectedText(), getSelectionLength(), isReadOnly(), onTextChanged(), and setCaratIndex(). Referenced by onKeyDown(). |
|
Processing to move carat one character left.
Definition at line 945 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, setCaratIndex(), and setSelection(). Referenced by onKeyDown(). |
|
Processing to move carat one character right.
Definition at line 989 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, CEGUI::String::length(), setCaratIndex(), and setSelection(). Referenced by onKeyDown(). |
|
Processing for Delete key.
Definition at line 920 of file CEGUIMultiLineEditbox.cpp. References d_caratPos, ensureCaratIsVisible(), CEGUI::String::erase(), eraseSelectedText(), getCaratIndex(), getSelectionLength(), isReadOnly(), CEGUI::String::length(), and onTextChanged(). Referenced by onKeyDown(). |
|
Processing to move carat to the end of the text.
Definition at line 1055 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, CEGUI::String::length(), setCaratIndex(), and setSelection(). Referenced by onKeyDown(). |
|
Processing to move carat to the start of the text.
Definition at line 1033 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, setCaratIndex(), and setSelection(). Referenced by onKeyDown(). |
|
Processing to move carat down a line.
Definition at line 1167 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, d_lines, CEGUI::Font::getCharAtPixel(), CEGUI::Window::getFont(), getLineNumberFromIndex(), CEGUI::Font::getTextExtent(), setCaratIndex(), setSelection(), CEGUI::String::substr(), and CEGUI::uint. Referenced by onKeyDown(). |
|
Processing to move carat to the end of the current line.
Definition at line 1107 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, d_lines, getLineNumberFromIndex(), setCaratIndex(), setSelection(), and CEGUI::uint. Referenced by onKeyDown(). |
|
Processing to move carat to the start of the current line.
Definition at line 1077 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, d_lines, getLineNumberFromIndex(), setCaratIndex(), setSelection(), and CEGUI::uint. Referenced by onKeyDown(). |
|
Processing to move carat up a line.
Definition at line 1137 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, d_lines, CEGUI::Font::getCharAtPixel(), CEGUI::Window::getFont(), getLineNumberFromIndex(), CEGUI::Font::getTextExtent(), setCaratIndex(), setSelection(), CEGUI::String::substr(), and CEGUI::uint. Referenced by onKeyDown(). |
|
Processing to insert a new line / paragraph.
Definition at line 1197 of file CEGUIMultiLineEditbox.cpp. References d_caratPos, eraseSelectedText(), getCaratIndex(), CEGUI::String::insert(), isReadOnly(), CEGUI::String::length(), and onTextChanged(). Referenced by onKeyDown(). |
|
Processing to move carat one word left.
Definition at line 967 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, getCaratIndex(), setCaratIndex(), and setSelection(). Referenced by onKeyDown(). |
|
Processing to move carat one word right.
Definition at line 1011 of file CEGUIMultiLineEditbox.cpp. References clearSelection(), d_caratPos, d_dragAnchorIdx, getCaratIndex(), CEGUI::String::length(), setCaratIndex(), and setSelection(). Referenced by onKeyDown(). |
|
return true if the edit box has input focus.
Definition at line 142 of file CEGUIMultiLineEditbox.cpp. References CEGUI::Window::isActive(). Referenced by drawSelf(), onCharacter(), onKeyDown(), and renderTextLines(). |
|
hide the Window.
Definition at line 1127 of file CEGUIWindow.h. Referenced by CEGUI::ComboDropList::ComboDropList(), CEGUI::StaticText::configureScrollbars(), configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), CEGUI::StaticText::initialise(), and CEGUI::ComboDropList::onCaptureLost(). |
|
return true if the Window inherits alpha from its parent(s).
Definition at line 440 of file CEGUIWindow.h. Referenced by CEGUI::Window::getEffectiveAlpha(). |
|
Initialise the Window based object ready for use.
Reimplemented from CEGUI::Window. Definition at line 125 of file CEGUIMultiLineEditbox.cpp. References CEGUI::Window::addChildWindow(), createHorzScrollbar(), createVertScrollbar(), d_horzScrollbar, d_vertScrollbar, formatText(), and layoutComponentWidgets(). |
|
return true if this is the active Window (the window that receives inputs) Mouse events are always sent to the window containing the mouse cursor regardless of what this reports (unless the window has captured inputs). This mainly refers to where other (keyboard) inputs are sent.
Definition at line 237 of file CEGUIWindow.cpp. References CEGUI::Window::d_active, and CEGUI::Window::d_parent. Referenced by CEGUI::Combobox::activateEditbox(), CEGUI::Window::captureInput(), CEGUI::Window::getActiveChild(), hasInputFocus(), CEGUI::Editbox::hasInputFocus(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront(), and CEGUI::Combobox::onActivated(). |
|
returns whether or not this Window is an always on top (a.k.a 'topmost') Window.
Definition at line 191 of file CEGUIWindow.h. Referenced by CEGUI::Window::addChild_impl(), CEGUI::Window::moveToBack(), and CEGUI::Window::setAlwaysOnTop(). |
|
return true if the specified Window is some ancestor of this Window.
Definition at line 437 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent, and CEGUI::Window::isAncestor(). |
|
return true if any Window with the given ID is some ancestor of this Window.
Definition at line 415 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent, CEGUI::Window::getID(), and CEGUI::Window::isAncestor(). |
|
return true if the specified Window is some ancestor of this Window
Definition at line 392 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent, and CEGUI::Window::getName(). Referenced by CEGUI::Window::isAncestor(). |
|
return true if a child window has captured inputs.
Definition at line 554 of file CEGUIWindow.h. |
|
return true if an ancestor window has captured inputs.
Definition at line 564 of file CEGUIWindow.h. |
|
return true if this Window has input captured.
Definition at line 544 of file CEGUIWindow.h. Referenced by CEGUI::Window::releaseInput(). |
|
return true if the given Window is a child of this window.
Definition at line 289 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), and CEGUI::uint. |
|
returns whether at least one window with the given ID code is attached as a child.
Definition at line 269 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), and CEGUI::uint. |
|
returns whether a Window with the specified name is currently attached to this Window as a child.
Definition at line 249 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), and CEGUI::uint. |
|
return true if this Window is clipped so that its rendering does not pass outside its parent windows area.
Definition at line 237 of file CEGUIWindow.h. Referenced by CEGUI::Window::getInnerRect(), and CEGUI::Window::getPixelRect(). |
|
returns whether or not this Window is set to be destroyed when its parent is destroyed.
Definition at line 181 of file CEGUIWindow.h. Referenced by CEGUI::Window::cleanupChildren(). |
|
return true if the Window is currently disabled
Definition at line 214 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent. Referenced by CEGUI::ButtonBase::drawSelf(), and CEGUI::Window::isHit(). |
|
Checks to see if an Event with the given name is present in the EventSet.
Definition at line 101 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::EventSet::addEvent(). |
|
check if the given position would hit this window.
Reimplemented in CEGUI::Combobox. Definition at line 573 of file CEGUIWindow.cpp. References CEGUI::Window::getPixelRect(), CEGUI::Rect::getWidth(), CEGUI::Window::isDisabled(), CEGUI::Rect::isPointInRect(), and CEGUI::Point. Referenced by CEGUI::ComboDropList::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::ComboDropList::onMouseMove(), and CEGUI::ListHeader::segmentMovedHandler(). |
|
Return whether mouse button down event autorepeat is enabled for this window.
Definition at line 2639 of file CEGUIWindow.cpp. |
|
Return whether the EventSet is muted or not.
Definition at line 164 of file CEGUIEventSet.cpp. |
|
Returns whether a Property is at it's default value.
Definition at line 140 of file CEGUIPropertySet.cpp. References CEGUI::String::find(), and CEGUI::utf8. Referenced by CEGUI::TabControlProperties::TabTextPadding::isDefault(), and CEGUI::TabControlProperties::TabHeight::isDefault(). |
|
Checks to see if a Property with the given name is in the PropertySet.
Definition at line 76 of file CEGUIPropertySet.cpp. |
|
return true if the edit box is read-only.
Definition at line 98 of file CEGUIMultiLineEditbox.h. Referenced by drawSelf(), handleBackspace(), handleDelete(), handleNewLine(), onCharacter(), and onKeyDown(). |
|
return true if the Window is currently visible. A true return from this function does not mean that the window is not completely obscured by other windows, just that the window is processed when rendering and is not hidden.
Definition at line 225 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent, and CEGUI::Window::d_visible. Referenced by CEGUI::StaticText::drawSelf(), CEGUI::StaticText::getTextRenderArea(), CEGUI::Combobox::isDropDownListVisible(), CEGUI::StaticText::layoutComponentWidgets(), CEGUI::StaticText::onMouseWheel(), onMouseWheel(), CEGUI::MultiColumnList::onMouseWheel(), CEGUI::Listbox::onMouseWheel(), CEGUI::TabControl::removeTab(), and CEGUI::Window::render(). |
|
Return whether the text in the edit box will be word-wrapped.
Definition at line 1636 of file CEGUIMultiLineEditbox.cpp. |
|
Return whether z-order changes are enabled or disabled for this Window.
Definition at line 2590 of file CEGUIWindow.cpp. |
|
Setup size and position for the component widgets attached to this Editbox.
Referenced by initialise(), onSized(), and onTextChanged(). |
|
Move the Window to the bottom of the Z order.
Definition at line 1113 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::d_parent, CEGUI::Window::isActive(), CEGUI::Window::isAlwaysOnTop(), CEGUI::Window::onDeactivated(), CEGUI::Window::onZChange_impl(), CEGUI::ActivationEventArgs::otherWindow, CEGUI::Window::removeChild_impl(), and CEGUI::Window::setParent(). |
|
Move the Window to the top of the z order.
Definition at line 1043 of file CEGUIWindow.cpp. References CEGUI::Window::addChild_impl(), CEGUI::Window::d_children, CEGUI::Window::d_parent, CEGUI::Window::getChildCount(), CEGUI::Window::isActive(), CEGUI::Window::onActivated(), CEGUI::Window::onDeactivated(), CEGUI::Window::onZChange_impl(), CEGUI::ActivationEventArgs::otherWindow, CEGUI::Window::removeChild_impl(), and CEGUI::uint. Referenced by CEGUI::Window::activate(), CEGUI::Window::onMouseButtonDown(), and CEGUI::Window::releaseInput(). |
|
Handler called when this window has become the active window.
Reimplemented in CEGUI::Combobox, and CEGUI::ComboDropList. Definition at line 2944 of file CEGUIWindow.cpp. References CEGUI::Window::d_active, CEGUI::Window::EventActivated, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::moveToFront(). |
|
Handler called when the window's alpha blend value is changed.
Reimplemented in CEGUI::Static, and CEGUI::StaticImage. Definition at line 2807 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::EventAlphaChanged, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::getChildCount(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setAlpha(), and CEGUI::Window::setInheritsAlpha(). |
|
Handler called when the window's always-on-top setting is changed.
Definition at line 2887 of file CEGUIWindow.cpp. References CEGUI::Window::EventAlwaysOnTopChanged, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setAlwaysOnTop(). |
|
Handler called when this window gains capture of mouse inputs.
Definition at line 2894 of file CEGUIWindow.cpp. References CEGUI::Window::EventInputCaptureGained, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::Window::captureInput(). |
|
Handler called when this window loses capture of mouse inputs.
Reimplemented from CEGUI::Window. Definition at line 1348 of file CEGUIMultiLineEditbox.cpp. References d_dragging, and CEGUI::EventArgs::handled. |
|
Handler called when the carat moves.
Definition at line 1585 of file CEGUIMultiLineEditbox.cpp. References EventCaratMoved, EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by setCaratIndex(). |
|
Handler called when a character-key has been pressed while this window has input focus.
Reimplemented from CEGUI::Window. Definition at line 1362 of file CEGUIMultiLineEditbox.cpp. References CEGUI::KeyEventArgs::codepoint, d_caratPos, eraseSelectedText(), getCaratIndex(), CEGUI::Window::getFont(), CEGUI::EventArgs::handled, hasInputFocus(), CEGUI::String::insert(), CEGUI::Font::isCodepointAvailable(), isReadOnly(), CEGUI::String::length(), onEditboxFullEvent(), and onTextChanged(). |
|
Handler called when a child window is added to this window.
Definition at line 2999 of file CEGUIWindow.cpp. References CEGUI::Window::EventChildAdded, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::addChildWindow(). |
|
Handler called when a child window is removed from this window.
Definition at line 3006 of file CEGUIWindow.cpp. References CEGUI::Window::EventChildRemoved, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::removeChildWindow(). |
|
Handler called when the window's setting for being clipped by it's parent is changed.
Definition at line 2867 of file CEGUIWindow.cpp. References CEGUI::Window::EventClippedByParentChanged, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setClippedByParent(). |
|
Handler called when this window has lost input focus and has been deactivated.
Definition at line 2952 of file CEGUIWindow.cpp. References CEGUI::Window::d_active, CEGUI::Window::d_children, CEGUI::Window::EventDeactivated, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::getChildCount(), CEGUI::Window::requestRedraw(), and CEGUI::uint. Referenced by CEGUI::Window::deactivate(), CEGUI::Window::moveToBack(), and CEGUI::Window::moveToFront(). |
|
Handler called when this window's destruction sequence has begun.
Definition at line 2938 of file CEGUIWindow.cpp. References CEGUI::Window::EventDestructionStarted, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::Window::~Window(). |
|
Handler called when the window is disabled.
Definition at line 2854 of file CEGUIWindow.cpp. References CEGUI::Window::EventDisabled, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setEnabled(). |
|
Handler called when the edit box is full.
Definition at line 1605 of file CEGUIMultiLineEditbox.cpp. References EventEditboxFull, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by onCharacter(). |
|
Handler called when the window is enabled.
Definition at line 2847 of file CEGUIWindow.cpp. References CEGUI::Window::EventEnabled, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setEnabled(). |
|
Handler called when the window's font is changed.
Reimplemented in CEGUI::Combobox, CEGUI::StaticText, and CEGUI::TabControl. Definition at line 2800 of file CEGUIWindow.cpp. References CEGUI::Window::EventFontChanged, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setFont(). |
|
Handler called when the window is hidden.
Definition at line 2840 of file CEGUIWindow.cpp. References CEGUI::Window::EventHidden, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setVisible(). |
|
Handler called when 'always show' setting for the horizontal scroll bar changes.
Definition at line 1626 of file CEGUIMultiLineEditbox.cpp. References EventHorzScrollbarModeChanged, EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). |
|
Handler called when the window's client assigned ID is changed.
Definition at line 2827 of file CEGUIWindow.cpp. References CEGUI::Window::EventIDChanged, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::Window::setID(). |
|
Handler called when the window's setting for inheriting alpha-blending is changed.
Definition at line 2880 of file CEGUIWindow.cpp. References CEGUI::Window::EventInheritsAlphaChanged, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setInheritsAlpha(). |
|
Handler called when a key as been depressed while this window has input focus.
Reimplemented from CEGUI::Window. Definition at line 1398 of file CEGUIMultiLineEditbox.cpp. References d_dragAnchorIdx, getCaratIndex(), getSelectionLength(), handleBackspace(), handleCharLeft(), handleCharRight(), CEGUI::EventArgs::handled, handleDelete(), handleDocEnd(), handleDocHome(), handleLineDown(), handleLineEnd(), handleLineHome(), handleLineUp(), handleNewLine(), handleWordLeft(), handleWordRight(), hasInputFocus(), isReadOnly(), CEGUI::KeyEventArgs::scancode, and CEGUI::KeyEventArgs::sysKeys. |
|
Handler called when a key as been released while this window has input focus.
Definition at line 3094 of file CEGUIWindow.cpp. References CEGUI::Window::EventKeyUp, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectKeyUp(). |
|
Handler called when the maximum text length for the edit box changes.
Definition at line 1576 of file CEGUIMultiLineEditbox.cpp. References EventMaximumTextLengthChanged, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by setMaxTextLength(). |
|
Handler called when the window's active metrics system is changed.
Definition at line 2861 of file CEGUIWindow.cpp. References CEGUI::Window::EventMetricsModeChanged, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::Window::setMetricsMode(). |
|
Handler called when a mouse button has been depressed within this window's area.
Reimplemented from CEGUI::Window. Definition at line 1222 of file CEGUIMultiLineEditbox.cpp. References CEGUI::MouseEventArgs::button, CEGUI::Window::captureInput(), clearSelection(), d_dragAnchorIdx, d_dragging, getTextIndexFromPosition(), CEGUI::EventArgs::handled, CEGUI::MouseEventArgs::position, and setCaratIndex(). |
|
Handler called when a mouse button has been released within this window's area.
Reimplemented from CEGUI::Window. Definition at line 1248 of file CEGUIMultiLineEditbox.cpp. References CEGUI::MouseEventArgs::button, CEGUI::EventArgs::handled, and CEGUI::Window::releaseInput(). |
|
Handler called when a mouse button has been clicked (that is depressed and then released, within a specified time) within this window's area.
Definition at line 3070 of file CEGUIWindow.cpp. References CEGUI::Window::EventMouseClick, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectMouseButtonUp(). |
|
Handler called when a mouse button has been double-clicked within this window's area.
Reimplemented from CEGUI::Window. Definition at line 1265 of file CEGUIMultiLineEditbox.cpp. References CEGUI::MouseEventArgs::button, d_caratPos, d_dragAnchorIdx, CEGUI::EventArgs::handled, CEGUI::String::length(), and setSelection(). |
|
Handler called when the mouse cursor has entered this window's area.
Definition at line 3013 of file CEGUIWindow.cpp. References CEGUI::Window::EventMouseEnters, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::getMouseCursor(). Referenced by CEGUI::System::injectMouseMove(). |
|
Handler called when the mouse cursor has left this window's area.
Reimplemented in CEGUI::ButtonBase, and CEGUI::ListHeaderSegment. Definition at line 3022 of file CEGUIWindow.cpp. References CEGUI::Window::EventMouseLeaves, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectMouseMove(). |
|
Handler called when the mouse cursor has been moved within this window's area.
Reimplemented from CEGUI::Window. Definition at line 1330 of file CEGUIMultiLineEditbox.cpp. References d_caratPos, d_dragAnchorIdx, getTextIndexFromPosition(), CEGUI::EventArgs::handled, CEGUI::MouseEventArgs::position, setCaratIndex(), and setSelection(). |
|
Handler called when a mouse button has been triple-clicked within this window's area.
Reimplemented from CEGUI::Window. Definition at line 1287 of file CEGUIMultiLineEditbox.cpp. References CEGUI::String::append(), CEGUI::MouseEventArgs::button, d_caratPos, d_dragAnchorIdx, d_lineBreakChars, d_lines, CEGUI::String::find_first_of(), CEGUI::String::find_last_of(), getLineNumberFromIndex(), CEGUI::EventArgs::handled, CEGUI::String::length(), setCaratIndex(), setSelection(), and CEGUI::uint. |
|
Handler called when the mouse wheel (z-axis) position changes within this window's area.
Reimplemented from CEGUI::Window. Definition at line 1537 of file CEGUIMultiLineEditbox.cpp. References d_horzScrollbar, d_vertScrollbar, CEGUI::Scrollbar::getDocumentSize(), CEGUI::Scrollbar::getPageSize(), CEGUI::Scrollbar::getScrollPosition(), CEGUI::Scrollbar::getStepSize(), CEGUI::EventArgs::handled, CEGUI::Window::isVisible(), CEGUI::Scrollbar::setScrollPosition(), and CEGUI::MouseEventArgs::wheelChange. |
|
Handler called when the window's position changes.
Definition at line 2786 of file CEGUIWindow.cpp. References CEGUI::Window::EventMoved, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::FrameWindow::offsetPixelPosition(), CEGUI::Window::onParentSized(), CEGUI::Window::setPosition(), and CEGUI::Window::setRect(). |
|
Handler called when the window's setting for being destroyed automatically be it's parent is changed.
Definition at line 2874 of file CEGUIWindow.cpp. References CEGUI::Window::EventDestroyedByParentChanged, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::Window::setDestroyedByParent(). |
|
Handler called when this window's parent window has been resized. If this window is the root / GUI Sheet window, this call will be made when the screen size changes.
Reimplemented in CEGUI::FrameWindow. Definition at line 2971 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(), CEGUI::Rect::constrainSize(), CEGUI::Window::d_abs_area, CEGUI::Window::d_maxSize, CEGUI::Window::d_minSize, CEGUI::Window::d_parent, CEGUI::Window::d_rel_area, CEGUI::Window::EventNamespace, CEGUI::Window::EventParentSized, CEGUI::EventSet::fireEvent(), CEGUI::Window::getMetricsMode(), CEGUI::Window::onMoved(), CEGUI::Window::onSized(), CEGUI::Window::relativeToAbsolute_impl(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::addChild_impl(), and CEGUI::System::setGUISheet(). |
|
Handler called when the read-only state of the edit box changes.
Definition at line 1558 of file CEGUIMultiLineEditbox.cpp. References EventNamespace, EventReadOnlyModeChanged, and CEGUI::EventSet::fireEvent(). Referenced by setReadOnly(). |
|
Handler called when rendering for this window has ended.
Definition at line 2925 of file CEGUIWindow.cpp. References CEGUI::Window::EventNamespace, CEGUI::Window::EventRenderingEnded, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::Window::render(). |
|
Handler called when rendering for this window has started.
Definition at line 2919 of file CEGUIWindow.cpp. References CEGUI::Window::EventNamespace, CEGUI::Window::EventRenderingStarted, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::Window::render(). |
|
Handler called when the window is shown (made visible).
Definition at line 2833 of file CEGUIWindow.cpp. References CEGUI::Window::EventNamespace, CEGUI::Window::EventShown, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::setVisible(). |
|
Handler called when the window's size changes.
Reimplemented from CEGUI::Window. Definition at line 1522 of file CEGUIMultiLineEditbox.cpp. References formatText(), CEGUI::EventArgs::handled, and layoutComponentWidgets(). |
|
Handler called when the window's text is changed.
Reimplemented from CEGUI::Window. Definition at line 1491 of file CEGUIMultiLineEditbox.cpp. References CEGUI::String::append(), clearSelection(), ensureCaratIsVisible(), formatText(), getCaratIndex(), CEGUI::EventArgs::handled, layoutComponentWidgets(), CEGUI::String::length(), and setCaratIndex(). Referenced by eraseSelectedText(), handleBackspace(), handleDelete(), handleNewLine(), onCharacter(), and setMaxTextLength(). |
|
Handler called when the text selection changes.
Definition at line 1595 of file CEGUIMultiLineEditbox.cpp. References EventNamespace, EventTextSelectionChanged, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by setSelection(). |
|
Handler called when the 'always show' setting for the vertical scroll bar changes.
Definition at line 1615 of file CEGUIMultiLineEditbox.cpp. References EventNamespace, EventVertScrollbarModeChanged, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). |
|
Handler called when the word wrap mode for the the edit box changes.
Definition at line 1567 of file CEGUIMultiLineEditbox.cpp. References EventNamespace, EventWordWrapModeChanged, and CEGUI::EventSet::fireEvent(). Referenced by setWordWrapping(). |
|
Notify 'this' and all siblings of a ZOrder change event.
Definition at line 1786 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::d_parent, CEGUI::Window::getChildCount(), CEGUI::Window::onZChanged(), and CEGUI::uint. Referenced by CEGUI::Window::addChildWindow(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront(), CEGUI::Window::removeChildWindow(), and CEGUI::Window::setAlwaysOnTop(). |
|
Handler called when the z-order position of this window has changed.
Definition at line 2931 of file CEGUIWindow.cpp. References CEGUI::Window::EventNamespace, CEGUI::Window::EventZOrderChanged, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw(). Referenced by CEGUI::Window::onZChange_impl(). |
|
Convert the given area from relative to absolute metrics.
Definition at line 1367 of file CEGUIWindow.cpp. References CEGUI::Window::relativeToAbsolute_impl(). |
|
Convert the given size from relative to absolute metrics.
Definition at line 1358 of file CEGUIWindow.cpp. References CEGUI::Window::relativeToAbsolute_impl(). |
|
Convert the given position from relative to absolute metrics.
Definition at line 1349 of file CEGUIWindow.cpp. References CEGUI::Point, and CEGUI::Window::relativeToAbsolute_impl(). Referenced by getTextIndexFromPosition(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Thumb::onMouseButtonDown(), CEGUI::MultiColumnList::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::Listbox::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::Titlebar::onMouseMove(), CEGUI::Thumb::onMouseMove(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::FrameWindow::onMouseMove(), CEGUI::ComboDropList::onMouseMove(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::ListHeader::segmentMovedHandler(), and CEGUI::Window::windowToScreen(). |
|
Definition at line 1979 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getWindowSize_impl(), PixelAligned, and CEGUI::Point. |
|
Definition at line 1964 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned. |
|
Return a Rect object that describes, in absolute values offset from window, the relative area described by rect.
Definition at line 1947 of file CEGUIWindow.cpp. References CEGUI::Rect::d_bottom, CEGUI::Size::d_height, CEGUI::Rect::d_left, CEGUI::Rect::d_right, CEGUI::Rect::d_top, CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned. Referenced by CEGUI::Window::onParentSized(), CEGUI::Window::relativeToAbsolute(), CEGUI::Window::setMaximumSize(), CEGUI::Window::setMinimumSize(), CEGUI::Window::setPosition(), CEGUI::Window::setRect(), and CEGUI::Window::setSize(). |
|
Convert the given X co-ordinate from relative to absolute metrics.
Definition at line 1331 of file CEGUIWindow.cpp. References CEGUI::Window::relativeToAbsoluteX_impl(). Referenced by CEGUI::MultiColumnList::handleHeaderScroll(), CEGUI::MultiColumnList::insertColumn(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::ListHeader::segmentMovedHandler(), CEGUI::MultiColumnList::setColumnHeaderWidth(), and CEGUI::Window::windowToScreenX(). |
|
Definition at line 1994 of file CEGUIWindow.cpp. References CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned. Referenced by CEGUI::Thumb::onMouseMove(), and CEGUI::Window::relativeToAbsoluteX(). |
|
Convert the given Y co-ordinate from relative to absolute metrics.
Definition at line 1340 of file CEGUIWindow.cpp. References CEGUI::Window::relativeToAbsoluteY_impl(). Referenced by CEGUI::TabControlProperties::AbsoluteTabHeight::getDefault(), CEGUI::TabControl::setRelativeTabHeight(), CEGUI::TabControl::setRelativeTabTextPadding(), and CEGUI::Window::windowToScreenY(). |
|
Definition at line 2006 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Window::getWindowSize_impl(), and PixelAligned. Referenced by CEGUI::Thumb::onMouseMove(), and CEGUI::Window::relativeToAbsoluteY(). |
|
Releases input capture from this Window. If this Window does not have inputs captured, nothing happens.
Definition at line 1189 of file CEGUIWindow.cpp. References CEGUI::Window::d_captureWindow, CEGUI::Window::d_oldCapture, CEGUI::Window::isCapturedByThis(), CEGUI::Window::moveToFront(), and CEGUI::Window::onCaptureLost(). Referenced by CEGUI::Combobox::hideDropList(), CEGUI::ComboDropList::onMouseButtonDown(), CEGUI::Titlebar::onMouseButtonUp(), onMouseButtonUp(), CEGUI::ListHeaderSegment::onMouseButtonUp(), CEGUI::FrameWindow::onMouseButtonUp(), CEGUI::Editbox::onMouseButtonUp(), CEGUI::ComboDropList::onMouseButtonUp(), CEGUI::ButtonBase::onMouseButtonUp(), CEGUI::Titlebar::setDraggingEnabled(), CEGUI::ListHeaderSegment::setSizingEnabled(), and CEGUI::Window::~Window(). |
|
Remove all Event objects from the EventSet.
Definition at line 84 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::EventSet::~EventSet(). |
|
Remove given window from child list.
Definition at line 1765 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, and CEGUI::Window::setParent(). Referenced by CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront(), CEGUI::Window::removeChildWindow(), and CEGUI::Window::setAlwaysOnTop(). |
|
Remove the first child Window with the specified ID. If there is more than one attached Window objects with the specified ID, only the fist one encountered will be removed.
Definition at line 1023 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), CEGUI::Window::removeChildWindow(), and CEGUI::uint. |
|
Remove the specified Window form this windows child list.
Definition at line 1009 of file CEGUIWindow.cpp. References CEGUI::Window::onChildRemoved(), CEGUI::Window::onZChange_impl(), and CEGUI::Window::removeChild_impl(). |
|
Remove the named Window from this windows child list.
Definition at line 989 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), and CEGUI::uint. Referenced by CEGUI::Window::addChild_impl(), CEGUI::Window::cleanupChildren(), CEGUI::GUILayout_xmlHandler::cleanupLoadedWindows(), CEGUI::TabControl::removeButtonForTabContent(), CEGUI::Window::removeChildWindow(), CEGUI::ListHeader::removeColumn(), CEGUI::TabControl::removeTab(), and CEGUI::Window::~Window(). |
|
Removes the Event with the given name. All connections to the event are disconnected.
Definition at line 68 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Removes a Property from the PropertySet.
Definition at line 55 of file CEGUIPropertySet.cpp. |
|
Causes the Window object to render itself and all of it's attached children.
Definition at line 1602 of file CEGUIWindow.cpp. References CEGUI::Renderer::advanceZValue(), CEGUI::Window::d_children, CEGUI::Window::drawSelf(), CEGUI::Window::getChildCount(), CEGUI::Renderer::getCurrentZ(), CEGUI::Window::isVisible(), CEGUI::Window::onRenderingEnded(), CEGUI::Window::onRenderingStarted(), and CEGUI::uint. Referenced by CEGUI::System::renderGUI(). |
|
Render the carat.
Referenced by drawSelf(). |
|
Perform rendering of the widget control frame and other 'static' areas. This method should not render the actual text. Note that the text will be rendered to layer 4 and the selection brush to layer 3, other layers can be used for rendering imagery behind and infront of the text & selection..
Referenced by drawSelf(). |
|
Render text lines.
Definition at line 512 of file CEGUIMultiLineEditbox.cpp. References ceguimin, CEGUI::Rect::d_bottom, d_inactiveSelectBrushColour, CEGUI::Rect::d_left, CEGUI::MultiLineEditbox::LineInfo::d_length, d_lines, d_normalTextColour, CEGUI::Rect::d_right, d_selectBrushColour, d_selectionBrush, d_selectionEnd, d_selectionStart, d_selectTextColour, CEGUI::MultiLineEditbox::LineInfo::d_startIdx, CEGUI::Rect::d_top, CEGUI::Image::draw(), CEGUI::Font::drawText(), CEGUI::Window::getEffectiveAlpha(), CEGUI::Window::getFont(), CEGUI::Font::getLineSpacing(), CEGUI::Font::getTextExtent(), CEGUI::Renderer::getZLayer(), hasInputFocus(), CEGUI::LeftAligned, CEGUI::String::substr(), and CEGUI::uint. Referenced by drawSelf(). |
|
Signal the System object to redraw (at least) this Window on the next render cycle.
Definition at line 1277 of file CEGUIWindow.cpp. Referenced by CEGUI::TabControl::addTab(), CEGUI::TabControl::calculateTabButtonSizePosition(), formatText(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::StaticText::handleScrollbarChange(), CEGUI::MultiColumnList::handleUpdatedItemData(), CEGUI::Listbox::handleUpdatedItemData(), CEGUI::ListHeaderSegment::initSegmentHoverState(), CEGUI::ListHeaderSegment::initSizingHoverState(), CEGUI::Window::onActivated(), CEGUI::Window::onAlphaChanged(), CEGUI::Window::onAlwaysOnTopChanged(), CEGUI::ButtonBase::onCaptureLost(), onCaratMoved(), CEGUI::Editbox::onCaratMoved(), CEGUI::Window::onChildAdded(), CEGUI::Window::onChildRemoved(), CEGUI::Window::onClippingChanged(), CEGUI::Window::onDeactivated(), CEGUI::Window::onDisabled(), CEGUI::Window::onEnabled(), CEGUI::Window::onFontChanged(), CEGUI::StaticText::onFontChanged(), CEGUI::Window::onHidden(), onHorzScrollbarModeChanged(), CEGUI::Listbox::onHorzScrollbarModeChanged(), CEGUI::Window::onInheritsAlphaChanged(), CEGUI::MultiColumnList::onListColumnMoved(), CEGUI::MultiColumnList::onListColumnSized(), CEGUI::MultiColumnList::onListContentsChanged(), CEGUI::Listbox::onListContentsChanged(), CEGUI::Editbox::onMaskCodePointChanged(), CEGUI::Editbox::onMaskedRenderingModeChanged(), CEGUI::ButtonBase::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseLeaves(), CEGUI::ButtonBase::onMouseLeaves(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::Window::onMoved(), CEGUI::Window::onParentSized(), CEGUI::ProgressBar::onProgressChanged(), CEGUI::Editbox::onReadOnlyChanged(), CEGUI::ListHeaderSegment::onSegmentDragPositionChanged(), CEGUI::ListHeaderSegment::onSegmentSized(), CEGUI::TabControl::onSelectionChanged(), CEGUI::MultiColumnList::onSelectionChanged(), CEGUI::Listbox::onSelectionChanged(), CEGUI::Window::onShown(), CEGUI::Window::onSized(), CEGUI::StaticText::onSized(), CEGUI::MultiColumnList::onSortColumnChanged(), CEGUI::MultiColumnList::onSortDirectionChanged(), CEGUI::ListHeaderSegment::onSortDirectionChanged(), CEGUI::Listbox::onSortModeChanged(), CEGUI::Window::onTextChanged(), CEGUI::StaticText::onTextChanged(), onTextSelectionChanged(), CEGUI::Editbox::onTextSelectionChanged(), onVertScrollbarModeChanged(), CEGUI::Listbox::onVertScrollbarModeChanged(), CEGUI::Window::onZChanged(), CEGUI::TabControl::removeTab(), CEGUI::Static::setBackgroundColours(), CEGUI::Static::setBackgroundEnabled(), CEGUI::Static::setBackgroundImage(), CEGUI::Titlebar::setCaptionColour(), CEGUI::ButtonBase::setDisabledTextColour(), CEGUI::StaticText::setFormatting(), CEGUI::StaticImage::setFormatting(), CEGUI::Static::setFrameColours(), CEGUI::Static::setFrameEnabled(), CEGUI::FrameWindow::setFrameEnabled(), CEGUI::Static::setFrameImages(), CEGUI::StaticText::setHorizontalFormatting(), CEGUI::StaticImage::setHorizontalFormatting(), CEGUI::ButtonBase::setHoverTextColour(), CEGUI::StaticImage::setImage(), CEGUI::StaticImage::setImageColours(), setInactiveSelectBrushColour(), CEGUI::Editbox::setInactiveSelectBrushColour(), setNormalSelectBrushColour(), CEGUI::Editbox::setNormalSelectBrushColour(), setNormalTextColour(), CEGUI::Editbox::setNormalTextColour(), CEGUI::ButtonBase::setNormalTextColour(), CEGUI::ButtonBase::setPushedTextColour(), CEGUI::TabButton::setRightOfSelected(), CEGUI::ListHeader::setSegmentOffset(), CEGUI::TabButton::setSelected(), CEGUI::RadioButton::setSelected(), CEGUI::Checkbox::setSelected(), setSelectedTextColour(), CEGUI::Editbox::setSelectedTextColour(), CEGUI::ListHeaderSegment::setSortDirection(), CEGUI::StaticText::setTextColours(), CEGUI::StaticText::setVerticalFormatting(), CEGUI::StaticImage::setVerticalFormatting(), and CEGUI::ButtonBase::updateInternalState(). |
|
Return whether this window is set to restore old input capture when it loses input capture. This is only really useful for certain sub-components for widget writers.
Definition at line 965 of file CEGUIWindow.h. |
|
Convert a screen area to a window area, specified in whichever metrics mode is active.
Definition at line 1578 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Rect::d_bottom, CEGUI::Rect::d_left, CEGUI::Rect::d_right, CEGUI::Rect::d_top, CEGUI::Rect::getHeight(), CEGUI::Window::getMetricsMode(), CEGUI::Rect::getWidth(), CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY(). |
|
Convert a pixel screen size to a window based size, specified in whichever metrics mode is active.
Definition at line 1560 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Rect::getHeight(), CEGUI::Window::getMetricsMode(), and CEGUI::Rect::getWidth(). |
|
Convert a screen relative pixel position to a window co-ordinate position, specified in whichever metrics mode is active.
Definition at line 1540 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Rect::getHeight(), CEGUI::Window::getMetricsMode(), CEGUI::Rect::getWidth(), CEGUI::Point, CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY(). Referenced by getTextIndexFromPosition(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Thumb::onMouseButtonDown(), CEGUI::MultiColumnList::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::Listbox::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::Titlebar::onMouseMove(), CEGUI::Thumb::onMouseMove(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::FrameWindow::onMouseMove(), CEGUI::ComboDropList::onMouseMove(), CEGUI::ListHeader::segmentDragHandler(), and CEGUI::ListHeader::segmentMovedHandler(). |
|
Convert a screen relative pixel co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.
Definition at line 1506 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::getMetricsMode(), CEGUI::Rect::getWidth(), and CEGUI::Window::windowToScreenX(). |
|
Convert a screen relative pixel co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.
Definition at line 1523 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Rect::getHeight(), CEGUI::Window::getMetricsMode(), and CEGUI::Window::windowToScreenY(). |
|
Set the current alpha value for this window.
Definition at line 1237 of file CEGUIWindow.cpp. References CEGUI::Window::d_alpha, and CEGUI::Window::onAlphaChanged(). |
|
Set whether this window is always on top, or not.
Definition at line 740 of file CEGUIWindow.cpp. References CEGUI::Window::addChild_impl(), CEGUI::Window::d_alwaysOnTop, CEGUI::Window::d_parent, CEGUI::Window::isAlwaysOnTop(), CEGUI::Window::onAlwaysOnTopChanged(), CEGUI::Window::onZChange_impl(), and CEGUI::Window::removeChild_impl(). Referenced by CEGUI::Titlebar::Titlebar(). |
|
Set the current area for the Window, this allows for setting of position and size at the same time. Interpretation of the input value area is dependant upon the current metrics system set for the Window.
Definition at line 927 of file CEGUIWindow.cpp. References CEGUI::Window::getMetricsMode(), and CEGUI::Window::setRect(). |
|
Set the current auto-repeat delay setting for this window.
Definition at line 2683 of file CEGUIWindow.cpp. References CEGUI::Window::d_repeatDelay. |
|
Set the current auto-repeat rate setting for this window.
Definition at line 2698 of file CEGUIWindow.cpp. References CEGUI::Window::d_repeatRate. |
|
Set the current position of the carat.
Definition at line 239 of file CEGUIMultiLineEditbox.cpp. References d_caratPos, ensureCaratIsVisible(), CEGUI::String::length(), and onCaratMoved(). Referenced by eraseSelectedText(), handleBackspace(), handleCharLeft(), handleCharRight(), handleDocEnd(), handleDocHome(), handleLineDown(), handleLineEnd(), handleLineHome(), handleLineUp(), handleWordLeft(), handleWordRight(), onMouseButtonDown(), onMouseMove(), onMouseTripleClicked(), and onTextChanged(). |
|
Set whether this Window will be clipped by its parent window(s).
Definition at line 836 of file CEGUIWindow.cpp. References CEGUI::Window::d_clippedByParent, and CEGUI::Window::onClippingChanged(). |
|
Set whether or not this Window will automatically be destroyed when its parent Window is destroyed.
Definition at line 2198 of file CEGUIWindow.cpp. References CEGUI::Window::d_destroyedByParent, and CEGUI::Window::onParentDestroyChanged(). |
|
Set whether this window is enabled or disabled. A disabled window normally can not be interacted with, and may have different rendering.
Definition at line 769 of file CEGUIWindow.cpp. References CEGUI::Window::d_enabled, CEGUI::Window::onDisabled(), and CEGUI::Window::onEnabled(). Referenced by CEGUI::FrameWindow::setCloseButtonEnabled(), and CEGUI::FrameWindow::setTitleBarEnabled(). |
|
Set the font used by this Window.
Definition at line 947 of file CEGUIWindow.cpp. References CEGUI::String::empty(), CEGUI::Window::getFont(), and CEGUI::Window::setFont(). |
|
Set the font used by this Window.
Definition at line 936 of file CEGUIWindow.cpp. References CEGUI::Window::d_font, and CEGUI::Window::onFontChanged(). Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::Combobox::initialise(), CEGUI::TabControl::onFontChanged(), CEGUI::Combobox::onFontChanged(), CEGUI::Window::setFont(), and CEGUI::FrameWindow::setTitlebarFont(). |
|
set the height of the Window using the specified metrics system.
Definition at line 2442 of file CEGUIWindow.cpp. References CEGUI::Window::getWidth(), and CEGUI::Window::setSize(). |
|
Set the current height of the Window. Interpretation of the input value height is dependant upon the current metrics system set for the Window.
Definition at line 874 of file CEGUIWindow.cpp. References CEGUI::Window::getWidth(), and CEGUI::Window::setSize(). Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(). |
|
Set the current ID for the Window.
Definition at line 2159 of file CEGUIWindow.cpp. References CEGUI::Window::d_ID, and CEGUI::Window::onIDChanged(). Referenced by CEGUI::ListHeader::createInitialisedSegment(). |
|
Set the colour to be used for rendering the edit box selection highlight when the edit box is inactive.
Definition at line 363 of file CEGUIMultiLineEditbox.cpp. References d_inactiveSelectBrushColour, and CEGUI::Window::requestRedraw(). Referenced by CEGUI::MultiLineEditboxProperties::InactiveSelectionColour::set(). |
|
Sets whether this Window will inherit alpha from its parent windows.
Definition at line 1248 of file CEGUIWindow.cpp. References CEGUI::Window::d_inheritsAlpha, CEGUI::Window::getEffectiveAlpha(), CEGUI::EventArgs::handled, CEGUI::Window::onAlphaChanged(), and CEGUI::Window::onInheritsAlphaChanged(). |
|
Set the maximum size for this window.
Definition at line 2100 of file CEGUIWindow.cpp. References CEGUI::Rect::constrainSizeMax(), CEGUI::Window::d_abs_area, CEGUI::Size::d_height, CEGUI::Window::d_maxSize, CEGUI::Size::d_width, CEGUI::Window::getMetricsMode(), CEGUI::Window::onSized(), PixelAligned, and CEGUI::Window::relativeToAbsolute_impl(). Referenced by CEGUI::GUISheetFactory::createWindow(), and CEGUI::Window::Window(). |
|
set the maximum text length for this edit box.
Definition at line 304 of file CEGUIMultiLineEditbox.cpp. References d_maxTextLen, CEGUI::String::length(), onMaximumTextLengthChanged(), onTextChanged(), and CEGUI::String::resize(). Referenced by CEGUI::MultiLineEditboxProperties::MaxTextLength::set(). |
|
set the current metrics mode employed by the Window
Definition at line 2175 of file CEGUIWindow.cpp. References CEGUI::Window::d_metricsMode, CEGUI::Window::getMetricsMode(), CEGUI::MetricsMode, and CEGUI::Window::onMetricsChanged(). Referenced by CEGUI::ListHeader::createInitialisedSegment(). |
|
Set the minimum size for this window.
Definition at line 2069 of file CEGUIWindow.cpp. References CEGUI::Rect::constrainSizeMin(), CEGUI::Window::d_abs_area, CEGUI::Size::d_height, CEGUI::Window::d_minSize, CEGUI::Size::d_width, CEGUI::Window::getMetricsMode(), CEGUI::Window::onSized(), PixelAligned, and CEGUI::Window::relativeToAbsolute_impl(). Referenced by CEGUI::ListHeader::createInitialisedSegment(), and CEGUI::Window::Window(). |
|
Set whether mouse button down event autorepeat is enabled for this window.
Definition at line 2667 of file CEGUIWindow.cpp. References CEGUI::Window::d_autoRepeat, and CEGUI::Window::d_repeatButton. |
|
Set the mouse cursor image to be used when the mouse enters this window.
Definition at line 2150 of file CEGUIWindow.cpp. References CEGUI::Window::d_mouseCursor. |
|
Set the mouse cursor image to be used when the mouse enters this window.
Definition at line 1550 of file CEGUIWindow.h. |
|
Set the mouse cursor image to be used when the mouse enters this window.
Definition at line 1537 of file CEGUIWindow.h. |
|
Set the mute state for this EventSet.
Definition at line 173 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_muted. |
|
Set the colour to be used for rendering the edit box selection highlight when the edit box is active.
Definition at line 352 of file CEGUIMultiLineEditbox.cpp. References d_selectBrushColour, and CEGUI::Window::requestRedraw(). Referenced by CEGUI::MultiLineEditboxProperties::ActiveSelectionColour::set(). |
|
Set the colour to be used for rendering edit box text in the normal, unselected state.
Definition at line 330 of file CEGUIMultiLineEditbox.cpp. References d_normalTextColour, and CEGUI::Window::requestRedraw(). Referenced by CEGUI::MultiLineEditboxProperties::NormalTextColour::set(). |
|
Set the parent window for this window object.
Definition at line 1634 of file CEGUIWindow.cpp. References CEGUI::Window::d_parent. Referenced by CEGUI::Window::addChild_impl(), CEGUI::Window::moveToBack(), and CEGUI::Window::removeChild_impl(). |
|
set the position of the window using the specified metrics system.
Definition at line 2404 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(), CEGUI::Rect::constrainSize(), CEGUI::Window::d_abs_area, CEGUI::Window::d_maxSize, CEGUI::Window::d_minSize, CEGUI::Window::d_parent, CEGUI::Window::d_rel_area, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::onMoved(), PixelAligned, CEGUI::Point, CEGUI::Window::relativeToAbsolute_impl(), and CEGUI::Rect::setPosition(). |
|
Set the current position of the Window. Interpretation of the input value position is dependant upon the current metrics system set for the Window.
Definition at line 916 of file CEGUIWindow.cpp. References CEGUI::Window::getMetricsMode(), and CEGUI::Point. Referenced by CEGUI::TabControl::layoutComponentWidgets(), CEGUI::StaticText::layoutComponentWidgets(), CEGUI::ListHeader::layoutSegments(), CEGUI::Thumb::onMouseMove(), CEGUI::Window::setXPosition(), and CEGUI::Window::setYPosition(). |
|
Sets the current value of a Property.
Definition at line 114 of file CEGUIPropertySet.cpp. References CEGUI::String::find(), and CEGUI::utf8. Referenced by CEGUI::GUILayout_xmlHandler::startElement(). |
|
Specify whether the edit box is read-only.
Definition at line 223 of file CEGUIMultiLineEditbox.cpp. References d_readOnly, and onReadOnlyChanged(). |
|
set the Rect that describes the Window area using the specified metrics system.
Definition at line 2486 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(), CEGUI::Rect::constrainSize(), CEGUI::Window::d_abs_area, CEGUI::Rect::d_bottom, CEGUI::Rect::d_left, CEGUI::Window::d_maxSize, CEGUI::Window::d_minSize, CEGUI::Window::d_parent, CEGUI::Window::d_rel_area, CEGUI::Rect::d_right, CEGUI::Rect::d_top, CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::onMoved(), CEGUI::Window::onSized(), PixelAligned, and CEGUI::Window::relativeToAbsolute_impl(). Referenced by CEGUI::Window::setAreaRect(). |
|
Set whether this window will remember and restore the previous window that had inputs captured.
Definition at line 1220 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::d_restoreOldCapture, CEGUI::Window::getChildCount(), and CEGUI::uint. Referenced by CEGUI::ComboDropList::initialise(). |
|
Set the colour to be used for rendering the edit box text when within the selected region.
Definition at line 341 of file CEGUIMultiLineEditbox.cpp. References d_selectTextColour, and CEGUI::Window::requestRedraw(). Referenced by CEGUI::MultiLineEditboxProperties::SelectedTextColour::set(). |
|
Define the current selection for the edit box.
Definition at line 264 of file CEGUIMultiLineEditbox.cpp. References d_selectionEnd, d_selectionStart, CEGUI::String::length(), onTextSelectionChanged(), and CEGUI::ulong. Referenced by clearSelection(), handleCharLeft(), handleCharRight(), handleDocEnd(), handleDocHome(), handleLineDown(), handleLineEnd(), handleLineHome(), handleLineUp(), handleWordLeft(), handleWordRight(), onMouseDoubleClicked(), onMouseMove(), onMouseTripleClicked(), CEGUI::MultiLineEditboxProperties::SelectionLength::set(), and CEGUI::MultiLineEditboxProperties::SelectionStart::set(). |
|
set the size of the Window using the specified metrics system.
Definition at line 2451 of file CEGUIWindow.cpp. References CEGUI::Window::absoluteToRelative_impl(), CEGUI::Rect::constrainSize(), CEGUI::Window::d_abs_area, CEGUI::Size::d_height, CEGUI::Window::d_maxSize, CEGUI::Window::d_minSize, CEGUI::Window::d_parent, CEGUI::Window::d_rel_area, CEGUI::Size::d_width, CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::onSized(), PixelAligned, CEGUI::Window::relativeToAbsolute_impl(), and CEGUI::Rect::setSize(). |
|
Set the current size of the Window. Interpretation of the input value size is dependant upon the current metrics system set for the Window.
Definition at line 884 of file CEGUIWindow.cpp. References CEGUI::Window::getMetricsMode(). Referenced by CEGUI::ListHeader::createInitialisedSegment(), CEGUI::GUISheetFactory::createWindow(), CEGUI::TabControl::layoutComponentWidgets(), CEGUI::StaticText::layoutComponentWidgets(), CEGUI::Window::setHeight(), CEGUI::Window::setWidth(), and CEGUI::FrameWindow::toggleRollup(). |
|
Set the current text string for the Window.
Definition at line 852 of file CEGUIWindow.cpp. References CEGUI::Window::d_text, and CEGUI::Window::onTextChanged(). Referenced by CEGUI::ListHeader::createInitialisedSegment(), CEGUI::Combobox::droplist_SelectionAcceptedHandler(), CEGUI::Combobox::editbox_TextChangedEventHandler(), CEGUI::Editbox::handleBackspace(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::Editbox::handleDelete(), CEGUI::Editbox::onCharacter(), CEGUI::Combobox::onTextChanged(), and CEGUI::TabButton::setTargetWindow(). |
|
Set the user data set for this Window. Each Window can have some client assigned data attached to it, this data is not used by the GUI system in any way. Interpretation of the data is entirely application specific.
Definition at line 1584 of file CEGUIWindow.h. |
|
Set whether the Window is visible or hidden.
Definition at line 785 of file CEGUIWindow.cpp. References CEGUI::Window::d_visible, CEGUI::Window::onHidden(), and CEGUI::Window::onShown(). Referenced by CEGUI::TabControl::addTab(), and CEGUI::TabControl::selectTab_impl(). |
|
Set whether this window will receive multi-click events or multiple 'down' events instead.
Definition at line 2623 of file CEGUIWindow.cpp. References CEGUI::Window::d_wantsMultiClicks. |
|
set the width of the Window using the specified metrics system.
Definition at line 2433 of file CEGUIWindow.cpp. References CEGUI::Window::getHeight(), and CEGUI::Window::setSize(). |
|
Set the current width of the Window. Interpretation of the input value width is dependant upon the current metrics system set for the Window.
Definition at line 864 of file CEGUIWindow.cpp. References CEGUI::Window::getHeight(), and CEGUI::Window::setSize(). Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), and CEGUI::ListHeader::setColumnPixelWidth(). |
|
Set whether the text will be word wrapped or not.
Definition at line 424 of file CEGUIMultiLineEditbox.cpp. References d_wordWrap, formatText(), and onWordWrapModeChanged(). |
|
set the x position of the window using the specified metrics system.
Definition at line 2386 of file CEGUIWindow.cpp. References CEGUI::Window::getYPosition(), CEGUI::Point, and CEGUI::Window::setPosition(). |
|
Set the current 'x' position of the Window. Interpretation of the input value x is dependant upon the current metrics system set for the Window.
Definition at line 895 of file CEGUIWindow.cpp. References CEGUI::Window::getYPosition(), CEGUI::Point, and CEGUI::Window::setPosition(). Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), and CEGUI::Thumb::setHorzRange(). |
|
set the y position of the window using the specified metrics system.
Definition at line 2395 of file CEGUIWindow.cpp. References CEGUI::Window::getXPosition(), CEGUI::Point, and CEGUI::Window::setPosition(). |
|
Set the current 'y' position of the Window. Interpretation of the input value y is dependant upon the current metrics system set for the Window.
Definition at line 906 of file CEGUIWindow.cpp. References CEGUI::Window::getXPosition(), CEGUI::Point, and CEGUI::Window::setPosition(). Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), and CEGUI::Thumb::setVertRange(). |
|
Set whether z-order changes are enabled or disabled for this Window.
Definition at line 2599 of file CEGUIWindow.cpp. References CEGUI::Window::d_zOrderingEnabled. |
|
show the Window
Definition at line 1117 of file CEGUIWindow.h. Referenced by CEGUI::StaticText::configureScrollbars(), configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), and CEGUI::Combobox::showDropList(). |
|
Subscribes the the specified group of the named Event.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 126 of file CEGUIEventSet.cpp. References CEGUI::Event::Connection, CEGUI::EventSet::d_events, and CEGUI::Event::Subscriber. |
|
Subscribes the the named Event.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 110 of file CEGUIEventSet.cpp. References CEGUI::Event::Connection, CEGUI::EventSet::d_events, and CEGUI::Event::Subscriber. Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::TabControl::addTab(), CEGUI::ListHeader::createInitialisedSegment(), CEGUI::StaticText::initialise(), CEGUI::Slider::initialise(), CEGUI::Scrollbar::initialise(), CEGUI::MultiColumnList::initialise(), CEGUI::FrameWindow::initialise(), and CEGUI::Combobox::initialise(). |
|
Cause window to update itself and any attached children. Client code does not need to call this method; to ensure full, and proper updates, call the injectTimePulse methodname method provided by the System class.
Definition at line 2713 of file CEGUIWindow.cpp. References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), CEGUI::uint, and CEGUI::Window::updateSelf(). Referenced by CEGUI::System::injectTimePulse(). |
|
Perform actual update processing for this Window.
Definition at line 2732 of file CEGUIWindow.cpp. References CEGUI::Window::d_autoRepeat, CEGUI::Window::d_repeatButton, CEGUI::Window::d_repeatElapsed, CEGUI::Window::d_repeating, and CEGUI::Window::generateAutoRepeatEvent(). Referenced by CEGUI::Window::update(). |
|
Return whether this window will receive multi-click events or multiple 'down' events instead.
Definition at line 2613 of file CEGUIWindow.cpp. Referenced by CEGUI::System::injectMouseButtonDown(). |
|
Convert a window area, specified in whichever metrics mode is active, to a screen area.
Definition at line 1477 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Rect::d_left, CEGUI::Window::d_parent, CEGUI::Rect::d_top, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getMetricsMode(), CEGUI::Rect::offset(), CEGUI::Point, and CEGUI::Window::relativeToAbsolute(). |
|
Convert a window size value, specified in whichever metrics mode is active, to a size in pixels.
Definition at line 1459 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Rect::getHeight(), CEGUI::Window::getMetricsMode(), and CEGUI::Rect::getWidth(). |
|
Convert a window co-ordinate position, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate position.
Definition at line 1431 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Rect::d_left, CEGUI::Window::d_parent, CEGUI::Rect::d_top, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getMetricsMode(), CEGUI::Point, and CEGUI::Window::relativeToAbsolute(). Referenced by CEGUI::Window::getUnclippedPixelRect(). |
|
Convert a window co-ordinate value, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate.
Definition at line 1377 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Rect::d_left, CEGUI::Window::d_parent, CEGUI::Window::getMetricsMode(), and CEGUI::Window::relativeToAbsoluteX(). Referenced by CEGUI::Window::screenToWindow(), and CEGUI::Window::screenToWindowX(). |
|
Convert a window co-ordinate value, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate.
Definition at line 1404 of file CEGUIWindow.cpp. References CEGUI::Window::d_abs_area, CEGUI::Window::d_parent, CEGUI::Rect::d_top, CEGUI::Window::getMetricsMode(), and CEGUI::Window::relativeToAbsoluteY(). Referenced by CEGUI::Window::screenToWindow(), and CEGUI::Window::screenToWindowY(). |
|
Definition at line 2065 of file CEGUIWindow.h. |
|
This Window objects area (pixels relative to parent).
Definition at line 2627 of file CEGUIWindow.h. Referenced by CEGUI::Window::getHeight(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentWidth(), CEGUI::Window::getPosition(), CEGUI::Window::getSize(), CEGUI::Window::getUnclippedPixelRect(), CEGUI::Window::getWidth(), CEGUI::Window::getWindowSize_impl(), CEGUI::Window::getXPosition(), CEGUI::Window::getYPosition(), CEGUI::Window::onParentSized(), CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowX(), CEGUI::Window::screenToWindowY(), CEGUI::Window::setMaximumSize(), CEGUI::Window::setMinimumSize(), CEGUI::Window::setPosition(), CEGUI::Window::setRect(), CEGUI::Window::setSize(), CEGUI::Window::Window(), CEGUI::Window::windowToScreen(), CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY(). |
|
Definition at line 46 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 47 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 48 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 49 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 50 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 51 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 52 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 53 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 54 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true when Window is the active Window (receiving inputs).
Definition at line 2639 of file CEGUIWindow.h. Referenced by CEGUI::Window::isActive(), CEGUI::Window::onActivated(), CEGUI::Window::onDeactivated(), and CEGUI::Window::Window(). |
|
Alpha transparency setting for the Window.
Definition at line 2626 of file CEGUIWindow.h. Referenced by CEGUI::Window::getEffectiveAlpha(), CEGUI::Window::setAlpha(), and CEGUI::Window::Window(). |
|
Definition at line 55 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true if Window will be drawn on top of all other Windows
Definition at line 2642 of file CEGUIWindow.h. Referenced by CEGUI::Window::setAlwaysOnTop(), and CEGUI::Window::Window(). |
|
Definition at line 56 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true if button will auto-repeat mouse button down events while mouse button is held down,
Definition at line 2649 of file CEGUIWindow.h. Referenced by CEGUI::Window::onMouseButtonDown(), CEGUI::Window::setMouseAutoRepeatEnabled(), CEGUI::Window::updateSelf(), and CEGUI::Window::Window(). |
|
Definition at line 87 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 86 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 88 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Window that has captured inputs.
Definition at line 94 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::activate(), CEGUI::Window::captureInput(), and CEGUI::Window::releaseInput(). |
|
Position of the carat / insert-point.
Definition at line 726 of file CEGUIMultiLineEditbox.h. Referenced by ensureCaratIsVisible(), handleBackspace(), handleCharLeft(), handleCharRight(), handleDelete(), handleDocEnd(), handleDocHome(), handleLineDown(), handleLineEnd(), handleLineHome(), handleLineUp(), handleNewLine(), handleWordLeft(), handleWordRight(), onCharacter(), onMouseDoubleClicked(), onMouseMove(), onMouseTripleClicked(), and setCaratIndex(). |
|
The list of child Window objects attached to this.
Definition at line 2616 of file CEGUIWindow.h. Referenced by CEGUI::Window::addChild_impl(), CEGUI::Window::cleanupChildren(), CEGUI::Window::getActiveChild(), CEGUI::Window::getChild(), CEGUI::Window::getChildAtPosition(), CEGUI::Window::isChild(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront(), CEGUI::Window::onAlphaChanged(), CEGUI::Window::onDeactivated(), CEGUI::Window::onSized(), CEGUI::Window::onZChange_impl(), CEGUI::Window::removeChild_impl(), CEGUI::Window::removeChildWindow(), CEGUI::Window::render(), CEGUI::Window::setRestoreCapture(), and CEGUI::Window::update(). |
|
true when Window will be clipped by parent Window area Rect.
Definition at line 2640 of file CEGUIWindow.h. Referenced by CEGUI::Window::setClippedByParent(), and CEGUI::Window::Window(). |
|
Definition at line 57 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true when Window will be auto-destroyed by parent.
Definition at line 2641 of file CEGUIWindow.h. Referenced by CEGUI::Window::setDestroyedByParent(), and CEGUI::Window::Window(). |
|
Definition at line 58 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 59 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Selection index for drag selection anchor point.
Definition at line 730 of file CEGUIMultiLineEditbox.h. Referenced by handleCharLeft(), handleCharRight(), handleDocEnd(), handleDocHome(), handleLineDown(), handleLineEnd(), handleLineHome(), handleLineUp(), handleWordLeft(), handleWordRight(), onKeyDown(), onMouseButtonDown(), onMouseDoubleClicked(), onMouseMove(), and onMouseTripleClicked(). |
|
true when a selection is being dragged.
Definition at line 729 of file CEGUIMultiLineEditbox.h. Referenced by onCaptureLost(), and onMouseButtonDown(). |
|
true when Window is enabled
Definition at line 2637 of file CEGUIWindow.h. Referenced by CEGUI::Window::setEnabled(), and CEGUI::Window::Window(). |
|
Definition at line 208 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::addEvent(), CEGUI::EventSet::fireEvent(), CEGUI::EventSet::getIterator(), CEGUI::EventSet::isEventPresent(), CEGUI::EventSet::removeAllEvents(), CEGUI::EventSet::removeEvent(), and CEGUI::EventSet::subscribeEvent(). |
|
Holds pointer to the Window objects current Font.
Definition at line 2623 of file CEGUIWindow.h. Referenced by CEGUI::Window::getFont(), CEGUI::Window::setFont(), and CEGUI::Window::Window(). |
|
Definition at line 60 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true if horizontal scrollbar should always be displayed
Definition at line 742 of file CEGUIMultiLineEditbox.h. |
|
true if vertical scrollbar should always be displayed
Definition at line 741 of file CEGUIMultiLineEditbox.h. |
|
Definition at line 61 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Points to the horizontal scroll bar widget.
Definition at line 740 of file CEGUIMultiLineEditbox.h. Referenced by configureScrollbars(), drawSelf(), ensureCaratIsVisible(), getTextIndexFromPosition(), initialise(), and onMouseWheel(). |
|
User ID assigned to this Window.
Definition at line 2625 of file CEGUIWindow.h. Referenced by CEGUI::Window::setID(), and CEGUI::Window::Window(). |
|
Definition at line 62 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Colour to apply to the selection brush when widget is inactive / read-only.
Definition at line 751 of file CEGUIMultiLineEditbox.h. Referenced by renderTextLines(), and setInactiveSelectBrushColour(). |
|
true if the Window inherits alpha from the parent Window
Definition at line 2643 of file CEGUIWindow.h. Referenced by CEGUI::Window::setInheritsAlpha(), and CEGUI::Window::Window(). |
|
Definition at line 63 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Holds what we consider to be line break characters.
Referenced by formatText(), and onMouseTripleClicked(). |
|
Holds the lines for the current formatting.
Definition at line 735 of file CEGUIMultiLineEditbox.h. Referenced by configureScrollbars(), ensureCaratIsVisible(), formatText(), getLineNumberFromIndex(), getTextIndexFromPosition(), handleLineDown(), handleLineEnd(), handleLineHome(), handleLineUp(), onMouseTripleClicked(), and renderTextLines(). |
|
current maximum size for the window (this is always stored in pixels).
Definition at line 2634 of file CEGUIWindow.h. Referenced by CEGUI::Window::getMaximumSize(), CEGUI::Window::onParentSized(), CEGUI::Window::setMaximumSize(), CEGUI::Window::setPosition(), CEGUI::Window::setRect(), and CEGUI::Window::setSize(). |
|
Maximum number of characters for this Editbox.
Definition at line 725 of file CEGUIMultiLineEditbox.h. Referenced by setMaxTextLength(). |
|
Holds the active metrics mode for this window.
Definition at line 2619 of file CEGUIWindow.h. Referenced by CEGUI::Window::getMetricsMode(), CEGUI::Window::setMetricsMode(), and CEGUI::Window::Window(). |
|
Definition at line 64 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
current minimum size for the window (this is always stored in pixels).
Definition at line 2633 of file CEGUIWindow.h. Referenced by CEGUI::Window::getMinimumSize(), CEGUI::Window::onParentSized(), CEGUI::Window::setMinimumSize(), CEGUI::Window::setPosition(), CEGUI::Window::setRect(), and CEGUI::Window::setSize(). |
|
Holds pointer to the Window objects current mouse cursor image.
Definition at line 2629 of file CEGUIWindow.h. Referenced by CEGUI::Window::getMouseCursor(), CEGUI::Window::setMouseCursor(), and CEGUI::Window::Window(). |
|
Definition at line 65 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true if events for this EventSet have been muted.
Definition at line 210 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::setMutedState(). |
|
The name of the window (GUI system unique).
Definition at line 2756 of file CEGUIWindow.h. Referenced by CEGUI::Window::getChild(). |
|
Text colour used normally.
Definition at line 748 of file CEGUIMultiLineEditbox.h. Referenced by renderTextLines(), and setNormalTextColour(). |
|
The Window that previously had capture (used for restoreOldCapture mode).
Definition at line 2621 of file CEGUIWindow.h. Referenced by CEGUI::Window::captureInput(), CEGUI::Window::onCaptureLost(), and CEGUI::Window::releaseInput(). |
|
Holds pointer to the parent window.
Definition at line 2622 of file CEGUIWindow.h. Referenced by CEGUI::Window::getEffectiveAlpha(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getInnerRect(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentSize(), CEGUI::Window::getParentWidth(), CEGUI::Window::getPixelRect(), CEGUI::Window::isActive(), CEGUI::Window::isAncestor(), CEGUI::Window::isDisabled(), CEGUI::Window::isVisible(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront(), CEGUI::Window::onParentSized(), CEGUI::Window::onZChange_impl(), CEGUI::Window::setAlwaysOnTop(), CEGUI::Window::setParent(), CEGUI::Window::setPosition(), CEGUI::Window::setRect(), CEGUI::Window::setSize(), CEGUI::Window::Window(), CEGUI::Window::windowToScreen(), CEGUI::Window::windowToScreenX(), CEGUI::Window::windowToScreenY(), and CEGUI::Window::~Window(). |
|
Definition at line 66 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true if the edit box is in read-only mode
Definition at line 724 of file CEGUIMultiLineEditbox.h. Referenced by setReadOnly(). |
|
Definition at line 67 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
This Window objects area (decimal fractions relative to parent).
Definition at line 2628 of file CEGUIWindow.h. Referenced by CEGUI::Window::getHeight(), CEGUI::Window::getPosition(), CEGUI::Window::getSize(), CEGUI::Window::getWidth(), CEGUI::Window::getXPosition(), CEGUI::Window::getYPosition(), CEGUI::Window::onParentSized(), CEGUI::Window::setPosition(), CEGUI::Window::setRect(), CEGUI::Window::setSize(), and CEGUI::Window::Window(). |
|
Definition at line 68 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 69 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 70 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 71 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 72 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 73 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 74 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 75 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 76 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Button we're tracking (implication of this is that we only support one button at a time).
Definition at line 2654 of file CEGUIWindow.h. Referenced by CEGUI::Window::onCaptureLost(), CEGUI::Window::onMouseButtonDown(), CEGUI::Window::onMouseButtonUp(), CEGUI::Window::setMouseAutoRepeatEnabled(), CEGUI::Window::updateSelf(), and CEGUI::Window::Window(). |
|
seconds before first repeat event is fired
Definition at line 2650 of file CEGUIWindow.h. Referenced by CEGUI::Window::setAutoRepeatDelay(), and CEGUI::Window::Window(). |
|
implements repeating - tracks time elapsed.
Definition at line 2653 of file CEGUIWindow.h. Referenced by CEGUI::Window::onMouseButtonDown(), and CEGUI::Window::updateSelf(). |
|
implements repeating - is true after delay has elapsed,
Definition at line 2652 of file CEGUIWindow.h. Referenced by CEGUI::Window::onMouseButtonDown(), CEGUI::Window::updateSelf(), and CEGUI::Window::Window(). |
|
secons between further repeats after delay has expired.
Definition at line 2651 of file CEGUIWindow.h. Referenced by CEGUI::Window::setAutoRepeatRate(), and CEGUI::Window::Window(). |
|
true if the Window restores capture to the previous window when it releases capture.
Definition at line 2644 of file CEGUIWindow.h. Referenced by CEGUI::Window::onCaptureLost(), CEGUI::Window::setRestoreCapture(), and CEGUI::Window::Window(). |
|
Definition at line 77 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Colour to apply to the selection brush.
Definition at line 750 of file CEGUIMultiLineEditbox.h. Referenced by renderTextLines(), and setNormalSelectBrushColour(). |
|
Image to use as the selection brush (should be set by derived class).
Definition at line 745 of file CEGUIMultiLineEditbox.h. Referenced by renderTextLines(). |
|
End of selection area.
Definition at line 728 of file CEGUIMultiLineEditbox.h. Referenced by getSelectionEndIndex(), getSelectionLength(), renderTextLines(), and setSelection(). |
|
Start of selection area.
Definition at line 727 of file CEGUIMultiLineEditbox.h. Referenced by getSelectionEndIndex(), getSelectionStartIndex(), renderTextLines(), and setSelection(). |
|
Text colour used when text is highlighted.
Definition at line 749 of file CEGUIMultiLineEditbox.h. Referenced by renderTextLines(), and setSelectedTextColour(). |
|
Definition at line 78 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Holds the text / label / caption for this Window.
Definition at line 2624 of file CEGUIWindow.h. Referenced by CEGUI::Window::setText(). |
|
Definition at line 79 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
String holding the type name for the Window (is also the name of the WindowFactory that created us).
Definition at line 2755 of file CEGUIWindow.h. |
|
Holds pointer to some user assigned data.
Definition at line 2630 of file CEGUIWindow.h. Referenced by CEGUI::Window::Window(). |
|
Points to the vertical scroll bar widget.
Definition at line 739 of file CEGUIMultiLineEditbox.h. Referenced by configureScrollbars(), drawSelf(), ensureCaratIsVisible(), getTextIndexFromPosition(), initialise(), and onMouseWheel(). |
|
true when Window is visible (that is it will be rendered, but may be obscured so no necesarily really visible)
Definition at line 2638 of file CEGUIWindow.h. Referenced by CEGUI::Window::isVisible(), CEGUI::Window::setVisible(), and CEGUI::Window::Window(). |
|
Definition at line 80 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true if the Window wishes to hear about multi-click mouse events.
Definition at line 2646 of file CEGUIWindow.h. Referenced by CEGUI::Window::setWantsMultiClickEvents(), and CEGUI::Window::Window(). |
|
Definition at line 85 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Holds the extent of the widest line as calculated in the last formatting pass.
Definition at line 736 of file CEGUIMultiLineEditbox.h. Referenced by formatText(). |
|
Definition at line 81 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true when formatting uses word-wrapping.
Definition at line 734 of file CEGUIMultiLineEditbox.h. Referenced by formatText(), and setWordWrapping(). |
|
Definition at line 82 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 83 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
Definition at line 84 of file CEGUIWindow.cpp. Referenced by CEGUI::Window::addStandardProperties(). |
|
true if the Window responds to z-order change requests.
Definition at line 2645 of file CEGUIWindow.h. Referenced by CEGUI::Window::setZOrderingEnabled(), and CEGUI::Window::Window(). |
|
Colour applied to selection brush when widget is inactive.
Definition at line 76 of file CEGUIMultiLineEditbox.cpp. |
|
Colour applied to normal selection brush.
Definition at line 75 of file CEGUIMultiLineEditbox.cpp. |
|
Colour applied to normal unselected text.
Definition at line 73 of file CEGUIMultiLineEditbox.cpp. |
|
Colour applied to selected text.
Definition at line 74 of file CEGUIMultiLineEditbox.cpp. |
|
Window has been activated (has input focus).
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onActivated(). |
|
Alpha blend value for the Window has changed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onAlphaChanged(). |
|
Always on top mode has been modified.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onAlwaysOnTopChanged(). |
|
The text carat (insert point) has changed.
Referenced by addMultiLineEditboxEvents(), and onCaratMoved(). |
|
A text character was typed on the keyboard.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onCharacter(). |
|
A child Window has been added.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onChildAdded(). |
|
A child window has been removed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onChildRemoved(). |
|
Clipping by parent mode has been modified.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onClippingChanged(). |
|
Window has been deactivated (loses input focus).
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDeactivated(). |
|
Destruction by parent mode has been modified.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onParentDestroyChanged(). |
|
Destruction of the Window is about to begin.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDestructionStarted(). |
|
Window has been disabled (interaction is no longer possible).
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDisabled(). |
|
The number of characters in the edit box has reached the current maximum.
Referenced by addMultiLineEditboxEvents(), and onEditboxFullEvent(). |
|
Window has been enabled (interaction is possible).
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onEnabled(). |
|
Font object for the Window has been changed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onFontChanged(). |
|
Window has been hidden from view.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onHidden(). |
|
Event triggered when the horizontal scroll bar 'force' setting changes.
Referenced by addMultiLineEditboxEvents(), and onHorzScrollbarModeChanged(). |
|
Client assigned ID code for the Window has changed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onIDChanged(). |
|
Alpha inherited from parent mode has been modified.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onInheritsAlphaChanged(). |
|
Window has captured all inputs.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onCaptureGained(). |
|
Window has lost it's capture on inputs.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onCaptureLost(). |
|
A key on the keyboard was pressed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onKeyDown(). |
|
A key on the keyboard was released.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onKeyUp(). |
|
The maximum allowable string length has been changed.
Referenced by addMultiLineEditboxEvents(), and onMaximumTextLengthChanged(). |
|
Active metrics mode has been modified.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMetricsChanged(). |
|
A mouse button was pressed down within the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseButtonDown(). |
|
A mouse button was released within the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseButtonUp(). |
|
A mouse button was clicked (down then up) within the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseClicked(). |
|
A mouse button was double-clicked within the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseDoubleClicked(). |
|
Mouse cursor has entered the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseEnters(). |
|
Mouse cursor has left the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseLeaves(). |
|
Mouse cursor was moved within the area of the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseMove(). |
|
A mouse button was triple-clicked within the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseTripleClicked(). |
|
Mouse wheel was scrolled within the Window.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseWheel(). |
|
Window position has changed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMoved(). |
|
Namespace for global events.
Reimplemented from CEGUI::Window. Referenced by onCaratMoved(), onEditboxFullEvent(), onHorzScrollbarModeChanged(), onMaximumTextLengthChanged(), onReadOnlyChanged(), onTextSelectionChanged(), onVertScrollbarModeChanged(), and onWordWrapModeChanged(). |
|
Parent of this Window has been re-sized.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onParentSized(). |
|
The read-only mode for the edit box has been changed.
Referenced by addMultiLineEditboxEvents(), and onReadOnlyChanged(). |
|
Rendering for the Window has finished.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onRenderingEnded(). |
|
Rendering of the Window has started.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onRenderingStarted(). |
|
Window has been made visible.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onShown(). |
|
Window size has changed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onSized(). |
|
Text string for the Window has changed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onTextChanged(). |
|
The current text selection has changed.
Referenced by addMultiLineEditboxEvents(), and onTextSelectionChanged(). |
|
Event triggered when the vertical scroll bar 'force' setting changes.
Referenced by addMultiLineEditboxEvents(), and onVertScrollbarModeChanged(). |
|
The word wrap mode of the text box has been changed.
Referenced by addMultiLineEditboxEvents(), and onWordWrapModeChanged(). |
|
The z-order of the window has changed.
Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onZChanged(). |