#include <CEGUIWindow.h>
Inheritance diagram for CEGUI::Window:
Public Types | |
typedef ConstBaseIterator< PropertyRegistry > | PropertyIterator |
typedef ConstBaseIterator< EventMap > | EventIterator |
Public Member Functions | |
Window (const String &type, const String &name) | |
Constructor for Window base class. | |
virtual | ~Window (void) |
Destructor for Window 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 (bool localOnly=false) const |
return true if the Window is currently disabled | |
bool | isVisible (bool localOnly=false) 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 (bool useDefault=true) 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. | |
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 | getYPosition (void) const |
return the y position of the window. Interpretation of return value depends upon the metric type in use by this window. | |
Point | getPosition (void) const |
return the position of the window. Interpretation of return value depends upon the metric type in use by this window. | |
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 | getHeight (void) const |
return the height of the Window. Interpretation of return value depends upon the metric type in use by this window. | |
Size | getSize (void) const |
return the size of the Window. Interpretation of return value depends upon the metric type in use by this window. | |
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 (bool useDefault=true) 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. | |
float | getXPosition (MetricsMode mode) const |
return the x position of the window using the specified metrics system. | |
float | getYPosition (MetricsMode mode) const |
return the y position of the window using the specified metrics system. | |
Point | getPosition (MetricsMode mode) const |
return the position of the window using the specified metrics system. | |
float | getWidth (MetricsMode mode) const |
return the width of the Window using the specified metrics system. | |
float | getHeight (MetricsMode mode) const |
return the height of the Window using the specified metrics system. | |
Size | getSize (MetricsMode mode) const |
return the size of the Window using the specified metrics system. | |
Rect | getRect (MetricsMode mode) const |
return a Rect object that describes the Window area using the specified metrics system. | |
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. | |
bool | distributesCapturedInputs (void) const |
Return whether the window wants inputs passed to its attached child windows when the window has inputs captured. | |
bool | isUsingDefaultTooltip (void) const |
Return whether this Window is using the system default Tooltip for its Tooltip window. | |
Tooltip * | getTooltip (void) const |
Return a pointer to the Tooltip object used by this Window. The value returned may point to the system default Tooltip, a custom Window specific Tooltip, or be NULL. | |
String | getTooltipType (void) const |
Return the custom tooltip type. | |
const String & | getTooltipText (void) const |
Return the current tooltip text set for this Window. | |
bool | inheritsTooltipText (void) const |
Return whether this window inherits Tooltip text from its parent when its own tooltip text is not set. | |
bool | isRiseOnClickEnabled (void) const |
Return whether this window will rise to the top of the z-order when clicked with the left mouse button. | |
bool | testClassName (const String &class_name) const |
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy. | |
VerticalAlignment | getVerticalAlignment () const |
Get the vertical alignment. | |
HorizontalAlignment | getHorizontalAlignment () const |
Get the horizontal alignment. | |
RenderCache & | getRenderCache () |
Return the RenderCache object for this Window. | |
const String & | getLookNFeel () |
Get the name of the LookNFeel assigned to this window. | |
bool | getModalState (void) const |
Get whether or not this Window is the modal target. | |
const String & | getUserString (const String &name) const |
Returns a named user string. | |
bool | isUserStringDefined (const String &name) const |
Return whether a user string with the specified name exists. | |
Window * | getActiveSibling () |
Returns the active sibling window. | |
virtual void | initialise (void) |
Initialises the Window based object ready for use. | |
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 | 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 | 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 | 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 | 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 | 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 | 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 | setXPosition (MetricsMode mode, float x) |
set the x position of the window using the specified metrics system. | |
void | setYPosition (MetricsMode mode, float y) |
set the y position of the window using the specified metrics system. | |
void | setPosition (MetricsMode mode, const Point &position) |
set the position of the window using the specified metrics system. | |
void | setWidth (MetricsMode mode, float width) |
set the width of the Window using the specified metrics system. | |
void | setHeight (MetricsMode mode, float height) |
set the height of the Window using the specified metrics system. | |
void | setSize (MetricsMode mode, const Size &size) |
set the size of the Window using the specified metrics system. | |
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. | |
void | setDistributesCapturedInputs (bool setting) |
Set whether the window wants inputs passed to its attached child windows when the window has inputs captured. | |
void | notifyDragDropItemEnters (DragContainer *item) |
Internal support method for drag & drop. You do not normally call this directly from client code. See the DragContainer class. | |
void | notifyDragDropItemLeaves (DragContainer *item) |
Internal support method for drag & drop. You do not normally call this directly from client code. See the DragContainer class. | |
void | notifyDragDropItemDropped (DragContainer *item) |
Internal support method for drag & drop. You do not normally call this directly from client code. See the DragContainer class. | |
virtual void | destroy (void) |
Internal destroy method which actually just adds the window and any parent destructed child windows to the dead pool. | |
void | setTooltip (Tooltip *tooltip) |
Set the custom Tooltip object for this Window. This value may be NULL to indicate that the Window should use the system default Tooltip object. | |
void | setTooltipType (const String &tooltipType) |
Set the custom Tooltip to be used by this Window by specifying a Window type. | |
void | setTooltipText (const String &tip) |
Set the tooltip text for this window. | |
void | setInheritsTooltipText (bool setting) |
Set whether this window inherits Tooltip text from its parent when its own tooltip text is not set. | |
void | setRiseOnClickEnabled (bool setting) |
Set whether this window will rise to the top of the z-order when clicked with the left mouse button. | |
void | setVerticalAlignment (const VerticalAlignment alignment) |
Set the vertical alignment. | |
void | setHorizontalAlignment (const HorizontalAlignment alignment) |
Set the horizontal alignment. | |
void | setLookNFeel (const String &falagardType, const String &look) |
Set the LookNFeel that shoule be used for this window. | |
void | setModalState (bool state) |
Set the modal state for this Window. | |
virtual void | performChildWindowLayout () |
method called to perform extended laying out of attached child windows. | |
void | setUserString (const String &name, const String &value) |
Sets the value a named user string, creating it as required. | |
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. | |
float | unifiedToRelativeX (const UDim &val) const |
Convert the given X co-ordinate from unified to relative metrics. | |
float | unifiedToRelativeY (const UDim &val) const |
Convert the given Y co-ordinate from unified to relative metrics. | |
Vector2 | unifiedToRelative (const UVector2 &val) const |
Convert the given UVector2 value from unified to relative metrics. | |
Rect | unifiedToRelative (const URect &val) const |
Convert the given area from unfied to relative metrics. | |
float | unifiedToAbsoluteX (const UDim &val) const |
Convert the given X co-ordinate from unified to absolute metrics. | |
float | unifiedToAbsoluteY (const UDim &val) const |
Convert the given Y co-ordinate from unified to absolute metrics. | |
Vector2 | unifiedToAbsolute (const UVector2 &val) const |
Convert the given UVector2 value from unified to absolute metrics. | |
Rect | unifiedToAbsolute (const URect &val) const |
Convert the given area from unfied to absolute metrics. | |
float | windowToScreenX (const UDim &x) const |
Convert a window co-ordinate value, specified as a UDim, to a screen relative pixel co-ordinate. | |
float | windowToScreenY (const UDim &y) const |
Convert a window co-ordinate value, specified as a UDim, to a screen relative pixel co-ordinate. | |
Vector2 | windowToScreen (const UVector2 &vec) const |
Convert a window co-ordinate point, specified as a UVector2, to a screen relative pixel co-ordinate point. | |
Rect | windowToScreen (const URect &rect) const |
Convert a window area, specified as a URect, to a screen area. | |
float | screenToWindowX (const UDim &x) const |
Convert a screen relative UDim co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active. | |
float | screenToWindowY (const UDim &y) const |
Convert a screen relative UDim co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active. | |
Vector2 | screenToWindow (const UVector2 &vec) const |
Convert a screen relative UVector2 point to a window co-ordinate point, specified in whichever metrics mode is active. | |
Rect | screenToWindow (const URect &rect) const |
Convert a URect screen area to a window area, specified in whichever metrics mode is active. | |
void | setWindowArea (const UDim &xpos, const UDim &ypos, const UDim &width, const UDim &height) |
Set the window area. | |
void | setWindowArea (const UVector2 &pos, const UVector2 &size) |
Set the window area. | |
void | setWindowArea (const URect &area) |
Set the window area. | |
void | setWindowPosition (const UVector2 &pos) |
Set the window's position. | |
void | setWindowXPosition (const UDim &x) |
Set the window's X position. | |
void | setWindowYPosition (const UDim &y) |
Set the window's Y position. | |
void | setWindowSize (const UVector2 &size) |
Set the window's size. | |
void | setWindowWidth (const UDim &width) |
Set the window's width. | |
void | setWindowHeight (const UDim &height) |
Set the window's height. | |
void | setWindowMaxSize (const UVector2 &size) |
Set the window's maximum size. | |
void | setWindowMinSize (const UVector2 &size) |
Set the window's minimum size. | |
const URect & | getWindowArea () const |
Return the windows area. | |
const UVector2 & | getWindowPosition () const |
Get the window's position. | |
const UDim & | getWindowXPosition () const |
Get the window's X position. | |
const UDim & | getWindowYPosition () const |
Get the window's Y position. | |
UVector2 | getWindowSize () const |
Get the window's size. | |
UDim | getWindowWidth () const |
Get the window's width. | |
UDim | getWindowHeight () const |
Get the window's height. | |
const UVector2 & | getWindowMaxSize () const |
Get the window's maximum size. | |
const UVector2 & | getWindowMinSize () const |
Get the window's minimum size. | |
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. | |
virtual void | writeXMLToStream (OutStream &out_stream) const |
Writes an xml representation of this window object to out_stream. | |
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. | |
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 named Event. | |
virtual Event::Connection | subscribeEvent (const String &name, Event::Group group, Event::Subscriber subscriber) |
Subscribes the specified group of the named Event. | |
virtual Event::Connection | subscribeScriptedEvent (const String &name, const String &subscriber_name) |
Subscribes the named Event to a scripted funtion. | |
virtual Event::Connection | subscribeScriptedEvent (const String &name, Event::Group group, const String &subscriber_name) |
Subscribes the specified group of the named Event to a scripted funtion. | |
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. | |
EventIterator | getIterator (void) const |
Return a EventSet::EventIterator object to iterate over the available events. | |
Static Public Member Functions | |
static Window * | getCaptureWindow (void) |
return the Window that currently has inputs captured. | |
Static Public Attributes | |
static const String | EventNamespace |
Namespace for global events. | |
static const String | EventParentSized |
Parent of this Window has been re-sized. | |
static const String | EventSized |
Window size has changed. | |
static const String | EventMoved |
Window position has changed. | |
static const String | EventTextChanged |
Text string for the Window has changed. | |
static const String | EventFontChanged |
Font object for the Window has been changed. | |
static const String | EventAlphaChanged |
Alpha blend value for the Window has changed. | |
static const String | EventIDChanged |
Client assigned ID code for the Window has changed. | |
static const String | EventActivated |
Window has been activated (has input focus). | |
static const String | EventDeactivated |
Window has been deactivated (loses input focus). | |
static const String | EventShown |
Window has been made visible. | |
static const String | EventHidden |
Window has been hidden from view. | |
static const String | EventEnabled |
Window has been enabled (interaction is possible). | |
static const String | EventDisabled |
Window has been disabled (interaction is no longer possible). | |
static const String | EventMetricsModeChanged |
Active metrics mode has been modified. | |
static const String | EventClippedByParentChanged |
Clipping by parent mode has been modified. | |
static const String | EventDestroyedByParentChanged |
Destruction by parent mode has been modified. | |
static const String | EventInheritsAlphaChanged |
Alpha inherited from parent mode has been modified. | |
static const String | EventAlwaysOnTopChanged |
Always on top mode has been modified. | |
static const String | EventInputCaptureGained |
Window has captured all inputs. | |
static const String | EventInputCaptureLost |
Window has lost it's capture on inputs. | |
static const String | EventRenderingStarted |
Rendering of the Window has started. | |
static const String | EventRenderingEnded |
Rendering for the Window has finished. | |
static const String | EventChildAdded |
A child Window has been added. | |
static const String | EventChildRemoved |
A child window has been removed. | |
static const String | EventDestructionStarted |
Destruction of the Window is about to begin. | |
static const String | EventZOrderChanged |
The z-order of the window has changed. | |
static const String | EventDragDropItemEnters |
A DragContainer has been dragged over this window. | |
static const String | EventDragDropItemLeaves |
A DragContainer has left this window. | |
static const String | EventDragDropItemDropped |
A DragContainer was dropped on this Window. | |
static const String | EventVerticalAlignmentChanged |
The vertical alignment of the window has changed. | |
static const String | EventHorizontalAlignmentChanged |
The vertical alignment of the window has changed. | |
static const String | EventMouseEnters |
Mouse cursor has entered the Window. | |
static const String | EventMouseLeaves |
Mouse cursor has left the Window. | |
static const String | EventMouseMove |
Mouse cursor was moved within the area of the Window. | |
static const String | EventMouseWheel |
Mouse wheel was scrolled within the Window. | |
static const String | EventMouseButtonDown |
A mouse button was pressed down within the Window. | |
static const String | EventMouseButtonUp |
A mouse button was released within the Window. | |
static const String | EventMouseClick |
A mouse button was clicked (down then up) within the Window. | |
static const String | EventMouseDoubleClick |
A mouse button was double-clicked within the Window. | |
static const String | EventMouseTripleClick |
A mouse button was triple-clicked within the Window. | |
static const String | EventKeyDown |
A key on the keyboard was pressed. | |
static const String | EventKeyUp |
A key on the keyboard was released. | |
static const String | EventCharacterKey |
A text character was typed on the keyboard. | |
Protected Types | |
typedef std::vector< Window * > | ChildList |
typedef std::map< String, String > | UserStringMap |
typedef std::map< String, Event * > | EventMap |
Protected Member Functions | |
virtual void | onSized (WindowEventArgs &e) |
Handler called when the window's size changes. | |
virtual void | onMoved (WindowEventArgs &e) |
Handler called when the window's position changes. | |
virtual void | onTextChanged (WindowEventArgs &e) |
Handler called when the window's text is changed. | |
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 | onCaptureLost (WindowEventArgs &e) |
Handler called when this window loses 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 | onMouseMove (MouseEventArgs &e) |
Handler called when the mouse cursor has been moved within this window's area. | |
virtual void | onMouseWheel (MouseEventArgs &e) |
Handler called when the mouse wheel (z-axis) position changes within this window's area. | |
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 | 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 | 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 | onKeyDown (KeyEventArgs &e) |
Handler called when a key as been depressed while this window has input focus. | |
virtual void | onKeyUp (KeyEventArgs &e) |
Handler called when a key as been released while this window has input focus. | |
virtual void | onCharacter (KeyEventArgs &e) |
Handler called when a character-key has been pressed while this window has input focus. | |
virtual void | onDragDropItemEnters (DragDropEventArgs &e) |
Handler called when a DragContainer is dragged over this window. | |
virtual void | onDragDropItemLeaves (DragDropEventArgs &e) |
Handler called when a DragContainer is dragged over this window. | |
virtual void | onDragDropItemDropped (DragDropEventArgs &e) |
Handler called when a DragContainer is dragged over this window. | |
virtual void | onVerticalAlignmentChanged (WindowEventArgs &e) |
Handler called when the vertical alignment setting for the window is changed. | |
virtual void | onHorizontalAlignmentChanged (WindowEventArgs &e) |
Handler called when the horizontal alignment setting for the window is changed. | |
virtual void | updateSelf (float elapsed) |
Perform actual update processing for this Window. | |
virtual void | drawSelf (float z) |
Perform the actual rendering for this Window. | |
virtual void | populateRenderCache () |
Update the rendering cache. | |
virtual bool | testClassName_impl (const String &class_name) const |
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy. | |
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. | |
virtual void | moveToFront_impl (bool wasClicked) |
Implements move to fron behavior. | |
void | doRiseOnClick (void) |
Implementation of rise on click functionality. | |
void | setWindowArea_impl (const UVector2 &pos, const UVector2 &size, bool topLeftSizing=false, bool fireEvents=true) |
Implementation method to modify window area while correctly applying min / max size processing, and firing any appropriate events. | |
void | addWindowToDrawList (Window &wnd, bool at_back=false) |
Add the given window to the drawing list at an appropriate position for it's settings and the required direction. Basically, when at_back is false, the window will appear in front of all other windows with the same 'always on top' setting. When at_back is true, the window will appear behind all other windows wih the same 'always on top' setting. | |
void | removeWindowFromDrawList (const Window &wnd) |
Removes the window from the drawing list. If the window is not attached to the drawing list then nothing happens. | |
virtual int | writePropertiesXML (OutStream &out_stream) const |
virtual int | writeChildWindowsXML (OutStream &out_stream) const |
Window (const Window &wnd) | |
Window & | operator= (const Window &wnd) |
Protected Attributes | |
ChildList | d_children |
The list of child Window objects attached to this. | |
ChildList | d_drawList |
Child window objects arranged in rendering order. | |
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. | |
URect | d_area |
This Window objects area as defined by a URect. | |
Size | d_pixelSize |
Current constrained pixel size of the window. | |
const Image * | d_mouseCursor |
Holds pointer to the Window objects current mouse cursor image. | |
void * | d_userData |
Holds pointer to some user assigned data. | |
UserStringMap | d_userStrings |
Holds a collection of named user string values. | |
HorizontalAlignment | d_horzAlign |
Specifies the base for horizontal alignment. | |
VerticalAlignment | d_vertAlign |
Specifies the base for vertical alignment. | |
UVector2 | d_minSize |
current minimum size for the window. | |
UVector2 | d_maxSize |
current maximum size for the window. | |
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_distCapturedInputs |
true if unhandled captured inputs should be distributed to child windows. | |
bool | d_riseOnClick |
True if the window should come to the front of the z order in respose to a left mouse button down event. | |
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). | |
String | d_tooltipText |
Text string used as tip for this window. | |
Tooltip * | d_customTip |
Possible custom Tooltip for this window. | |
bool | d_weOwnTip |
true if this Window created the custom Tooltip. | |
bool | d_inheritsTipText |
true if the Window inherits tooltip text from its parent (when none set for itself). | |
RenderCache | d_renderCache |
Object which acts as a cache for Images to be drawn by this Window. | |
bool | d_needsRedraw |
true if window image cache needs to be regenerated. | |
String | d_lookName |
Name of the Look assigned to this window (if any). | |
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). | |
String | d_falagardType |
Type name of the window as defined in a Falagard mapping. | |
EventMap | d_events |
bool | d_muted |
true if events for this EventSet have been muted. | |
Static Protected Attributes | |
static Window * | d_captureWindow = NULL |
Window that has captured inputs. | |
static WindowProperties::AbsoluteHeight | d_absHeightProperty |
static WindowProperties::AbsoluteMaxSize | d_absMaxSizeProperty |
static WindowProperties::AbsoluteMinSize | d_absMinSizeProperty |
static WindowProperties::AbsolutePosition | d_absPositionProperty |
static WindowProperties::AbsoluteRect | d_absRectProperty |
static WindowProperties::AbsoluteSize | d_absSizeProperty |
static WindowProperties::AbsoluteWidth | d_absWidthProperty |
static WindowProperties::AbsoluteXPosition | d_absXPosProperty |
static WindowProperties::AbsoluteYPosition | d_absYPosProperty |
static WindowProperties::Alpha | d_alphaProperty |
static WindowProperties::AlwaysOnTop | d_alwaysOnTopProperty |
static WindowProperties::ClippedByParent | d_clippedByParentProperty |
static WindowProperties::DestroyedByParent | d_destroyedByParentProperty |
static WindowProperties::Disabled | d_disabledProperty |
static WindowProperties::Font | d_fontProperty |
static WindowProperties::Height | d_heightProperty |
static WindowProperties::ID | d_IDProperty |
static WindowProperties::InheritsAlpha | d_inheritsAlphaProperty |
static WindowProperties::MetricsMode | d_metricsModeProperty |
static WindowProperties::MouseCursorImage | d_mouseCursorProperty |
static WindowProperties::Position | d_positionProperty |
static WindowProperties::Rect | d_rectProperty |
static WindowProperties::RelativeHeight | d_relHeightProperty |
static WindowProperties::RelativeMaxSize | d_relMaxSizeProperty |
static WindowProperties::RelativeMinSize | d_relMinSizeProperty |
static WindowProperties::RelativePosition | d_relPositionProperty |
static WindowProperties::RelativeRect | d_relRectProperty |
static WindowProperties::RelativeSize | d_relSizeProperty |
static WindowProperties::RelativeWidth | d_relWidthProperty |
static WindowProperties::RelativeXPosition | d_relXPosProperty |
static WindowProperties::RelativeYPosition | d_relYPosProperty |
static WindowProperties::RestoreOldCapture | d_restoreOldCaptureProperty |
static WindowProperties::Size | d_sizeProperty |
static WindowProperties::Text | d_textProperty |
static WindowProperties::Visible | d_visibleProperty |
static WindowProperties::Width | d_widthProperty |
static WindowProperties::XPosition | d_xPosProperty |
static WindowProperties::YPosition | d_yPosProperty |
static WindowProperties::ZOrderChangeEnabled | d_zOrderChangeProperty |
static WindowProperties::WantsMultiClickEvents | d_wantsMultiClicksProperty |
static WindowProperties::MouseButtonDownAutoRepeat | d_autoRepeatProperty |
static WindowProperties::AutoRepeatDelay | d_autoRepeatDelayProperty |
static WindowProperties::AutoRepeatRate | d_autoRepeatRateProperty |
static WindowProperties::DistributeCapturedInputs | d_distInputsProperty |
static WindowProperties::CustomTooltipType | d_tooltipTypeProperty |
static WindowProperties::Tooltip | d_tooltipProperty |
static WindowProperties::InheritsTooltipText | d_inheritsTooltipProperty |
static WindowProperties::RiseOnClick | d_riseOnClickProperty |
static WindowProperties::VerticalAlignment | d_vertAlignProperty |
static WindowProperties::HorizontalAlignment | d_horzAlignProperty |
static WindowProperties::UnifiedAreaRect | d_unifiedAreaRectProperty |
static WindowProperties::UnifiedPosition | d_unifiedPositionProperty |
static WindowProperties::UnifiedXPosition | d_unifiedXPositionProperty |
static WindowProperties::UnifiedYPosition | d_unifiedYPositionProperty |
static WindowProperties::UnifiedSize | d_unifiedSizeProperty |
static WindowProperties::UnifiedWidth | d_unifiedWidthProperty |
static WindowProperties::UnifiedHeight | d_unifiedHeightProperty |
static WindowProperties::UnifiedMinSize | d_unifiedMinSizeProperty |
static WindowProperties::UnifiedMaxSize | d_unifiedMaxSizeProperty |
Friends | |
class | System |
The Window base class is the only UI object class that the core of the system knows about, for this reason every other window, widget, or similar item within the system must be derived from Window. The base class provides the common functionality required by all UI objects, and specifies the minimal interface required to be implemented by derived classes.
Definition at line 100 of file CEGUIWindow.h.
|
Definition at line 3680 of file CEGUIWindow.h. |
|
Definition at line 255 of file CEGUIEventSet.h. |
|
Definition at line 246 of file CEGUIEventSet.h. |
|
Definition at line 201 of file CEGUIPropertySet.h. |
|
Definition at line 3698 of file CEGUIWindow.h. |
|
Constructor for Window base class.
Definition at line 166 of file CEGUIWindow.cpp. References addStandardEvents(), addStandardProperties(), cegui_reldim, d_active, d_alpha, d_alwaysOnTop, d_area, d_autoRepeat, d_clippedByParent, d_customTip, d_destroyedByParent, d_distCapturedInputs, d_enabled, d_font, d_horzAlign, d_ID, d_inheritsAlpha, d_inheritsTipText, d_maxSize, d_metricsMode, d_minSize, d_mouseCursor, d_needsRedraw, d_parent, d_pixelSize, d_repeatButton, d_repeatDelay, d_repeating, d_repeatRate, d_restoreOldCapture, d_riseOnClick, d_userData, d_vertAlign, d_visible, d_wantsMultiClicks, d_weOwnTip, d_zOrderingEnabled, CEGUI::DefaultMouseCursor, CEGUI::HA_LEFT, CEGUI::NoButton, CEGUI::Relative, and CEGUI::VA_TOP. |
|
Destructor for Window base class.
Definition at line 228 of file CEGUIWindow.cpp. |
|
Definition at line 3931 of file CEGUIWindow.h. |
|
Convert the given area from absolute to relative metrics.
Definition at line 1307 of file CEGUIWindow.cpp. References absoluteToRelative_impl(). |
|
Convert the given size from absolute to relative metrics.
Definition at line 1298 of file CEGUIWindow.cpp. References absoluteToRelative_impl(). |
|
Convert the given position from absolute to relative metrics.
Definition at line 1289 of file CEGUIWindow.cpp. References absoluteToRelative_impl(). |
|
Definition at line 2172 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getWindowSize_impl(), and PixelAligned. |
|
Definition at line 2140 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, getWindowSize_impl(), and PixelAligned. |
|
Return a Rect object that describes, in values relative to window, the absolute area described by rect.
Definition at line 2106 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, getWindowSize_impl(), and PixelAligned. Referenced by absoluteToRelative(), CEGUI::ListHeader::createInitialisedSegment(), and CEGUI::Thumb::onMouseMove(). |
|
Convert the given X co-ordinate from absolute to relative metrics.
Definition at line 1271 of file CEGUIWindow.cpp. References 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 2204 of file CEGUIWindow.cpp. References CEGUI::Size::d_width, getWindowSize_impl(), and PixelAligned. Referenced by absoluteToRelativeX(). |
|
Convert the given Y co-ordinate from absolute to relative metrics.
Definition at line 1280 of file CEGUIWindow.cpp. References absoluteToRelativeY_impl(). Referenced by CEGUI::TabControlProperties::RelativeTabTextPadding::getDefault(), CEGUI::TabControl::setAbsoluteTabHeight(), and CEGUI::TabControl::setAbsoluteTabTextPadding(). |
|
Definition at line 2223 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, getWindowSize_impl(), and PixelAligned. Referenced by absoluteToRelativeY(). |
|
Activate the Window giving it input focus and bringing it to the top of all non always-on-top Windows.
Definition at line 804 of file CEGUIWindow.cpp. References d_captureWindow, moveToFront(), and onCaptureLost(). Referenced by CEGUI::Combobox::activateEditbox(), CEGUI::Combobox::droplist_SelectionAcceptedHandler(), CEGUI::Spinner::onActivated(), setModalState(), and CEGUI::Combobox::showDropList(). |
|
Add given window to child list at an appropriate position.
Reimplemented in CEGUI::ScrollablePane, and CEGUI::TabControl. Definition at line 2032 of file CEGUIWindow.cpp. References addWindowToDrawList(), d_children, getParent(), onParentSized(), removeChildWindow(), and setParent(). Referenced by CEGUI::TabControl::addChild_impl(), CEGUI::ScrollablePane::addChild_impl(), addChildWindow(), and 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 979 of file CEGUIWindow.cpp. References addChild_impl(), onChildAdded(), and onZChange_impl(). |
|
|
Add a new Event to the EventSet with the given name.
Definition at line 55 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::DragContainer::addDragContainerEvents(), CEGUI::Editbox::addEditboxEvents(), CEGUI::FrameWindow::addFrameWindowEvents(), CEGUI::ListHeaderSegment::addHeaderSegmentEvents(), CEGUI::ItemListBase::addItemListBaseEvents(), CEGUI::Listbox::addListboxEvents(), CEGUI::ListHeader::addListHeaderEvents(), CEGUI::MenuBase::addMenuBaseEvents(), CEGUI::MenuItem::addMenuItemEvents(), CEGUI::MouseCursor::addMouseCursorEvents(), CEGUI::MultiColumnList::addMultiColumnListboxEvents(), CEGUI::MultiLineEditbox::addMultiLineEditboxEvents(), CEGUI::ProgressBar::addProgressBarEvents(), CEGUI::PushButton::addPushButtonEvents(), CEGUI::RadioButton::addRadioButtonEvents(), CEGUI::ScrollablePane::addScrollablePaneEvents(), CEGUI::Scrollbar::addScrollbarEvents(), CEGUI::ScrolledContainer::addScrolledContainerEvents(), CEGUI::Slider::addSliderEvents(), CEGUI::Spinner::addSpinnerEvents(), addStandardEvents(), CEGUI::TabButton::addTabButtonEvents(), CEGUI::TabControl::addTabControlEvents(), CEGUI::Thumb::addThumbEvents(), CEGUI::Tooltip::addTooltipEvents(), CEGUI::Renderer::Renderer(), and CEGUI::GlobalEventSet::subscribeEvent(). |
|
Adds a new Property to the PropertySet.
Definition at line 37 of file CEGUIPropertySet.cpp. References CEGUI::Property::getName(). Referenced by addStandardProperties(), CEGUI::TabControl::addTabControlProperties(), and CEGUI::WidgetLookFeel::initialiseWidget(). |
|
Add standard CEGUI::Window events.
Definition at line 1983 of file CEGUIWindow.cpp. References CEGUI::EventSet::addEvent(), EventActivated, EventAlphaChanged, EventAlwaysOnTopChanged, EventCharacterKey, EventChildAdded, EventChildRemoved, EventClippedByParentChanged, EventDeactivated, EventDestroyedByParentChanged, EventDestructionStarted, EventDisabled, EventDragDropItemDropped, EventDragDropItemEnters, EventDragDropItemLeaves, EventEnabled, EventFontChanged, EventHidden, EventHorizontalAlignmentChanged, EventIDChanged, EventInheritsAlphaChanged, EventInputCaptureGained, EventInputCaptureLost, EventKeyDown, EventKeyUp, EventMetricsModeChanged, EventMouseButtonDown, EventMouseButtonUp, EventMouseClick, EventMouseDoubleClick, EventMouseEnters, EventMouseLeaves, EventMouseMove, EventMouseTripleClick, EventMouseWheel, EventMoved, EventParentSized, EventRenderingEnded, EventRenderingStarted, EventShown, EventSized, EventTextChanged, EventVerticalAlignmentChanged, and EventZOrderChanged. Referenced by Window(). |
|
Add standard CEGUI::Window properties.
Definition at line 2731 of file CEGUIWindow.cpp. References CEGUI::PropertySet::addProperty(), d_absHeightProperty, d_absMaxSizeProperty, d_absMinSizeProperty, d_absPositionProperty, d_absRectProperty, d_absSizeProperty, d_absWidthProperty, d_absXPosProperty, d_absYPosProperty, d_alphaProperty, d_alwaysOnTopProperty, d_autoRepeatDelayProperty, d_autoRepeatProperty, d_autoRepeatRateProperty, d_clippedByParentProperty, d_destroyedByParentProperty, d_disabledProperty, d_distInputsProperty, d_fontProperty, d_heightProperty, d_horzAlignProperty, d_IDProperty, d_inheritsAlphaProperty, d_inheritsTooltipProperty, d_metricsModeProperty, d_mouseCursorProperty, d_positionProperty, d_rectProperty, d_relHeightProperty, d_relMaxSizeProperty, d_relMinSizeProperty, d_relPositionProperty, d_relRectProperty, d_relSizeProperty, d_relWidthProperty, d_relXPosProperty, d_relYPosProperty, d_restoreOldCaptureProperty, d_riseOnClickProperty, d_sizeProperty, d_textProperty, d_tooltipProperty, d_tooltipTypeProperty, d_unifiedAreaRectProperty, d_unifiedHeightProperty, d_unifiedMaxSizeProperty, d_unifiedMinSizeProperty, d_unifiedPositionProperty, d_unifiedSizeProperty, d_unifiedWidthProperty, d_unifiedXPositionProperty, d_unifiedYPositionProperty, d_vertAlignProperty, d_visibleProperty, d_wantsMultiClicksProperty, d_widthProperty, d_xPosProperty, d_yPosProperty, and d_zOrderChangeProperty. Referenced by Window(). |
|
Add the given window to the drawing list at an appropriate position for it's settings and the required direction. Basically, when at_back is false, the window will appear in front of all other windows with the same 'always on top' setting. When at_back is true, the window will appear behind all other windows wih the same 'always on top' setting.
Definition at line 3476 of file CEGUIWindow.cpp. References d_drawList, and isAlwaysOnTop(). Referenced by addChild_impl(), moveToBack(), and moveToFront_impl(). |
|
Captures input to this window.
Definition at line 1143 of file CEGUIWindow.cpp. References d_captureWindow, d_oldCapture, d_restoreOldCapture, isActive(), onCaptureGained(), and onCaptureLost(). Referenced by CEGUI::Titlebar::onMouseButtonDown(), CEGUI::MultiLineEditbox::onMouseButtonDown(), CEGUI::MenuItem::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::Editbox::onMouseButtonDown(), CEGUI::DragContainer::onMouseButtonDown(), CEGUI::ButtonBase::onMouseButtonDown(), and CEGUI::Combobox::showDropList(). |
|
Cleanup child windows.
Definition at line 2009 of file CEGUIWindow.cpp. References d_children, CEGUI::WindowManager::destroyWindow(), getChildCount(), CEGUI::WindowManager::getSingleton(), isDestroyedByParent(), and removeChildWindow(). Referenced by destroy(). |
|
Removes all Property objects from the PropertySet.
Definition at line 68 of file CEGUIPropertySet.cpp. |
|
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 827 of file CEGUIWindow.cpp. References onDeactivated(), and CEGUI::ActivationEventArgs::otherWindow. |
|
Internal destroy method which actually just adds the window and any parent destructed child windows to the dead pool. This is virtual to allow for specialised cleanup which may be required in some advanced cases. If you override this for the above reason, you MUST call this base class version.
Definition at line 3014 of file CEGUIWindow.cpp. References cleanupChildren(), d_parent, CEGUI::WindowManager::destroyWindow(), CEGUI::WindowManager::getSingleton(), CEGUI::WindowManager::isWindowPresent(), onDestructionStarted(), releaseInput(), and removeChildWindow(). Referenced by CEGUI::WindowManager::destroyWindow(). |
|
disable the Window to prevent interaction.
Definition at line 1310 of file CEGUIWindow.h. |
|
Return whether the window wants inputs passed to its attached child windows when the window has inputs captured.
Definition at line 2969 of file CEGUIWindow.cpp. References d_distCapturedInputs. |
|
Implementation of rise on click functionality.
Definition at line 3136 of file CEGUIWindow.cpp. References d_parent, d_riseOnClick, doRiseOnClick(), and moveToFront_impl(). Referenced by doRiseOnClick(), moveToFront_impl(), and onMouseButtonDown(). |
|
Perform the actual rendering for this Window.
Reimplemented in CEGUI::ButtonBase, CEGUI::DragContainer, CEGUI::GUISheet, CEGUI::ScrolledContainer, CEGUI::TabButton, and CEGUI::TabControl. Definition at line 1903 of file CEGUIWindow.cpp. References CEGUI::RenderCache::clearCachedImagery(), d_needsRedraw, d_renderCache, getPixelRect(), getPosition(), getUnclippedPixelRect(), CEGUI::Rect::getWidth(), CEGUI::RenderCache::hasCachedImagery(), populateRenderCache(), and CEGUI::RenderCache::render(). Referenced by render(). |
|
enable the Window to allow interaction.
Definition at line 1300 of file CEGUIWindow.h. |
|
Fires the named event passing the given EventArgs object.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 160 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events, CEGUI::EventSet::d_muted, CEGUI::GlobalEventSet::fireEvent(), and CEGUI::GlobalEventSet::getSingleton(). Referenced by CEGUI::ScrollablePane::handleAutoSizePaneChanged(), onActivated(), onAlphaChanged(), onAlwaysOnTopChanged(), CEGUI::ScrolledContainer::onAutoSizeSettingChanged(), CEGUI::ScrollablePane::onAutoSizeSettingChanged(), onCaptureGained(), onCaptureLost(), CEGUI::MultiLineEditbox::onCaratMoved(), CEGUI::Editbox::onCaratMoved(), CEGUI::Combobox::onCaratMoved(), onCharacter(), onChildAdded(), onChildRemoved(), CEGUI::ListHeaderSegment::onClickableSettingChanged(), CEGUI::TabButton::onClicked(), CEGUI::PushButton::onClicked(), CEGUI::MenuItem::onClicked(), onClippingChanged(), CEGUI::FrameWindow::onCloseClicked(), CEGUI::ScrolledContainer::onContentChanged(), CEGUI::ScrollablePane::onContentPaneChanged(), CEGUI::ScrollablePane::onContentPaneScrolled(), onDeactivated(), onDestructionStarted(), onDisabled(), CEGUI::Tooltip::onDisplayTimeChanged(), CEGUI::DragContainer::onDragAlphaChanged(), onDragDropItemDropped(), onDragDropItemEnters(), onDragDropItemLeaves(), CEGUI::DragContainer::onDragDropTargetChanged(), CEGUI::DragContainer::onDragEnabledChanged(), CEGUI::DragContainer::onDragEnded(), CEGUI::DragContainer::onDragMouseCursorChanged(), CEGUI::ListHeader::onDragMoveSettingChanged(), CEGUI::DragContainer::onDragPositionChanged(), CEGUI::ListHeader::onDragSizeSettingChanged(), CEGUI::DragContainer::onDragStarted(), CEGUI::DragContainer::onDragThresholdChanged(), CEGUI::Combobox::onDropListDisplayed(), CEGUI::Combobox::onDroplistRemoved(), CEGUI::MultiLineEditbox::onEditboxFullEvent(), CEGUI::Editbox::onEditboxFullEvent(), CEGUI::Combobox::onEditboxFullEvent(), onEnabled(), CEGUI::Tooltip::onFadeTimeChanged(), onFontChanged(), onHidden(), onHorizontalAlignmentChanged(), CEGUI::ScrollablePane::onHorzScrollbarModeChanged(), CEGUI::MultiLineEditbox::onHorzScrollbarModeChanged(), CEGUI::MultiColumnList::onHorzScrollbarModeChanged(), CEGUI::Listbox::onHorzScrollbarModeChanged(), CEGUI::Combobox::onHorzScrollbarModeChanged(), CEGUI::Tooltip::onHoverTimeChanged(), onIDChanged(), CEGUI::MouseCursor::onImageChanged(), onInheritsAlphaChanged(), CEGUI::Editbox::onInvalidEntryAttempted(), CEGUI::Combobox::onInvalidEntryAttempted(), onKeyDown(), onKeyUp(), CEGUI::MultiColumnList::onListColumnMoved(), CEGUI::MultiColumnList::onListColumnSized(), CEGUI::MultiColumnList::onListContentsChanged(), CEGUI::Listbox::onListContentsChanged(), CEGUI::ItemListBase::onListContentsChanged(), CEGUI::Combobox::onListContentsChanged(), CEGUI::ComboDropList::onListSelectionAccepted(), CEGUI::Combobox::onListSelectionAccepted(), CEGUI::Combobox::onListSelectionChanged(), CEGUI::Editbox::onMaskCodePointChanged(), CEGUI::Editbox::onMaskedRenderingModeChanged(), CEGUI::MultiLineEditbox::onMaximumTextLengthChanged(), CEGUI::Editbox::onMaximumTextLengthChanged(), CEGUI::Combobox::onMaximumTextLengthChanged(), CEGUI::Spinner::onMaximumValueChanged(), onMetricsChanged(), CEGUI::Spinner::onMinimumValueChanged(), onMouseButtonDown(), onMouseButtonUp(), onMouseClicked(), onMouseDoubleClicked(), onMouseEnters(), onMouseLeaves(), onMouseMove(), onMouseTripleClicked(), onMouseWheel(), CEGUI::ListHeaderSegment::onMovableSettingChanged(), onMoved(), CEGUI::Listbox::onMultiselectModeChanged(), CEGUI::MultiColumnList::onNominatedSelectColumnChanged(), CEGUI::MultiColumnList::onNominatedSelectRowChanged(), onParentDestroyChanged(), onParentSized(), CEGUI::MenuBase::onPopupClosed(), CEGUI::MenuBase::onPopupOpened(), CEGUI::ProgressBar::onProgressChanged(), CEGUI::ProgressBar::onProgressDone(), CEGUI::MultiLineEditbox::onReadOnlyChanged(), CEGUI::Editbox::onReadOnlyChanged(), CEGUI::Combobox::onReadOnlyChanged(), onRenderingEnded(), 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(), onShown(), 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::Spinner::onStepChanged(), CEGUI::Editbox::onTextAcceptedEvent(), CEGUI::Combobox::onTextAcceptedEvent(), onTextChanged(), CEGUI::Spinner::onTextInputModeChanged(), CEGUI::Editbox::onTextInvalidatedEvent(), CEGUI::Combobox::onTextInvalidatedEvent(), CEGUI::MultiLineEditbox::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::Tooltip::onTooltipActive(), CEGUI::Tooltip::onTooltipInactive(), CEGUI::Editbox::onValidationStringChanged(), CEGUI::Combobox::onValidationStringChanged(), CEGUI::Spinner::onValueChanged(), CEGUI::Slider::onValueChanged(), onVerticalAlignmentChanged(), CEGUI::ScrollablePane::onVertScrollbarModeChanged(), CEGUI::MultiLineEditbox::onVertScrollbarModeChanged(), CEGUI::MultiColumnList::onVertScrollbarModeChanged(), CEGUI::Listbox::onVertScrollbarModeChanged(), CEGUI::Combobox::onVertScrollbarModeChanged(), CEGUI::MultiLineEditbox::onWordWrapModeChanged(), onZChanged(), CEGUI::DirectX81Renderer::setDisplaySize(), CEGUI::OpenGLRenderer::setDisplaySize(), and CEGUI::DirectX9Renderer::setDisplaySize(). |
|
Fires off a repeated mouse button down event for this window.
Definition at line 2716 of file CEGUIWindow.cpp. References CEGUI::MouseEventArgs::button, CEGUI::MouseCursor::getPosition(), CEGUI::System::getSingleton(), CEGUI::MouseCursor::getSingleton(), CEGUI::System::getSystemKeys(), CEGUI::MouseEventArgs::moveDelta, onMouseButtonDown(), CEGUI::MouseEventArgs::position, CEGUI::MouseEventArgs::sysKeys, and CEGUI::MouseEventArgs::wheelChange. Referenced by updateSelf(). |
|
Return the window height in absolute metrics.
Definition at line 886 of file CEGUIWindow.h. Referenced by getHeight(), getParentHeight(), CEGUI::StaticText::getTextRenderArea(), getUnclippedPixelRect(), CEGUI::UnifiedDim::getValue_impl(), CEGUI::WidgetDim::getValue_impl(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::PushButton::onSized(), screenToWindow(), screenToWindowY(), CEGUI::PushButton::setCustomImageryAutoSized(), CEGUI::PushButton::setDisabledImage(), CEGUI::PushButton::setHoverImage(), CEGUI::PushButton::setNormalImage(), CEGUI::PushButton::setPushedImage(), windowToScreen(), and windowToScreenY(). |
|
Return the window position in absolute metrics.
Definition at line 836 of file CEGUIWindow.h. Referenced by getPosition(), CEGUI::WidgetDim::getValue_impl(), CEGUI::Thumb::onMouseMove(), and windowToScreen(). |
|
Return the window area rect in absolute metrics.
Definition at line 826 of file CEGUIWindow.h. Referenced by CEGUI::ScrolledContainer::getChildExtentsArea(), getRect(), CEGUI::WidgetDim::getValue_impl(), and CEGUI::MenuItem::openPopupMenu(). |
|
Return the window size in absolute metrics.
Definition at line 866 of file CEGUIWindow.h. Referenced by CEGUI::ComponentArea::getPixelRect(), getSize(), CEGUI::StaticText::getTextRenderArea(), getWindowSize_impl(), CEGUI::Static::onSized(), and CEGUI::Static::populateRenderCache(). |
|
Return the window width in absolute metrics.
Definition at line 876 of file CEGUIWindow.h. Referenced by CEGUI::ListHeaderSegment::doDragSizing(), getParentWidth(), CEGUI::StaticText::getTextRenderArea(), getUnclippedPixelRect(), CEGUI::UnifiedDim::getValue_impl(), CEGUI::WidgetDim::getValue_impl(), getWidth(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::PushButton::onSized(), screenToWindow(), screenToWindowX(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::PushButton::setCustomImageryAutoSized(), CEGUI::PushButton::setDisabledImage(), CEGUI::PushButton::setHoverImage(), CEGUI::PushButton::setNormalImage(), CEGUI::PushButton::setPushedImage(), windowToScreen(), and windowToScreenX(). |
|
Return the window X position in absolute metrics.
Definition at line 846 of file CEGUIWindow.h. Referenced by getXPosition(), windowToScreen(), and windowToScreenX(). |
|
Return the window Y position in absolute metrics.
Definition at line 856 of file CEGUIWindow.h. Referenced by getYPosition(), windowToScreen(), and windowToScreenY(). |
|
Definition at line 396 of file CEGUIWindow.cpp. References d_active, d_drawList, getChildCount(), and isActive(). |
|
return a pointer to the Window that currently has input focus starting with this Window.
Definition at line 386 of file CEGUIWindow.cpp. |
|
Returns the active sibling window. This searches the immediate children of this window's parent, and returns a pointer to the active window. The method will return this if we are the immediate child of our parent that is active. If our parent is not active, or if no immediate child of our parent is active then 0 is returned. If this window has no parent, and this window is not active then 0 is returned, else this is returned.
Definition at line 3522 of file CEGUIWindow.cpp. References d_drawList, d_parent, getChildCount(), and isActive(). Referenced by moveToFront_impl(). |
|
return the current alpha value set for this Window
Definition at line 491 of file CEGUIWindow.h. |
|
Return the current auto-repeat delay setting for this window.
Definition at line 2856 of file CEGUIWindow.cpp. References d_repeatDelay. |
|
Return the current auto-repeat rate setting for this window.
Definition at line 2865 of file CEGUIWindow.cpp. References d_repeatRate. |
|
return the Window that currently has inputs captured.
Definition at line 569 of file CEGUIWindow.h. Referenced by CEGUI::MenuItem::updateInternalState(), and CEGUI::ButtonBase::updateInternalState(). |
|
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 362 of file CEGUIWindow.cpp. References d_children, d_name, getChildCount(), and getID(). |
|
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 341 of file CEGUIWindow.cpp. References d_children, d_name, getChildCount(), and getName(). 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 390 of file CEGUIWindow.h. Referenced by CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::ScrolledContainer::getChildExtentsArea(), CEGUI::RadioButton::getSelectedButtonInGroup(), and CEGUI::TabControl::removeTab(). |
|
return the child Window that is 'hit' by the given position
Definition at line 616 of file CEGUIWindow.cpp. References d_drawList. Referenced by CEGUI::DragContainer::onDragPositionChanged(), CEGUI::TabButton::onMouseButtonUp(), CEGUI::RadioButton::onMouseButtonUp(), CEGUI::PushButton::onMouseButtonUp(), CEGUI::MenuItem::onMouseButtonUp(), CEGUI::ComboDropList::onMouseButtonUp(), CEGUI::Checkbox::onMouseButtonUp(), CEGUI::ComboDropList::onMouseMove(), CEGUI::MenuItem::updateInternalState(), and CEGUI::ButtonBase::updateInternalState(). |
|
return the number of child Window objects currently attached to this Window.
Definition at line 293 of file CEGUIWindow.h. Referenced by cleanupChildren(), CEGUI::RadioButton::deselectOtherButtonsInGroup(), getActiveChild(), getActiveSibling(), getChild(), CEGUI::ScrolledContainer::getChildExtentsArea(), CEGUI::RadioButton::getSelectedButtonInGroup(), CEGUI::TabControl::getTabCount(), isChild(), onAlphaChanged(), onDeactivated(), onDisabled(), onEnabled(), onSized(), onZChange_impl(), removeChildWindow(), render(), setRestoreCapture(), update(), and writeChildWindowsXML(). |
|
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 505 of file CEGUIWindow.cpp. References d_alpha, d_parent, getEffectiveAlpha(), and inheritsAlpha(). Referenced by CEGUI::MultiLineEditbox::cacheTextLines(), getEffectiveAlpha(), CEGUI::TextItem::populateRenderCache(), CEGUI::StaticText::populateRenderCache(), CEGUI::Static::populateRenderCache(), CEGUI::MultiColumnList::populateRenderCache(), CEGUI::Listbox::populateRenderCache(), CEGUI::SectionSpecification::render(), setInheritsAlpha(), CEGUI::Static::updateRenderableFrameColours(), and CEGUI::StaticImage::updateRenderableImageColours(). |
|
return the Font object active for the Window.
Definition at line 489 of file CEGUIWindow.cpp. References d_font, CEGUI::System::getDefaultFont(), and CEGUI::System::getSingleton(). Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::MultiLineEditbox::cacheTextLines(), CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::StaticText::configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiLineEditbox::ensureCaratIsVisible(), CEGUI::MultiLineEditbox::formatText(), CEGUI::ListboxTextItem::getFont(), CEGUI::TextItem::getItemPixelSize(), CEGUI::MultiLineEditbox::getTextIndexFromPosition(), CEGUI::Tooltip::getTextSize(), CEGUI::FrameWindow::getTitlebarFont(), CEGUI::FontDim::getValue_impl(), CEGUI::MultiLineEditbox::handleLineDown(), CEGUI::MultiLineEditbox::handleLineUp(), CEGUI::Combobox::initialise(), CEGUI::MultiLineEditbox::onCharacter(), CEGUI::Editbox::onCharacter(), CEGUI::TabControl::onFontChanged(), CEGUI::Spinner::onFontChanged(), CEGUI::Combobox::onFontChanged(), CEGUI::TextItem::populateRenderCache(), CEGUI::StaticText::populateRenderCache(), CEGUI::TextComponent::render_impl(), and setFont(). |
|
return the height of the Window using the specified metrics system.
Definition at line 2561 of file CEGUIWindow.cpp. References getAbsoluteHeight(), getInheritedMetricsMode(), getRelativeHeight(), CEGUI::Inherited, and CEGUI::Relative. |
|
return the height of the Window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 712 of file CEGUIWindow.cpp. References getAbsoluteHeight(), getMetricsMode(), getRelativeHeight(), and CEGUI::Relative. Referenced by CEGUI::StaticText::configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), CEGUI::MenuItem::openPopupMenu(), and setWidth(). |
|
Get the horizontal alignment. Returns the horizontal alignment for the window. This setting affects how the windows position is interpreted relative to its parent.
Definition at line 1163 of file CEGUIWindow.h. |
|
return the ID code currently assigned to this Window by client code.
Definition at line 283 of file CEGUIWindow.h. Referenced by getChild(), CEGUI::ListHeader::getColumnFromID(), CEGUI::MultiColumnList::getColumnID(), CEGUI::MultiColumnList::getNominatedSelectionColumnID(), CEGUI::ListHeader::getSegmentFromID(), isAncestor(), isChild(), removeChildWindow(), CEGUI::MultiColumnList::setSortColumnByID(), and CEGUI::MultiColumnList::writePropertiesXML(). |
|
Return the inherited metrics mode. This is either the metrics mode of our parent, or Relative if we have no parent.
Definition at line 2492 of file CEGUIWindow.cpp. References d_parent, getMetricsMode(), and CEGUI::Relative. Referenced by getHeight(), getMetricsMode(), getPosition(), getRect(), getSize(), getWidth(), getXPosition(), getYPosition(), setPosition(), setRect(), and setSize(). |
|
return a Rect object describing the clipped inner area for this window.
Definition at line 547 of file CEGUIWindow.cpp. References d_parent, getInnerRect(), CEGUI::Rect::getIntersection(), getRect(), CEGUI::System::getSingleton(), getUnclippedInnerRect(), and isClippedByParent(). Referenced by getInnerRect(), getPixelRect(), and CEGUI::Titlebar::onMouseButtonDown(). |
|
Return a EventSet::EventIterator object to iterate over the available events.
Definition at line 203 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Return a PropertySet::PropertyIterator object to iterate over the available Properties.
Definition at line 131 of file CEGUIPropertySet.cpp. Referenced by writePropertiesXML(). |
|
Get the name of the LookNFeel assigned to this window.
Definition at line 3334 of file CEGUIWindow.cpp. References d_lookName. |
|
Return the current maximum size for this window.
Definition at line 2330 of file CEGUIWindow.cpp. References CEGUI::Absolute, CEGUI::UVector2::asAbsolute(), CEGUI::UVector2::asRelative(), CEGUI::Vector2::asSize(), d_maxSize, getMetricsMode(), CEGUI::System::getSingleton(), and getSize(). |
|
return the current metrics mode employed by the Window
Definition at line 657 of file CEGUIWindow.cpp. References d_metricsMode, getInheritedMetricsMode(), and CEGUI::Inherited. Referenced by CEGUI::MultiColumnList::autoSizeColumnHeader(), CEGUI::MultiColumnList::getColumnHeaderWidth(), getHeight(), getInheritedMetricsMode(), getMaximumSize(), getMinimumSize(), getPosition(), getRect(), getSize(), CEGUI::TabControl::getTabHeight(), CEGUI::TabControl::getTabTextPadding(), CEGUI::MultiLineEditbox::getTextIndexFromPosition(), CEGUI::MultiColumnList::getTotalColumnHeadersWidth(), getUnclippedPixelRect(), getWidth(), getXPosition(), getYPosition(), CEGUI::MultiColumnList::insertColumn(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::FrameWindow::offsetPixelPosition(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Thumb::onMouseButtonDown(), CEGUI::MultiColumnList::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::Listbox::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::DragContainer::onMouseButtonDown(), CEGUI::Titlebar::onMouseMove(), CEGUI::Thumb::onMouseMove(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::FrameWindow::onMouseMove(), CEGUI::DragContainer::onMouseMove(), CEGUI::ComboDropList::onMouseMove(), screenToWindow(), screenToWindowX(), screenToWindowY(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::ListHeader::segmentMovedHandler(), setAreaRect(), CEGUI::MultiColumnList::setColumnHeaderWidth(), setMaximumSize(), setMetricsMode(), setMinimumSize(), setPosition(), setSize(), CEGUI::TabControl::setTabHeight(), CEGUI::TabControl::setTabTextPadding(), windowToScreen(), windowToScreenX(), and windowToScreenY(). |
|
Return the current minimum size for this window.
Definition at line 2347 of file CEGUIWindow.cpp. References CEGUI::Absolute, CEGUI::UVector2::asAbsolute(), CEGUI::UVector2::asRelative(), CEGUI::Vector2::asSize(), d_minSize, getMetricsMode(), CEGUI::System::getSingleton(), and getSize(). |
|
Get whether or not this Window is the modal target.
Definition at line 1191 of file CEGUIWindow.h. References CEGUI::System::getSingleton(). Referenced by setModalState(). |
|
Return a pointer to the mouse cursor image to use when the mouse is within this window.
Definition at line 2409 of file CEGUIWindow.cpp. References d_mouseCursor, CEGUI::DefaultMouseCursor, CEGUI::System::getDefaultMouseCursor(), and CEGUI::System::getSingleton(). Referenced by CEGUI::ListHeaderSegment::initSegmentHoverState(), CEGUI::ListHeaderSegment::onMouseButtonUp(), onMouseEnters(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::FrameWindow::setCursorForPoint(), and CEGUI::DragContainer::updateActiveMouseCursor(). |
|
return a String object holding the name of this Window.
Definition at line 199 of file CEGUIWindow.h. Referenced by CEGUI::TabControl::addChild_impl(), CEGUI::ScrollablePane::addChild_impl(), CEGUI::TabControl::addTab(), CEGUI::StaticText::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), CEGUI::WidgetComponent::create(), CEGUI::ListHeader::createInitialisedSegment(), CEGUI::WindowManager::destroyWindow(), CEGUI::FrameWindow::getCaptionColour(), getChild(), CEGUI::FrameWindow::getTitlebarFont(), CEGUI::PropertyDim::getValue_impl(), CEGUI::FontDim::getValue_impl(), CEGUI::WidgetDim::getValue_impl(), CEGUI::TabControl::handleTabButtonClicked(), CEGUI::TabControl::initialise(), CEGUI::StaticText::initialise(), CEGUI::Spinner::initialise(), CEGUI::Slider::initialise(), CEGUI::Scrollbar::initialise(), CEGUI::ScrollablePane::initialise(), CEGUI::MultiLineEditbox::initialise(), CEGUI::MultiColumnList::initialise(), CEGUI::Listbox::initialise(), CEGUI::FrameWindow::initialise(), CEGUI::Combobox::initialise(), isAncestor(), isChild(), CEGUI::WidgetComponent::layout(), CEGUI::TabControl::makeButtonName(), CEGUI::FrameWindow::onTextChanged(), CEGUI::ScrollablePane::removeChild_impl(), removeChildWindow(), CEGUI::TabControl::removeTab(), CEGUI::FrameWindow::setCaptionColour(), CEGUI::FrameWindow::setCloseButtonEnabled(), CEGUI::FrameWindow::setDragMovingEnabled(), CEGUI::FrameWindow::setTitleBarEnabled(), CEGUI::FrameWindow::setTitlebarFont(), setTooltipType(), CEGUI::Editbox::setValidationString(), CEGUI::Tooltip::updateSelf(), writeChildWindowsXML(), CEGUI::WindowManager::writeWindowLayoutToStream(), and writeXMLToStream(). |
|
return the parent of this Window.
Definition at line 711 of file CEGUIWindow.h. Referenced by addChild_impl(), CEGUI::GUILayout_xmlHandler::cleanupLoadedWindows(), CEGUI::MenuItem::closeAllMenuItemPopups(), CEGUI::MenuItem::closePopupMenu(), CEGUI::WindowProperties::Tooltip::get(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::TextItem::onTextChanged(), CEGUI::MenuItem::openPopupMenu(), CEGUI::MenuItem::updateInternalState(), and CEGUI::WindowManager::writeWindowLayoutToStream(). |
|
Return the pixel Height of the parent element. This always returns a valid number.
Definition at line 1959 of file CEGUIWindow.cpp. References d_parent, getAbsoluteHeight(), CEGUI::Renderer::getHeight(), CEGUI::System::getRenderer(), and CEGUI::System::getSingleton(). Referenced by CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveTopEdge(), windowToScreen(), and windowToScreenY(). |
|
Return the pixel size of the parent element. This always returns a valid object.
Definition at line 1974 of file CEGUIWindow.cpp. References d_parent, and getWindowSize_impl(). Referenced by CEGUI::FrameWindow::offsetPixelPosition(), and setWindowArea_impl(). |
|
Return the pixel Width of the parent element. This always returns a valid number.
Definition at line 1944 of file CEGUIWindow.cpp. References d_parent, getAbsoluteWidth(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), and CEGUI::Renderer::getWidth(). Referenced by CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), windowToScreen(), and windowToScreenX(). |
|
return a Rect object describing the Window area in screen space.
Definition at line 528 of file CEGUIWindow.cpp. References d_parent, getInnerRect(), CEGUI::Rect::getIntersection(), getRect(), CEGUI::System::getSingleton(), getUnclippedPixelRect(), and isClippedByParent(). Referenced by drawSelf(), and isHit(). |
|
return the position of the window using the specified metrics system.
Definition at line 2531 of file CEGUIWindow.cpp. References getAbsolutePosition(), getInheritedMetricsMode(), getRelativePosition(), CEGUI::Inherited, and CEGUI::Relative. |
|
return the position of the window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 692 of file CEGUIWindow.cpp. References getAbsolutePosition(), getMetricsMode(), getRelativePosition(), and CEGUI::Relative. Referenced by CEGUI::DragContainer::doDragging(), drawSelf(), CEGUI::DragContainer::initialiseDragging(), CEGUI::MenuItem::onCaptureLost(), CEGUI::ButtonBase::onCaptureLost(), CEGUI::DragContainer::onDragPositionChanged(), CEGUI::ListHeader::segmentDragHandler(), and CEGUI::ListHeader::segmentMovedHandler(). |
|
Gets the current value of the specified Property.
Definition at line 99 of file CEGUIPropertySet.cpp. Referenced by CEGUI::FrameComponent::doBackgroundRender(), CEGUI::ComponentArea::getPixelRect(), CEGUI::PropertyDim::getValue_impl(), CEGUI::SectionSpecification::initColourRectForOverride(), CEGUI::FalagardComponentBase::initColoursRect(), CEGUI::ImagerySection::initMasterColourRect(), CEGUI::TextComponent::render_impl(), and CEGUI::ImageryComponent::render_impl(). |
|
Returns the default value of a Property as a String.
Definition at line 156 of file CEGUIPropertySet.cpp. |
|
Return the help text for the specified Property.
Definition at line 84 of file CEGUIPropertySet.cpp. |
|
return a Rect object that describes the Window area using the specified metrics system.
Definition at line 2592 of file CEGUIWindow.cpp. References getAbsoluteRect(), getInheritedMetricsMode(), getRelativeRect(), CEGUI::Inherited, and CEGUI::Relative. |
|
return a Rect object that describes the Window area.
Definition at line 519 of file CEGUIWindow.cpp. References getAbsoluteRect(), getMetricsMode(), getRelativeRect(), and CEGUI::Relative. Referenced by getInnerRect(), getPixelRect(), CEGUI::Tooltip::getTextSize(), and CEGUI::Tooltip::positionSelf(). |
|
Return the window height in relative metrics.
Definition at line 816 of file CEGUIWindow.h. Referenced by getHeight(). |
|
Return the window position in relative metrics.
Definition at line 766 of file CEGUIWindow.h. Referenced by getPosition(). |
|
Return the window area rect in relative metrics.
Definition at line 756 of file CEGUIWindow.h. Referenced by getRect(). |
|
Return the window size in relative metrics.
Definition at line 796 of file CEGUIWindow.h. Referenced by getSize(). |
|
Return the window width in relative metrics.
Definition at line 806 of file CEGUIWindow.h. Referenced by getWidth(), and CEGUI::MultiColumnList::writePropertiesXML(). |
|
Return the window X position in relative metrics.
Definition at line 776 of file CEGUIWindow.h. Referenced by getXPosition(). |
|
Return the window Y position in relative metrics.
Definition at line 786 of file CEGUIWindow.h. Referenced by getYPosition(). |
|
Return the RenderCache object for this Window.
Definition at line 1172 of file CEGUIWindow.h. Referenced by CEGUI::FrameComponent::doBackgroundRender(), CEGUI::TextComponent::render_impl(), CEGUI::ImageryComponent::render_impl(), and CEGUI::FrameComponent::render_impl(). |
|
return the size of the Window using the specified metrics system.
Definition at line 2576 of file CEGUIWindow.cpp. References getAbsoluteSize(), getInheritedMetricsMode(), getRelativeSize(), CEGUI::Inherited, and CEGUI::Relative. |
|
return the size of the Window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 722 of file CEGUIWindow.cpp. References getAbsoluteSize(), getMetricsMode(), getRelativeSize(), and CEGUI::Relative. Referenced by getMaximumSize(), getMinimumSize(), and CEGUI::StaticImage::onSized(). |
|
return the current text for the Window
Definition at line 465 of file CEGUIWindow.h. Referenced by CEGUI::Combobox::button_PressHandler(), CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::Combobox::editbox_MouseDownHandler(), CEGUI::MultiColumnList::findColumnItemWithText(), CEGUI::Listbox::findItemWithText(), CEGUI::ItemListBase::findItemWithText(), CEGUI::MultiColumnList::findListItemWithText(), CEGUI::MultiColumnList::findRowItemWithText(), CEGUI::ListHeader::getColumnWithText(), CEGUI::TextItem::getItemPixelSize(), CEGUI::FontDim::getValue_impl(), CEGUI::Spinner::getValueFromText(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::Spinner::handleEditTextChange(), CEGUI::Spinner::onTextChanged(), CEGUI::Combobox::onTextChanged(), CEGUI::Spinner::onValueChanged(), CEGUI::TextItem::populateRenderCache(), CEGUI::TextComponent::render_impl(), CEGUI::TabButton::setTargetWindow(), and CEGUI::MultiColumnList::writePropertiesXML(). |
|
Return a pointer to the Tooltip object used by this Window. The value returned may point to the system default Tooltip, a custom Window specific Tooltip, or be NULL.
Definition at line 3050 of file CEGUIWindow.cpp. References d_customTip, CEGUI::System::getDefaultTooltip(), CEGUI::System::getSingleton(), and isUsingDefaultTooltip(). Referenced by onMouseButtonDown(), onMouseEnters(), onMouseLeaves(), onMouseMove(), CEGUI::Listbox::onMouseMove(), and setTooltipText(). |
|
Return the current tooltip text set for this Window.
Definition at line 3109 of file CEGUIWindow.cpp. References d_inheritsTipText, d_parent, d_tooltipText, CEGUI::String::empty(), and getTooltipText(). Referenced by CEGUI::Tooltip::doActiveState(), CEGUI::Tooltip::doFadeInState(), CEGUI::Tooltip::doFadeOutState(), CEGUI::Tooltip::doInactiveState(), CEGUI::WindowProperties::Tooltip::get(), getTooltipText(), and CEGUI::Tooltip::setTargetWindow(). |
|
Return the custom tooltip type.
Definition at line 3092 of file CEGUIWindow.cpp. References d_customTip, getType(), and isUsingDefaultTooltip(). |
|
return a String object holding the type name for this Window.
Definition at line 237 of file CEGUIWindow.cpp. References d_falagardType, d_type, and CEGUI::String::empty(). Referenced by CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::ScrolledContainerFactory::destroyWindow(), CEGUI::GUISheetFactory::destroyWindow(), CEGUI::DragContainerFactory::destroyWindow(), CEGUI::RadioButton::getSelectedButtonInGroup(), getTooltipType(), CEGUI::Tooltip::updateSelf(), and writeXMLToStream(). |
|
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::ScrolledContainer, CEGUI::Static, and CEGUI::StaticText. Definition at line 586 of file CEGUIWindow.cpp. References getUnclippedPixelRect(). Referenced by getInnerRect(), CEGUI::StaticText::getUnclippedInnerRect(), CEGUI::Static::getUnclippedInnerRect(), and CEGUI::ScrolledContainer::getUnclippedInnerRect(). |
|
return a Rect object describing the Window area unclipped, in screen space.
Definition at line 567 of file CEGUIWindow.cpp. References getAbsoluteHeight(), getAbsoluteWidth(), getMetricsMode(), CEGUI::Relative, and windowToScreen(). Referenced by drawSelf(), getPixelRect(), getUnclippedInnerRect(), CEGUI::StaticImage::onStaticFrameChanged(), and CEGUI::Tooltip::positionSelf(). |
|
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 899 of file CEGUIWindow.h. |
|
Returns a named user string.
Definition at line 3393 of file CEGUIWindow.cpp. References d_userStrings. |
|
Get the vertical alignment. Returns the vertical alignment for the window. This setting affects how the windows position is interpreted relative to its parent.
Definition at line 1151 of file CEGUIWindow.h. |
|
return the width of the Window using the specified metrics system.
Definition at line 2546 of file CEGUIWindow.cpp. References getAbsoluteWidth(), getInheritedMetricsMode(), getRelativeWidth(), CEGUI::Inherited, and CEGUI::Relative. |
|
return the width of the Window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 702 of file CEGUIWindow.cpp. References getAbsoluteWidth(), getMetricsMode(), getRelativeWidth(), and CEGUI::Relative. Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::StaticText::configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), and setHeight(). |
|
Return the windows area. Returns the area occupied by this window. The defined area is offset from the top-left corner of this windows parent window or from the top-left corner of the display if this window has no parent (i.e. it is the root window).
Definition at line 3267 of file CEGUIWindow.cpp. References d_area. |
|
Get the window's height. Gets the height of the area occupied by this window.
Definition at line 3297 of file CEGUIWindow.cpp. References d_area, CEGUI::UVector2::d_y, and CEGUI::URect::getSize(). |
|
Get the window's maximum size. Gets the maximum size that this windows area may occupy (whether size changes occur by user interaction, general system operation, or by direct setting by client code).
Definition at line 3302 of file CEGUIWindow.cpp. References d_maxSize. |
|
Get the window's minimum size. Gets the minimum size that this windows area may occupy (whether size changes occur by user interaction, general system operation, or by direct setting by client code).
Definition at line 3307 of file CEGUIWindow.cpp. References d_minSize. |
|
Get the window's position. Gets the position of the area occupied by this window. The position is offset from the top-left corner of this windows parent window or from the top-left corner of the display if this window has no parent (i.e. it is the root window).
Definition at line 3272 of file CEGUIWindow.cpp. References d_area, and CEGUI::URect::d_min. |
|
Get the window's size. Gets the size of the area occupied by this window.
Definition at line 3287 of file CEGUIWindow.cpp. References d_area, and CEGUI::URect::getSize(). |
|
Definition at line 2313 of file CEGUIWindow.cpp. References getAbsoluteSize(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), and CEGUI::Renderer::getSize(). Referenced by absoluteToRelative_impl(), absoluteToRelativeX_impl(), absoluteToRelativeY_impl(), getParentSize(), relativeToAbsolute_impl(), relativeToAbsoluteX_impl(), and relativeToAbsoluteY_impl(). |
|
Get the window's width. Gets the width of the area occupied by this window.
Definition at line 3292 of file CEGUIWindow.cpp. References d_area, CEGUI::UVector2::d_x, and CEGUI::URect::getSize(). |
|
Get the window's X position. Gets the x position (left edge) of the area occupied by this window. The position is offset from the left edge of this windows parent window or from the left edge of the display if this window has no parent (i.e. it is the root window).
Definition at line 3277 of file CEGUIWindow.cpp. References d_area, CEGUI::URect::d_min, and CEGUI::UVector2::d_x. |
|
Get the window's Y position. Gets the y position (top edge) of the area occupied by this window. The position is offset from the top edge of this windows parent window or from the top edge of the display if this window has no parent (i.e. it is the root window).
Definition at line 3282 of file CEGUIWindow.cpp. References d_area, CEGUI::URect::d_min, and CEGUI::UVector2::d_y. |
|
return the x position of the window using the specified metrics system.
Definition at line 2501 of file CEGUIWindow.cpp. References getAbsoluteXPosition(), getInheritedMetricsMode(), getRelativeXPosition(), CEGUI::Inherited, and CEGUI::Relative. |
|
return the x position of the window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 672 of file CEGUIWindow.cpp. References getAbsoluteXPosition(), getMetricsMode(), getRelativeXPosition(), and CEGUI::Relative. Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::Thumb::setHorzRange(), and setYPosition(). |
|
return the y position of the window using the specified metrics system.
Definition at line 2516 of file CEGUIWindow.cpp. References getAbsoluteYPosition(), getInheritedMetricsMode(), getRelativeYPosition(), CEGUI::Inherited, and CEGUI::Relative. |
|
return the y position of the window. Interpretation of return value depends upon the metric type in use by this window.
Definition at line 682 of file CEGUIWindow.cpp. References getAbsoluteYPosition(), getMetricsMode(), getRelativeYPosition(), and CEGUI::Relative. Referenced by CEGUI::Thumb::setVertRange(), and setXPosition(). |
|
hide the Window.
Definition at line 1343 of file CEGUIWindow.h. Referenced by CEGUI::PopupMenu::closePopupMenu(), CEGUI::ComboDropList::ComboDropList(), CEGUI::StaticText::configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), CEGUI::StaticText::initialise(), CEGUI::ComboDropList::onCaptureLost(), CEGUI::PopupMenu::PopupMenu(), CEGUI::Tooltip::switchToInactiveState(), and CEGUI::PopupMenu::updateSelf(). |
|
return true if the Window inherits alpha from its parent(s).
Definition at line 475 of file CEGUIWindow.h. Referenced by getEffectiveAlpha(), and onAlphaChanged(). |
|
Return whether this window inherits Tooltip text from its parent when its own tooltip text is not set.
Definition at line 3121 of file CEGUIWindow.cpp. References d_inheritsTipText. Referenced by CEGUI::WindowProperties::Tooltip::get(). |
|
Initialises the Window based object ready for use.
Reimplemented in CEGUI::Combobox, CEGUI::ComboDropList, CEGUI::FrameWindow, CEGUI::GUISheet, CEGUI::ItemListBase, CEGUI::Listbox, CEGUI::MultiColumnList, CEGUI::MultiLineEditbox, CEGUI::ScrollablePane, CEGUI::Scrollbar, CEGUI::Slider, CEGUI::Spinner, CEGUI::StaticText, and CEGUI::TabControl. Definition at line 1250 of file CEGUIWindow.h. Referenced by CEGUI::WindowManager::createWindow(), CEGUI::StaticText::initialise(), CEGUI::Spinner::initialise(), and CEGUI::GUISheet::initialise(). |
|
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 269 of file CEGUIWindow.cpp. References d_active, d_parent, and isActive(). Referenced by CEGUI::Combobox::activateEditbox(), captureInput(), getActiveChild(), getActiveSibling(), CEGUI::MultiLineEditbox::hasInputFocus(), CEGUI::Editbox::hasInputFocus(), isActive(), moveToBack(), moveToFront_impl(), CEGUI::Spinner::onActivated(), CEGUI::Combobox::onActivated(), and onDeactivated(). |
|
returns whether or not this Window is an always on top (a.k.a 'topmost') Window.
Definition at line 219 of file CEGUIWindow.h. Referenced by addWindowToDrawList(), and setAlwaysOnTop(). |
|
return true if the specified Window is some ancestor of this Window.
Definition at line 467 of file CEGUIWindow.cpp. References d_parent, and isAncestor(). |
|
return true if any Window with the given ID is some ancestor of this Window.
Definition at line 445 of file CEGUIWindow.cpp. References d_parent, getID(), and isAncestor(). |
|
return true if the specified Window is some ancestor of this Window
Definition at line 422 of file CEGUIWindow.cpp. References d_parent, getName(), and isAncestor(). Referenced by isAncestor(). |
|
return true if a child window has captured inputs.
Definition at line 589 of file CEGUIWindow.h. |
|
return true if an ancestor window has captured inputs.
Definition at line 599 of file CEGUIWindow.h. |
|
return true if this Window has input captured.
Definition at line 579 of file CEGUIWindow.h. Referenced by releaseInput(). |
|
return true if the given Window is a child of this window.
Definition at line 321 of file CEGUIWindow.cpp. References d_children, and getChildCount(). |
|
returns whether at least one window with the given ID code is attached as a child.
Definition at line 301 of file CEGUIWindow.cpp. References d_children, getChildCount(), and getID(). |
|
returns whether a Window with the specified name is currently attached to this Window as a child.
Definition at line 281 of file CEGUIWindow.cpp. References d_children, getChildCount(), and getName(). Referenced by CEGUI::MenuItem::setPopupMenu(). |
|
return true if this Window is clipped so that its rendering does not pass outside its parent windows area.
Definition at line 273 of file CEGUIWindow.h. Referenced by getInnerRect(), and getPixelRect(). |
|
returns whether or not this Window is set to be destroyed when its parent is destroyed.
Definition at line 209 of file CEGUIWindow.h. Referenced by cleanupChildren(). |
|
return true if the Window is currently disabled
Definition at line 246 of file CEGUIWindow.cpp. References d_enabled, d_parent, and isDisabled(). Referenced by CEGUI::TabButton::drawSelf(), CEGUI::ButtonBase::drawSelf(), isDisabled(), isHit(), and setEnabled(). |
|
Checks to see if an Event with the given name is present in the EventSet.
Definition at line 102 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, and CEGUI::FrameWindow. Definition at line 595 of file CEGUIWindow.cpp. References getPixelRect(), CEGUI::Rect::getWidth(), isDisabled(), and CEGUI::Rect::isPointInRect(). Referenced by CEGUI::FrameWindow::isHit(), 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 2847 of file CEGUIWindow.cpp. References d_autoRepeat. |
|
Return whether the EventSet is muted or not.
Definition at line 184 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_muted. Referenced by CEGUI::Spinner::onTextInputModeChanged(), and CEGUI::Spinner::onValueChanged(). |
|
Returns whether a Property is at it's default value.
Definition at line 140 of file CEGUIPropertySet.cpp. |
|
Checks to see if a Property with the given name is in the PropertySet.
Definition at line 76 of file CEGUIPropertySet.cpp. |
|
Return whether this window will rise to the top of the z-order when clicked with the left mouse button.
Definition at line 1127 of file CEGUIWindow.h. |
|
Return whether a user string with the specified name exists.
Definition at line 3407 of file CEGUIWindow.cpp. References d_userStrings. |
|
Return whether this Window is using the system default Tooltip for its Tooltip window.
Definition at line 3045 of file CEGUIWindow.cpp. References d_customTip. Referenced by getTooltip(), and getTooltipType(). |
|
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 257 of file CEGUIWindow.cpp. References d_parent, d_visible, and isVisible(). Referenced by CEGUI::ScrollablePane::configureScrollbars(), CEGUI::StaticText::getTextRenderArea(), CEGUI::Combobox::isDropDownListVisible(), isVisible(), CEGUI::StaticText::onMouseWheel(), CEGUI::ScrollablePane::onMouseWheel(), CEGUI::MultiLineEditbox::onMouseWheel(), CEGUI::MultiColumnList::onMouseWheel(), CEGUI::Listbox::onMouseWheel(), CEGUI::StaticText::populateRenderCache(), CEGUI::TabControl::removeTab(), and render(). |
|
Return whether z-order changes are enabled or disabled for this Window.
Definition at line 2798 of file CEGUIWindow.cpp. References d_zOrderingEnabled. |
|
Move the Window to the bottom of the Z order.
Definition at line 1111 of file CEGUIWindow.cpp. References addWindowToDrawList(), d_parent, d_zOrderingEnabled, isActive(), moveToBack(), onDeactivated(), onZChange_impl(), CEGUI::ActivationEventArgs::otherWindow, and removeWindowFromDrawList(). Referenced by moveToBack(). |
|
Move the Window to the top of the z order.
Definition at line 1045 of file CEGUIWindow.cpp. References moveToFront_impl(). Referenced by activate(), CEGUI::PopupMenu::openPopupMenu(), and releaseInput(). |
|
Implements move to fron behavior.
Definition at line 1054 of file CEGUIWindow.cpp. References addWindowToDrawList(), d_parent, d_zOrderingEnabled, doRiseOnClick(), getActiveSibling(), CEGUI::EventArgs::handled, isActive(), moveToFront_impl(), onActivated(), onDeactivated(), onZChange_impl(), CEGUI::ActivationEventArgs::otherWindow, removeWindowFromDrawList(), and CEGUI::WindowEventArgs::window. Referenced by doRiseOnClick(), moveToFront(), and moveToFront_impl(). |
|
Internal support method for drag & drop. You do not normally call this directly from client code. See the DragContainer class.
Definition at line 3004 of file CEGUIWindow.cpp. References CEGUI::DragDropEventArgs::dragDropItem, and onDragDropItemDropped(). Referenced by CEGUI::DragContainer::onDragEnded(). |
|
Internal support method for drag & drop. You do not normally call this directly from client code. See the DragContainer class.
Definition at line 2984 of file CEGUIWindow.cpp. References CEGUI::DragDropEventArgs::dragDropItem, and onDragDropItemEnters(). Referenced by CEGUI::DragContainer::onDragDropTargetChanged(). |
|
Internal support method for drag & drop. You do not normally call this directly from client code. See the DragContainer class.
Definition at line 2994 of file CEGUIWindow.cpp. References CEGUI::DragDropEventArgs::dragDropItem, and onDragDropItemLeaves(). Referenced by CEGUI::DragContainer::onDragDropTargetChanged(). |
|
Handler called when this window has become the active window.
Reimplemented in CEGUI::Combobox, CEGUI::ComboDropList, CEGUI::FrameWindow, and CEGUI::Spinner. Definition at line 3763 of file CEGUIWindow.cpp. References d_active, EventActivated, EventNamespace, CEGUI::EventSet::fireEvent(), and requestRedraw(). Referenced by moveToFront_impl(), CEGUI::Spinner::onActivated(), CEGUI::FrameWindow::onActivated(), CEGUI::ComboDropList::onActivated(), and CEGUI::Combobox::onActivated(). |
|
Handler called when the window's alpha blend value is changed.
Reimplemented in CEGUI::DragContainer, CEGUI::PopupMenu, CEGUI::Static, and CEGUI::StaticImage. Definition at line 3600 of file CEGUIWindow.cpp. References d_children, EventAlphaChanged, EventNamespace, CEGUI::EventSet::fireEvent(), getChildCount(), inheritsAlpha(), and requestRedraw(). Referenced by CEGUI::Static::onAlphaChanged(), CEGUI::PopupMenu::onAlphaChanged(), CEGUI::DragContainer::onAlphaChanged(), setAlpha(), and setInheritsAlpha(). |
|
Handler called when the window's always-on-top setting is changed.
Definition at line 3702 of file CEGUIWindow.cpp. References EventAlwaysOnTopChanged, EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw(). Referenced by setAlwaysOnTop(). |
|
Handler called when this window gains capture of mouse inputs.
Definition at line 3711 of file CEGUIWindow.cpp. References EventInputCaptureGained, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by captureInput(). |
|
Handler called when this window loses capture of mouse inputs.
Reimplemented in CEGUI::ButtonBase, CEGUI::ComboDropList, CEGUI::DragContainer, CEGUI::Editbox, CEGUI::FrameWindow, CEGUI::ListHeaderSegment, CEGUI::MenuItem, CEGUI::MultiLineEditbox, CEGUI::Thumb, and CEGUI::Titlebar. Definition at line 3717 of file CEGUIWindow.cpp. References d_oldCapture, d_repeatButton, d_restoreOldCapture, EventInputCaptureLost, EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), CEGUI::System::injectMouseMove(), CEGUI::NoButton, and onCaptureLost(). Referenced by activate(), captureInput(), onCaptureLost(), CEGUI::Titlebar::onCaptureLost(), CEGUI::MultiLineEditbox::onCaptureLost(), CEGUI::MenuItem::onCaptureLost(), CEGUI::ListHeaderSegment::onCaptureLost(), CEGUI::FrameWindow::onCaptureLost(), CEGUI::Editbox::onCaptureLost(), CEGUI::DragContainer::onCaptureLost(), CEGUI::ComboDropList::onCaptureLost(), CEGUI::ButtonBase::onCaptureLost(), and releaseInput(). |
|
Handler called when a character-key has been pressed while this window has input focus.
Reimplemented in CEGUI::Editbox, and CEGUI::MultiLineEditbox. Definition at line 3946 of file CEGUIWindow.cpp. References EventCharacterKey, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectChar(), CEGUI::MultiLineEditbox::onCharacter(), and CEGUI::Editbox::onCharacter(). |
|
Handler called when a child window is added to this window.
Reimplemented in CEGUI::ScrolledContainer. Definition at line 3813 of file CEGUIWindow.cpp. References EventChildAdded, EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw(). Referenced by addChildWindow(), and CEGUI::ScrolledContainer::onChildAdded(). |
|
Handler called when a child window is removed from this window.
Reimplemented in CEGUI::ScrolledContainer. Definition at line 3822 of file CEGUIWindow.cpp. References EventChildRemoved, EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw(). Referenced by CEGUI::ScrolledContainer::onChildRemoved(), and removeChildWindow(). |
|
Handler called when the window's setting for being clipped by it's parent is changed.
Reimplemented in CEGUI::DragContainer. Definition at line 3682 of file CEGUIWindow.cpp. References EventClippedByParentChanged, EventNamespace, CEGUI::EventSet::fireEvent(), and requestRedraw(). Referenced by CEGUI::DragContainer::onClippingChanged(), and setClippedByParent(). |
|
Handler called when this window has lost input focus and has been deactivated.
Reimplemented in CEGUI::FrameWindow. Definition at line 3771 of file CEGUIWindow.cpp. References d_active, d_children, EventDeactivated, EventNamespace, CEGUI::EventSet::fireEvent(), getChildCount(), isActive(), and requestRedraw(). Referenced by deactivate(), moveToBack(), moveToFront_impl(), and CEGUI::FrameWindow::onDeactivated(). |
|
Handler called when this window's destruction sequence has begun.
Definition at line 3757 of file CEGUIWindow.cpp. References EventDestructionStarted, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by destroy(). |
|
Handler called when the window is disabled.
Definition at line 3658 of file CEGUIWindow.cpp. References d_children, d_enabled, EventDisabled, EventNamespace, CEGUI::EventSet::fireEvent(), getChildCount(), and requestRedraw(). Referenced by setEnabled(). |
|
Handler called when a DragContainer is dragged over this window.
Definition at line 3961 of file CEGUIWindow.cpp. References EventDragDropItemDropped, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by notifyDragDropItemDropped(). |
|
Handler called when a DragContainer is dragged over this window.
Definition at line 3951 of file CEGUIWindow.cpp. References EventDragDropItemEnters, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by notifyDragDropItemEnters(). |
|
Handler called when a DragContainer is dragged over this window.
Definition at line 3956 of file CEGUIWindow.cpp. References EventDragDropItemLeaves, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by notifyDragDropItemLeaves(). |
|
Handler called when the window is enabled.
Definition at line 3640 of file CEGUIWindow.cpp. References d_children, d_enabled, EventEnabled, EventNamespace, CEGUI::EventSet::fireEvent(), getChildCount(), and requestRedraw(). Referenced by setEnabled(). |
|
Handler called when the window's font is changed.
Reimplemented in CEGUI::Combobox, CEGUI::Spinner, CEGUI::StaticText, CEGUI::TabControl, and CEGUI::Titlebar. Definition at line 3593 of file CEGUIWindow.cpp. References EventFontChanged, EventNamespace, CEGUI::EventSet::fireEvent(), and requestRedraw(). Referenced by CEGUI::Titlebar::onFontChanged(), CEGUI::StaticText::onFontChanged(), CEGUI::Spinner::onFontChanged(), CEGUI::Combobox::onFontChanged(), and setFont(). |
|
Handler called when the window is hidden.
Definition at line 3633 of file CEGUIWindow.cpp. References EventHidden, EventNamespace, CEGUI::EventSet::fireEvent(), and requestRedraw(). Referenced by setVisible(). |
|
Handler called when the horizontal alignment setting for the window is changed.
Definition at line 3971 of file CEGUIWindow.cpp. References EventHorizontalAlignmentChanged, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by setHorizontalAlignment(). |
|
Handler called when the window's client assigned ID is changed.
Definition at line 3620 of file CEGUIWindow.cpp. References EventIDChanged, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by setID(). |
|
Handler called when the window's setting for inheriting alpha-blending is changed.
Definition at line 3695 of file CEGUIWindow.cpp. References EventInheritsAlphaChanged, EventNamespace, CEGUI::EventSet::fireEvent(), and requestRedraw(). Referenced by setInheritsAlpha(). |
|
Handler called when a key as been depressed while this window has input focus.
Reimplemented in CEGUI::Editbox, and CEGUI::MultiLineEditbox. Definition at line 3934 of file CEGUIWindow.cpp. References EventKeyDown, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectKeyDown(), CEGUI::MultiLineEditbox::onKeyDown(), and CEGUI::Editbox::onKeyDown(). |
|
Handler called when a key as been released while this window has input focus.
Definition at line 3940 of file CEGUIWindow.cpp. References EventKeyUp, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectKeyUp(). |
|
Handler called when the window's active metrics system is changed.
Definition at line 3676 of file CEGUIWindow.cpp. References EventMetricsModeChanged, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by setMetricsMode(). |
|
Handler called when a mouse button has been depressed within this window's area.
Reimplemented in CEGUI::ButtonBase, CEGUI::ComboDropList, CEGUI::DragContainer, CEGUI::Editbox, CEGUI::FrameWindow, CEGUI::Listbox, CEGUI::ListHeaderSegment, CEGUI::MenuItem, CEGUI::MultiColumnList, CEGUI::MultiLineEditbox, CEGUI::Scrollbar, CEGUI::Slider, CEGUI::Thumb, and CEGUI::Titlebar. Definition at line 3879 of file CEGUIWindow.cpp. References CEGUI::MouseEventArgs::button, d_autoRepeat, d_repeatButton, d_repeatElapsed, d_repeating, doRiseOnClick(), EventMouseButtonDown, EventNamespace, CEGUI::EventSet::fireEvent(), getTooltip(), CEGUI::LeftButton, and CEGUI::Tooltip::setTargetWindow(). Referenced by generateAutoRepeatEvent(), CEGUI::System::injectMouseButtonDown(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Slider::onMouseButtonDown(), CEGUI::Scrollbar::onMouseButtonDown(), CEGUI::MultiLineEditbox::onMouseButtonDown(), CEGUI::MultiColumnList::onMouseButtonDown(), CEGUI::MenuItem::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::Listbox::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::Editbox::onMouseButtonDown(), CEGUI::DragContainer::onMouseButtonDown(), and CEGUI::ButtonBase::onMouseButtonDown(). |
|
Handler called when a mouse button has been released within this window's area.
Reimplemented in CEGUI::ButtonBase, CEGUI::Checkbox, CEGUI::ComboDropList, CEGUI::DragContainer, CEGUI::Editbox, CEGUI::FrameWindow, CEGUI::ListHeaderSegment, CEGUI::MenuItem, CEGUI::MultiLineEditbox, CEGUI::PushButton, CEGUI::RadioButton, CEGUI::TabButton, and CEGUI::Titlebar. Definition at line 3907 of file CEGUIWindow.cpp. References d_repeatButton, EventMouseButtonUp, EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::NoButton. Referenced by CEGUI::System::injectMouseButtonUp(), CEGUI::Titlebar::onMouseButtonUp(), CEGUI::MultiLineEditbox::onMouseButtonUp(), CEGUI::MenuItem::onMouseButtonUp(), CEGUI::ListHeaderSegment::onMouseButtonUp(), CEGUI::FrameWindow::onMouseButtonUp(), CEGUI::Editbox::onMouseButtonUp(), CEGUI::DragContainer::onMouseButtonUp(), CEGUI::ComboDropList::onMouseButtonUp(), and CEGUI::ButtonBase::onMouseButtonUp(). |
|
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 3916 of file CEGUIWindow.cpp. References EventMouseClick, 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 in CEGUI::Editbox, CEGUI::ListHeaderSegment, CEGUI::MultiLineEditbox, and CEGUI::Titlebar. Definition at line 3922 of file CEGUIWindow.cpp. References EventMouseDoubleClick, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectMouseButtonDown(), CEGUI::Titlebar::onMouseDoubleClicked(), CEGUI::MultiLineEditbox::onMouseDoubleClicked(), CEGUI::ListHeaderSegment::onMouseDoubleClicked(), and CEGUI::Editbox::onMouseDoubleClicked(). |
|
Handler called when the mouse cursor has entered this window's area.
Reimplemented in CEGUI::Tooltip. Definition at line 3831 of file CEGUIWindow.cpp. References EventMouseEnters, EventNamespace, CEGUI::EventSet::fireEvent(), getMouseCursor(), CEGUI::MouseCursor::getSingleton(), getTooltip(), CEGUI::MouseCursor::setImage(), and CEGUI::Tooltip::setTargetWindow(). Referenced by CEGUI::System::injectMouseMove(), and CEGUI::Tooltip::onMouseEnters(). |
|
Handler called when the mouse cursor has left this window's area.
Reimplemented in CEGUI::ButtonBase, CEGUI::ListHeaderSegment, and CEGUI::MenuItem. Definition at line 3847 of file CEGUIWindow.cpp. References EventMouseLeaves, EventNamespace, CEGUI::EventSet::fireEvent(), getTooltip(), and CEGUI::Tooltip::setTargetWindow(). Referenced by CEGUI::System::injectMouseLeaves(), CEGUI::System::injectMouseMove(), CEGUI::MenuItem::onMouseLeaves(), CEGUI::ListHeaderSegment::onMouseLeaves(), and CEGUI::ButtonBase::onMouseLeaves(). |
|
Handler called when the mouse cursor has been moved within this window's area.
Reimplemented in CEGUI::ButtonBase, CEGUI::ComboDropList, CEGUI::DragContainer, CEGUI::Editbox, CEGUI::FrameWindow, CEGUI::Listbox, CEGUI::ListHeaderSegment, CEGUI::MenuItem, CEGUI::MultiLineEditbox, CEGUI::Thumb, and CEGUI::Titlebar. Definition at line 3860 of file CEGUIWindow.cpp. References EventMouseMove, EventNamespace, CEGUI::EventSet::fireEvent(), getTooltip(), and CEGUI::Tooltip::resetTimer(). Referenced by CEGUI::System::injectMouseMove(), CEGUI::Titlebar::onMouseMove(), CEGUI::MultiLineEditbox::onMouseMove(), CEGUI::MenuItem::onMouseMove(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::Listbox::onMouseMove(), CEGUI::FrameWindow::onMouseMove(), CEGUI::Editbox::onMouseMove(), CEGUI::DragContainer::onMouseMove(), and CEGUI::ButtonBase::onMouseMove(). |
|
Handler called when a mouse button has been triple-clicked within this window's area.
Reimplemented in CEGUI::Editbox, and CEGUI::MultiLineEditbox. Definition at line 3928 of file CEGUIWindow.cpp. References EventMouseTripleClick, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectMouseButtonDown(), CEGUI::MultiLineEditbox::onMouseTripleClicked(), and CEGUI::Editbox::onMouseTripleClicked(). |
|
Handler called when the mouse wheel (z-axis) position changes within this window's area.
Reimplemented in CEGUI::Listbox, CEGUI::MultiColumnList, CEGUI::MultiLineEditbox, CEGUI::ScrollablePane, CEGUI::Scrollbar, CEGUI::Slider, and CEGUI::StaticText. Definition at line 3873 of file CEGUIWindow.cpp. References EventMouseWheel, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by CEGUI::System::injectMouseWheelChange(), CEGUI::StaticText::onMouseWheel(), CEGUI::Slider::onMouseWheel(), CEGUI::Scrollbar::onMouseWheel(), CEGUI::ScrollablePane::onMouseWheel(), CEGUI::MultiLineEditbox::onMouseWheel(), CEGUI::MultiColumnList::onMouseWheel(), and CEGUI::Listbox::onMouseWheel(). |
|
Handler called when the window's position changes.
Definition at line 3577 of file CEGUIWindow.cpp. References EventMoved, EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw(). Referenced by onParentSized(), and setWindowArea_impl(). |
|
Handler called when the window's setting for being destroyed automatically be it's parent is changed.
Definition at line 3689 of file CEGUIWindow.cpp. References EventDestroyedByParentChanged, EventNamespace, and CEGUI::EventSet::fireEvent(). Referenced by 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::ScrolledContainer. Definition at line 3790 of file CEGUIWindow.cpp. References d_area, CEGUI::URect::d_max, CEGUI::URect::d_min, CEGUI::UDim::d_scale, CEGUI::UVector2::d_x, CEGUI::UVector2::d_y, EventNamespace, EventParentSized, CEGUI::EventSet::fireEvent(), CEGUI::URect::getPosition(), CEGUI::URect::getSize(), onMoved(), onSized(), and setWindowArea_impl(). Referenced by addChild_impl(), CEGUI::ScrolledContainer::onParentSized(), and CEGUI::System::setGUISheet(). |
|
Handler called when rendering for this window has ended.
Definition at line 3742 of file CEGUIWindow.cpp. References EventNamespace, EventRenderingEnded, and CEGUI::EventSet::fireEvent(). Referenced by render(). |
|
Handler called when rendering for this window has started.
Definition at line 3736 of file CEGUIWindow.cpp. References EventNamespace, EventRenderingStarted, and CEGUI::EventSet::fireEvent(). Referenced by render(). |
|
Handler called when the window is shown (made visible).
Definition at line 3626 of file CEGUIWindow.cpp. References EventNamespace, EventShown, CEGUI::EventSet::fireEvent(), and requestRedraw(). Referenced by setVisible(). |
|
Handler called when the window's size changes.
Reimplemented in CEGUI::ItemListBase, CEGUI::Listbox, CEGUI::MultiColumnList, CEGUI::MultiLineEditbox, CEGUI::PushButton, CEGUI::ScrollablePane, CEGUI::Static, CEGUI::StaticImage, and CEGUI::StaticText. Definition at line 3559 of file CEGUIWindow.cpp. References d_children, EventNamespace, EventSized, CEGUI::EventSet::fireEvent(), getChildCount(), performChildWindowLayout(), and requestRedraw(). Referenced by onParentSized(), CEGUI::Static::onSized(), CEGUI::ScrollablePane::onSized(), CEGUI::PushButton::onSized(), CEGUI::MultiLineEditbox::onSized(), CEGUI::MultiColumnList::onSized(), CEGUI::Listbox::onSized(), CEGUI::ItemListBase::onSized(), and setWindowArea_impl(). |
|
Handler called when the window's text is changed.
Reimplemented in CEGUI::Combobox, CEGUI::Editbox, CEGUI::FrameWindow, CEGUI::MultiLineEditbox, CEGUI::Spinner, CEGUI::StaticText, CEGUI::TextItem, and CEGUI::Tooltip. Definition at line 3586 of file CEGUIWindow.cpp. References EventNamespace, EventTextChanged, CEGUI::EventSet::fireEvent(), and requestRedraw(). Referenced by CEGUI::Tooltip::onTextChanged(), CEGUI::TextItem::onTextChanged(), CEGUI::StaticText::onTextChanged(), CEGUI::Spinner::onTextChanged(), CEGUI::MultiLineEditbox::onTextChanged(), CEGUI::Editbox::onTextChanged(), CEGUI::Combobox::onTextChanged(), and setText(). |
|
Handler called when the vertical alignment setting for the window is changed.
Definition at line 3966 of file CEGUIWindow.cpp. References EventNamespace, EventVerticalAlignmentChanged, and CEGUI::EventSet::fireEvent(). Referenced by setVerticalAlignment(). |
|
Notify 'this' and all siblings of a ZOrder change event.
Definition at line 2081 of file CEGUIWindow.cpp. References d_children, d_parent, getChildCount(), and onZChanged(). Referenced by addChildWindow(), moveToBack(), moveToFront_impl(), removeChildWindow(), and setAlwaysOnTop(). |
|
Handler called when the z-order position of this window has changed.
Definition at line 3748 of file CEGUIWindow.cpp. References EventNamespace, EventZOrderChanged, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw(). Referenced by onZChange_impl(). |
|
Definition at line 3932 of file CEGUIWindow.h. |
|
method called to perform extended laying out of attached child windows. The system may call this at various times (like when it is resized for example), and it may be invoked directly where required.
Reimplemented in CEGUI::TabControl. Definition at line 3375 of file CEGUIWindow.cpp. References d_lookName, CEGUI::String::empty(), CEGUI::Errors, CEGUI::Logger::getSingleton(), CEGUI::WidgetLookManager::getSingleton(), CEGUI::WidgetLookManager::getWidgetLook(), CEGUI::WidgetLookFeel::layoutChildWidgets(), and CEGUI::Logger::logEvent(). Referenced by CEGUI::ScrollablePane::configureScrollbars(), CEGUI::StaticText::initialise(), CEGUI::Spinner::initialise(), CEGUI::Slider::initialise(), CEGUI::Scrollbar::initialise(), CEGUI::MultiLineEditbox::initialise(), CEGUI::MultiColumnList::initialise(), CEGUI::Listbox::initialise(), CEGUI::FrameWindow::initialise(), CEGUI::Combobox::initialise(), CEGUI::Titlebar::onFontChanged(), onSized(), CEGUI::MultiLineEditbox::onTextChanged(), CEGUI::TabControl::performChildWindowLayout(), CEGUI::StaticText::setHorizontalScrollbarEnabled(), and CEGUI::StaticText::setVerticalScrollbarEnabled(). |
|
Update the rendering cache. Populates the Window's RenderCache with imagery to be sent to the renderer. Reimplemented in CEGUI::ItemListBase, CEGUI::Listbox, CEGUI::MultiColumnList, CEGUI::MultiLineEditbox, CEGUI::Static, CEGUI::StaticImage, CEGUI::StaticText, and CEGUI::TextItem. Definition at line 3554 of file CEGUIWindow.h. Referenced by drawSelf(). |
|
Convert the given area from relative to absolute metrics.
Definition at line 1352 of file CEGUIWindow.cpp. References relativeToAbsolute_impl(). |
|
Convert the given size from relative to absolute metrics.
Definition at line 1343 of file CEGUIWindow.cpp. References relativeToAbsolute_impl(). |
|
Convert the given position from relative to absolute metrics.
Definition at line 1334 of file CEGUIWindow.cpp. References relativeToAbsolute_impl(). Referenced by CEGUI::MultiLineEditbox::getTextIndexFromPosition(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Thumb::onMouseButtonDown(), CEGUI::MultiColumnList::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::Listbox::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::DragContainer::onMouseButtonDown(), CEGUI::Titlebar::onMouseMove(), CEGUI::Thumb::onMouseMove(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::Listbox::onMouseMove(), CEGUI::FrameWindow::onMouseMove(), CEGUI::DragContainer::onMouseMove(), CEGUI::ComboDropList::onMouseMove(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::ListHeader::segmentMovedHandler(), and windowToScreen(). |
|
Definition at line 2274 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getWindowSize_impl(), and PixelAligned. |
|
Definition at line 2259 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, 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 2242 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, getWindowSize_impl(), and PixelAligned. Referenced by relativeToAbsolute(). |
|
Convert the given X co-ordinate from relative to absolute metrics.
Definition at line 1316 of file CEGUIWindow.cpp. References relativeToAbsoluteX_impl(). Referenced by CEGUI::MultiColumnList::handleHeaderScroll(), CEGUI::MultiColumnList::insertColumn(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::ListHeader::segmentMovedHandler(), CEGUI::MultiColumnList::setColumnHeaderWidth(), and windowToScreenX(). |
|
Definition at line 2289 of file CEGUIWindow.cpp. References CEGUI::Size::d_width, getWindowSize_impl(), and PixelAligned. Referenced by CEGUI::Thumb::onMouseMove(), and relativeToAbsoluteX(). |
|
Convert the given Y co-ordinate from relative to absolute metrics.
Definition at line 1325 of file CEGUIWindow.cpp. References relativeToAbsoluteY_impl(). Referenced by CEGUI::TabControlProperties::AbsoluteTabHeight::getDefault(), CEGUI::TabControl::setRelativeTabHeight(), CEGUI::TabControl::setRelativeTabTextPadding(), and windowToScreenY(). |
|
Definition at line 2301 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, getWindowSize_impl(), and PixelAligned. Referenced by CEGUI::Thumb::onMouseMove(), and relativeToAbsoluteY(). |
|
Releases input capture from this Window. If this Window does not have inputs captured, nothing happens.
Definition at line 1173 of file CEGUIWindow.cpp. References d_captureWindow, d_oldCapture, d_restoreOldCapture, isCapturedByThis(), moveToFront(), and onCaptureLost(). Referenced by destroy(), CEGUI::Combobox::hideDropList(), CEGUI::DragContainer::onDragEnabledChanged(), CEGUI::ComboDropList::onMouseButtonDown(), CEGUI::Titlebar::onMouseButtonUp(), CEGUI::MultiLineEditbox::onMouseButtonUp(), CEGUI::MenuItem::onMouseButtonUp(), CEGUI::ListHeaderSegment::onMouseButtonUp(), CEGUI::FrameWindow::onMouseButtonUp(), CEGUI::Editbox::onMouseButtonUp(), CEGUI::DragContainer::onMouseButtonUp(), CEGUI::ComboDropList::onMouseButtonUp(), CEGUI::ButtonBase::onMouseButtonUp(), CEGUI::Titlebar::setDraggingEnabled(), and CEGUI::ListHeaderSegment::setSizingEnabled(). |
|
Remove all Event objects from the EventSet.
Definition at line 85 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::EventSet::~EventSet(). |
|
Remove given window from child list.
Reimplemented in CEGUI::ScrollablePane. Definition at line 2055 of file CEGUIWindow.cpp. References d_children, removeWindowFromDrawList(), and setParent(). Referenced by CEGUI::ScrollablePane::removeChild_impl(), removeChildWindow(), and 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 1025 of file CEGUIWindow.cpp. References d_children, getChildCount(), getID(), and removeChildWindow(). |
|
Remove the specified Window form this windows child list.
Definition at line 1011 of file CEGUIWindow.cpp. References onChildRemoved(), onZChange_impl(), and removeChild_impl(). |
|
Remove the named Window from this windows child list.
Definition at line 991 of file CEGUIWindow.cpp. References d_children, getChildCount(), and getName(). Referenced by addChild_impl(), cleanupChildren(), CEGUI::GUILayout_xmlHandler::cleanupLoadedWindows(), destroy(), CEGUI::TabControl::removeButtonForTabContent(), CEGUI::ScrollablePane::removeChild_impl(), removeChildWindow(), CEGUI::ListHeader::removeColumn(), CEGUI::ItemListBase::removeItem(), CEGUI::TabControl::removeTab(), CEGUI::ItemListBase::resetList_impl(), and CEGUI::Tooltip::switchToInactiveState(). |
|
Removes the Event with the given name. All connections to the event are disconnected.
Definition at line 69 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Removes a Property from the PropertySet.
Definition at line 55 of file CEGUIPropertySet.cpp. |
|
Removes the window from the drawing list. If the window is not attached to the drawing list then nothing happens.
Definition at line 3508 of file CEGUIWindow.cpp. References d_drawList. Referenced by moveToBack(), moveToFront_impl(), and removeChild_impl(). |
|
Causes the Window object to render itself and all of it's attached children.
Definition at line 1871 of file CEGUIWindow.cpp. References CEGUI::Renderer::advanceZValue(), d_drawList, drawSelf(), getChildCount(), CEGUI::Renderer::getCurrentZ(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), isVisible(), onRenderingEnded(), and onRenderingStarted(). Referenced by CEGUI::System::renderGUI(). |
|
Signal the System object to redraw (at least) this Window on the next render cycle.
Definition at line 1261 of file CEGUIWindow.cpp. References d_needsRedraw, CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw(). Referenced by CEGUI::TabControl::addTab(), CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::MenuItem::closePopupMenu(), CEGUI::MultiLineEditbox::formatText(), CEGUI::MultiLineEditbox::handle_scrollChange(), CEGUI::Listbox::handle_scrollChange(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::MultiColumnList::handleHorzScrollbar(), CEGUI::StaticText::handleScrollbarChange(), CEGUI::MultiColumnList::handleUpdatedItemData(), CEGUI::Listbox::handleUpdatedItemData(), CEGUI::MultiColumnList::handleVertScrollbar(), CEGUI::ListHeaderSegment::initSegmentHoverState(), CEGUI::ListHeaderSegment::initSizingHoverState(), onActivated(), CEGUI::FrameWindow::onActivated(), onAlphaChanged(), CEGUI::MenuItem::onCaptureLost(), CEGUI::ButtonBase::onCaptureLost(), CEGUI::MultiLineEditbox::onCaratMoved(), CEGUI::Editbox::onCaratMoved(), onClippingChanged(), onDeactivated(), CEGUI::FrameWindow::onDeactivated(), onDisabled(), onEnabled(), onFontChanged(), CEGUI::StaticText::onFontChanged(), onHidden(), CEGUI::MultiLineEditbox::onHorzScrollbarModeChanged(), CEGUI::Listbox::onHorzScrollbarModeChanged(), onInheritsAlphaChanged(), CEGUI::MultiColumnList::onListColumnMoved(), CEGUI::MultiColumnList::onListColumnSized(), CEGUI::MultiColumnList::onListContentsChanged(), CEGUI::Listbox::onListContentsChanged(), CEGUI::ItemListBase::onListContentsChanged(), CEGUI::Editbox::onMaskCodePointChanged(), CEGUI::Editbox::onMaskedRenderingModeChanged(), CEGUI::MenuItem::onMouseButtonDown(), CEGUI::ButtonBase::onMouseButtonDown(), CEGUI::MenuItem::onMouseLeaves(), CEGUI::ListHeaderSegment::onMouseLeaves(), CEGUI::ButtonBase::onMouseLeaves(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::ProgressBar::onProgressChanged(), CEGUI::Editbox::onReadOnlyChanged(), CEGUI::FrameWindow::onRollupToggled(), CEGUI::ListHeaderSegment::onSegmentDragPositionChanged(), CEGUI::ListHeaderSegment::onSegmentSized(), CEGUI::TabControl::onSelectionChanged(), CEGUI::MultiColumnList::onSelectionChanged(), CEGUI::Listbox::onSelectionChanged(), onShown(), onSized(), CEGUI::MultiColumnList::onSortColumnChanged(), CEGUI::MultiColumnList::onSortDirectionChanged(), CEGUI::ListHeaderSegment::onSortDirectionChanged(), CEGUI::Listbox::onSortModeChanged(), onTextChanged(), CEGUI::TextItem::onTextChanged(), CEGUI::StaticText::onTextChanged(), CEGUI::MultiLineEditbox::onTextSelectionChanged(), CEGUI::Editbox::onTextSelectionChanged(), CEGUI::MultiLineEditbox::onVertScrollbarModeChanged(), CEGUI::Listbox::onVertScrollbarModeChanged(), CEGUI::MenuItem::openPopupMenu(), CEGUI::TabControl::removeTab(), CEGUI::Static::setBackgroundColours(), CEGUI::Static::setBackgroundEnabled(), CEGUI::Static::setBackgroundImage(), CEGUI::Titlebar::setCaptionColour(), CEGUI::PushButton::setCustomImageryAutoSized(), CEGUI::PushButton::setDisabledImage(), CEGUI::MenuItem::setDisabledTextColour(), 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::MenuItem::setHoverColour(), CEGUI::PushButton::setHoverImage(), CEGUI::ButtonBase::setHoverTextColour(), CEGUI::StaticImage::setImage(), CEGUI::StaticImage::setImageColours(), CEGUI::MultiLineEditbox::setInactiveSelectBrushColour(), CEGUI::Editbox::setInactiveSelectBrushColour(), CEGUI::PushButton::setNormalImage(), CEGUI::MultiLineEditbox::setNormalSelectBrushColour(), CEGUI::Editbox::setNormalSelectBrushColour(), CEGUI::MultiLineEditbox::setNormalTextColour(), CEGUI::MenuItem::setNormalTextColour(), CEGUI::Editbox::setNormalTextColour(), CEGUI::ButtonBase::setNormalTextColour(), CEGUI::MenuItem::setOpenedColour(), CEGUI::MenuItem::setPushedColour(), CEGUI::PushButton::setPushedImage(), CEGUI::ButtonBase::setPushedTextColour(), CEGUI::ListHeader::setSegmentOffset(), CEGUI::RadioButton::setSelected(), CEGUI::Checkbox::setSelected(), CEGUI::MultiLineEditbox::setSelectedTextColour(), CEGUI::Editbox::setSelectedTextColour(), CEGUI::ListHeaderSegment::setSortDirection(), CEGUI::PushButton::setStandardImageryEnabled(), CEGUI::StaticText::setTextColours(), CEGUI::StaticText::setVerticalFormatting(), CEGUI::StaticImage::setVerticalFormatting(), CEGUI::MenuItem::updateInternalState(), 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 1003 of file CEGUIWindow.h. |
|
Convert a URect screen area to a window area, specified in whichever metrics mode is active.
Definition at line 1863 of file CEGUIWindow.cpp. References CEGUI::URect::asAbsolute(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Renderer::getSize(), and screenToWindow(). |
|
Convert a screen relative UVector2 point to a window co-ordinate point, specified in whichever metrics mode is active.
Definition at line 1854 of file CEGUIWindow.cpp. References CEGUI::UVector2::asAbsolute(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Renderer::getSize(), and screenToWindow(). |
|
Convert a screen area to a window area, specified in whichever metrics mode is active.
Definition at line 1631 of file CEGUIWindow.cpp. References CEGUI::Rect::d_bottom, CEGUI::Rect::d_left, CEGUI::Rect::d_right, CEGUI::Rect::d_top, getAbsoluteHeight(), getAbsoluteWidth(), getMetricsMode(), CEGUI::Relative, windowToScreenX(), and windowToScreenY(). |
|
Convert a pixel screen size to a window based size, specified in whichever metrics mode is active.
Definition at line 1613 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, getAbsoluteHeight(), getAbsoluteWidth(), getMetricsMode(), and CEGUI::Relative. |
|
Convert a screen relative pixel position to a window co-ordinate position, specified in whichever metrics mode is active.
Definition at line 1593 of file CEGUIWindow.cpp. References CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getAbsoluteHeight(), getAbsoluteWidth(), getMetricsMode(), CEGUI::Relative, windowToScreenX(), and windowToScreenY(). Referenced by CEGUI::MultiLineEditbox::getTextIndexFromPosition(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Thumb::onMouseButtonDown(), CEGUI::MultiColumnList::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseButtonDown(), CEGUI::Listbox::onMouseButtonDown(), CEGUI::FrameWindow::onMouseButtonDown(), CEGUI::DragContainer::onMouseButtonDown(), CEGUI::Titlebar::onMouseMove(), CEGUI::Thumb::onMouseMove(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::Listbox::onMouseMove(), CEGUI::FrameWindow::onMouseMove(), CEGUI::DragContainer::onMouseMove(), CEGUI::ComboDropList::onMouseMove(), screenToWindow(), CEGUI::ListHeader::segmentDragHandler(), and CEGUI::ListHeader::segmentMovedHandler(). |
|
Convert a screen relative UDim co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.
Definition at line 1836 of file CEGUIWindow.cpp. References CEGUI::UDim::asAbsolute(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Renderer::getWidth(), and screenToWindowX(). |
|
Convert a screen relative pixel co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.
Definition at line 1559 of file CEGUIWindow.cpp. References getAbsoluteWidth(), getMetricsMode(), CEGUI::Relative, and windowToScreenX(). Referenced by screenToWindowX(). |
|
Convert a screen relative UDim co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.
Definition at line 1845 of file CEGUIWindow.cpp. References CEGUI::UDim::asAbsolute(), CEGUI::Renderer::getHeight(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), and screenToWindowY(). |
|
Convert a screen relative pixel co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.
Definition at line 1576 of file CEGUIWindow.cpp. References getAbsoluteHeight(), getMetricsMode(), CEGUI::Relative, and windowToScreenY(). Referenced by screenToWindowY(). |
|
Set the current alpha value for this window.
Definition at line 1221 of file CEGUIWindow.cpp. References d_alpha, and onAlphaChanged(). Referenced by CEGUI::PopupMenu::closePopupMenu(), CEGUI::Tooltip::doFadeInState(), CEGUI::Tooltip::doFadeOutState(), CEGUI::DragContainer::initialiseDragging(), CEGUI::DragContainer::onCaptureLost(), CEGUI::PopupMenu::openPopupMenu(), CEGUI::Tooltip::switchToInactiveState(), and CEGUI::PopupMenu::updateSelf(). |
|
Set whether this window is always on top, or not.
Definition at line 732 of file CEGUIWindow.cpp. References addChild_impl(), d_alwaysOnTop, d_parent, isAlwaysOnTop(), onAlwaysOnTopChanged(), onZChange_impl(), and removeChild_impl(). Referenced by CEGUI::ScrollablePane::initialise(), CEGUI::Titlebar::Titlebar(), and CEGUI::Tooltip::Tooltip(). |
|
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 929 of file CEGUIWindow.cpp. References getMetricsMode(), and setRect(). |
|
Set the current auto-repeat delay setting for this window.
Definition at line 2891 of file CEGUIWindow.cpp. References d_repeatDelay. |
|
Set the current auto-repeat rate setting for this window.
Definition at line 2906 of file CEGUIWindow.cpp. References d_repeatRate. |
|
Set whether this Window will be clipped by its parent window(s).
Definition at line 838 of file CEGUIWindow.cpp. References d_clippedByParent, and onClippingChanged(). Referenced by CEGUI::DragContainer::initialiseDragging(), CEGUI::DragContainer::onCaptureLost(), CEGUI::PopupMenu::PopupMenu(), and CEGUI::Tooltip::Tooltip(). |
|
Set whether or not this Window will automatically be destroyed when its parent Window is destroyed.
Definition at line 2475 of file CEGUIWindow.cpp. References d_destroyedByParent, and onParentDestroyChanged(). Referenced by CEGUI::Tooltip::Tooltip(). |
|
Set whether the window wants inputs passed to its attached child windows when the window has inputs captured.
Definition at line 2974 of file CEGUIWindow.cpp. References d_distCapturedInputs. Referenced by CEGUI::ComboDropList::ComboDropList(). |
|
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 761 of file CEGUIWindow.cpp. References d_enabled, d_parent, isDisabled(), onDisabled(), and onEnabled(). Referenced by CEGUI::FrameWindow::setCloseButtonEnabled(), and CEGUI::FrameWindow::setTitleBarEnabled(). |
|
Set the font used by this Window.
Definition at line 949 of file CEGUIWindow.cpp. References CEGUI::String::empty(), getFont(), CEGUI::FontManager::getSingleton(), and setFont(). |
|
Set the font used by this Window.
Definition at line 938 of file CEGUIWindow.cpp. References d_font, and onFontChanged(). Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::Combobox::initialise(), CEGUI::Spinner::onFontChanged(), CEGUI::Combobox::onFontChanged(), setFont(), and CEGUI::FrameWindow::setTitlebarFont(). |
|
set the height of the Window using the specified metrics system.
Definition at line 2655 of file CEGUIWindow.cpp. References getWidth(), and 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 876 of file CEGUIWindow.cpp. References getWidth(), and setSize(). Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(). |
|
Set the horizontal alignment. Modifies the horizontal alignment for the window. This setting affects how the windows position is interpreted relative to its parent.
Definition at line 3323 of file CEGUIWindow.cpp. References d_horzAlign, and onHorizontalAlignmentChanged(). Referenced by CEGUI::WidgetComponent::create(). |
|
Set the current ID for the Window.
Definition at line 2436 of file CEGUIWindow.cpp. References d_ID, and onIDChanged(). Referenced by CEGUI::ListHeader::createInitialisedSegment(). |
|
Sets whether this Window will inherit alpha from its parent windows.
Definition at line 1232 of file CEGUIWindow.cpp. References d_inheritsAlpha, getEffectiveAlpha(), CEGUI::EventArgs::handled, onAlphaChanged(), and onInheritsAlphaChanged(). |
|
Set whether this window inherits Tooltip text from its parent when its own tooltip text is not set.
Definition at line 3126 of file CEGUIWindow.cpp. References d_inheritsTipText. |
|
Set the LookNFeel that shoule be used for this window.
Definition at line 3339 of file CEGUIWindow.cpp. References d_falagardType, d_lookName, d_name, CEGUI::String::empty(), CEGUI::WidgetLookManager::getSingleton(), CEGUI::Logger::getSingleton(), CEGUI::WidgetLookManager::getWidgetLook(), CEGUI::Informative, CEGUI::WidgetLookFeel::initialiseWidget(), and CEGUI::Logger::logEvent(). Referenced by CEGUI::WidgetComponent::create(), and CEGUI::WindowManager::createWindow(). |
|
Set the maximum size for this window.
Definition at line 2386 of file CEGUIWindow.cpp. References CEGUI::Absolute, cegui_absdim, cegui_reldim, CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::UVector2::d_x, CEGUI::UVector2::d_y, getMetricsMode(), PixelAligned, and setWindowMaxSize(). |
|
set the current metrics mode employed by the Window
Definition at line 2452 of file CEGUIWindow.cpp. References d_metricsMode, getMetricsMode(), CEGUI::Inherited, and onMetricsChanged(). Referenced by CEGUI::ListHeader::createInitialisedSegment(). |
|
Set the minimum size for this window.
Definition at line 2364 of file CEGUIWindow.cpp. References CEGUI::Absolute, cegui_absdim, cegui_reldim, CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::UVector2::d_x, CEGUI::UVector2::d_y, getMetricsMode(), PixelAligned, and setWindowMinSize(). Referenced by CEGUI::ListHeader::createInitialisedSegment(). |
|
Set the modal state for this Window.
Definition at line 3358 of file CEGUIWindow.cpp. References activate(), getModalState(), CEGUI::System::getSingleton(), and CEGUI::System::setModalTarget(). |
|
Set whether mouse button down event autorepeat is enabled for this window.
Definition at line 2875 of file CEGUIWindow.cpp. References d_autoRepeat, d_repeatButton, and CEGUI::NoButton. Referenced by CEGUI::Spinner::initialise(). |
|
Set the mouse cursor image to be used when the mouse enters this window.
Definition at line 2427 of file CEGUIWindow.cpp. References d_mouseCursor, CEGUI::Imageset::getImage(), CEGUI::ImagesetManager::getImageset(), and CEGUI::ImagesetManager::getSingleton(). |
|
Set the mouse cursor image to be used when the mouse enters this window.
Definition at line 1766 of file CEGUIWindow.h. |
|
Set the mouse cursor image to be used when the mouse enters this window.
Definition at line 1753 of file CEGUIWindow.h. |
|
Set the mute state for this EventSet.
Definition at line 193 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_muted. Referenced by CEGUI::Spinner::onTextInputModeChanged(), and CEGUI::Spinner::onValueChanged(). |
|
Set the parent window for this window object.
Definition at line 1934 of file CEGUIWindow.cpp. References d_parent. Referenced by addChild_impl(), and removeChild_impl(). |
|
set the position of the window using the specified metrics system.
Definition at line 2625 of file CEGUIWindow.cpp. References cegui_absdim, cegui_reldim, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getInheritedMetricsMode(), CEGUI::Inherited, PixelAligned, CEGUI::Relative, and setWindowPosition(). |
|
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 918 of file CEGUIWindow.cpp. References getMetricsMode(). Referenced by CEGUI::DragContainer::doDragging(), CEGUI::DragContainer::onCaptureLost(), CEGUI::Thumb::onMouseMove(), CEGUI::MenuItem::openPopupMenu(), CEGUI::TabControl::performChildWindowLayout(), CEGUI::Tooltip::positionSelf(), setXPosition(), setYPosition(), and CEGUI::ScrollablePane::updateContainerPosition(). |
|
Sets the current value of a Property.
Definition at line 114 of file CEGUIPropertySet.cpp. Referenced by CEGUI::PropertyInitialiser::apply(), CEGUI::GUILayout_xmlHandler::elementStart(), and CEGUI::WidgetLookFeel::initialiseWidget(). |
|
set the Rect that describes the Window area using the specified metrics system.
Definition at line 2681 of file CEGUIWindow.cpp. References cegui_absdim, cegui_reldim, CEGUI::Rect::d_bottom, CEGUI::Rect::d_left, CEGUI::Rect::d_right, CEGUI::Rect::d_top, getInheritedMetricsMode(), CEGUI::Inherited, PixelAligned, CEGUI::Relative, and setWindowArea(). Referenced by CEGUI::WidgetComponent::layout(), and setAreaRect(). |
|
Set whether this window will remember and restore the previous window that had inputs captured.
Definition at line 1204 of file CEGUIWindow.cpp. References d_children, d_restoreOldCapture, and getChildCount(). Referenced by CEGUI::ComboDropList::initialise(). |
|
Set whether this window will rise to the top of the z-order when clicked with the left mouse button.
Definition at line 2098 of file CEGUIWindow.h. |
|
set the size of the Window using the specified metrics system.
Definition at line 2664 of file CEGUIWindow.cpp. References cegui_absdim, cegui_reldim, CEGUI::Size::d_height, CEGUI::Size::d_width, getInheritedMetricsMode(), CEGUI::Inherited, PixelAligned, CEGUI::Relative, and setWindowSize(). |
|
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 886 of file CEGUIWindow.cpp. References getMetricsMode(). Referenced by CEGUI::ListHeader::createInitialisedSegment(), CEGUI::ScrollablePane::initialise(), CEGUI::Tooltip::onTextChanged(), CEGUI::TabControl::performChildWindowLayout(), setHeight(), CEGUI::Tooltip::setTargetWindow(), and setWidth(). |
|
Set the current text string for the Window.
Definition at line 854 of file CEGUIWindow.cpp. References d_text, and onTextChanged(). Referenced by CEGUI::ListHeader::createInitialisedSegment(), CEGUI::Combobox::droplist_SelectionAcceptedHandler(), CEGUI::Combobox::editbox_TextChangedEventHandler(), CEGUI::Editbox::handleBackspace(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::Editbox::handleDelete(), CEGUI::Spinner::handleEditTextChange(), CEGUI::Editbox::onCharacter(), CEGUI::Spinner::onTextChanged(), CEGUI::FrameWindow::onTextChanged(), CEGUI::Combobox::onTextChanged(), CEGUI::Spinner::onTextInputModeChanged(), CEGUI::Spinner::onValueChanged(), CEGUI::Tooltip::setTargetWindow(), CEGUI::TabButton::setTargetWindow(), and setTooltipText(). |
|
Set the custom Tooltip object for this Window. This value may be NULL to indicate that the Window should use the system default Tooltip object.
Definition at line 3055 of file CEGUIWindow.cpp. References d_customTip, d_weOwnTip, CEGUI::WindowManager::destroyWindow(), and CEGUI::WindowManager::getSingleton(). |
|
Set the tooltip text for this window.
Definition at line 3097 of file CEGUIWindow.cpp. References d_tooltipText, CEGUI::Tooltip::getTargetWindow(), getTooltip(), and setText(). Referenced by CEGUI::Listbox::onMouseMove(). |
|
Set the custom Tooltip to be used by this Window by specifying a Window type. The Window will internally attempt to create an instance of the specified window type (which must be derived from the base Tooltip class). If the Tooltip creation fails, the error is logged and the Window will revert to using either the existing custom Tooltip or the system default Tooltip.
Definition at line 3066 of file CEGUIWindow.cpp. References CEGUI::WindowManager::createWindow(), d_customTip, d_weOwnTip, CEGUI::WindowManager::destroyWindow(), CEGUI::String::empty(), getName(), and CEGUI::WindowManager::getSingleton(). |
|
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 1800 of file CEGUIWindow.h. |
|
Sets the value a named user string, creating it as required.
Definition at line 3412 of file CEGUIWindow.cpp. References d_userStrings. |
|
Set the vertical alignment. Modifies the vertical alignment for the window. This setting affects how the windows position is interpreted relative to its parent.
Definition at line 3312 of file CEGUIWindow.cpp. References d_vertAlign, and onVerticalAlignmentChanged(). Referenced by CEGUI::WidgetComponent::create(). |
|
Set whether the Window is visible or hidden.
Definition at line 787 of file CEGUIWindow.cpp. References d_visible, onHidden(), and onShown(). Referenced by CEGUI::TabControl::addTab(), CEGUI::ScrollablePane::configureScrollbars(), CEGUI::TabControl::selectTab_impl(), CEGUI::FrameWindow::setCloseButtonEnabled(), and CEGUI::FrameWindow::setTitleBarEnabled(). |
|
Set whether this window will receive multi-click events or multiple 'down' events instead.
Definition at line 2831 of file CEGUIWindow.cpp. References d_wantsMultiClicks. Referenced by CEGUI::Spinner::initialise(), and CEGUI::MenuItem::MenuItem(). |
|
set the width of the Window using the specified metrics system.
Definition at line 2646 of file CEGUIWindow.cpp. References getHeight(), and 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 866 of file CEGUIWindow.cpp. References getHeight(), and setSize(). Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(). |
|
Set the window area. Sets the area occupied by this window. The defined area is offset from the top-left corner of this windows parent window or from the top-left corner of the display if this window has no parent (i.e. it is the root window).
Definition at line 3216 of file CEGUIWindow.cpp. References CEGUI::URect::d_min, CEGUI::URect::getSize(), and setWindowArea(). |
|
Set the window area. Sets the area occupied by this window. The defined area is offset from the top-left corner of this windows parent window or from the top-left corner of the display if this window has no parent (i.e. it is the root window).
Definition at line 3211 of file CEGUIWindow.cpp. References setWindowArea_impl(). |
|
Set the window area. Sets the area occupied by this window. The defined area is offset from the top-left corner of this windows parent window or from the top-left corner of the display if this window has no parent (i.e. it is the root window).
Definition at line 3206 of file CEGUIWindow.cpp. Referenced by setRect(), setWindowArea(), setWindowMaxSize(), and setWindowMinSize(). |
|
Implementation method to modify window area while correctly applying min / max size processing, and firing any appropriate events. /note This is the implementation function for setting size and position. In order to simplify area management, from this point on, all modifications to window size and position (area rect) should come through here. /param pos UVector2 object describing the new area position. /param size UVector2 object describing the new area size. /param topLeftSizing
/param fireEvents
Definition at line 3149 of file CEGUIWindow.cpp. References CEGUI::UVector2::asAbsolute(), CEGUI::Vector2::asSize(), d_area, CEGUI::Size::d_height, d_maxSize, CEGUI::URect::d_min, d_minSize, d_pixelSize, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getParentSize(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Renderer::getSize(), onMoved(), onSized(), CEGUI::URect::setPosition(), and CEGUI::URect::setSize(). Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), onParentSized(), setWindowArea(), setWindowHeight(), setWindowPosition(), setWindowSize(), setWindowWidth(), setWindowXPosition(), and setWindowYPosition(). |
|
Set the window's height. Sets the height of the area occupied by this window.
Definition at line 3246 of file CEGUIWindow.cpp. References d_area, CEGUI::UVector2::d_x, CEGUI::URect::getPosition(), CEGUI::URect::getSize(), and setWindowArea_impl(). |
|
Set the window's maximum size. Sets the maximum size that this windows area may occupy (whether size changes occur by user interaction, general system operation, or by direct setting by client code).
Definition at line 3251 of file CEGUIWindow.cpp. References d_area, d_maxSize, and setWindowArea(). Referenced by setMaximumSize(). |
|
Set the window's minimum size. Sets the minimum size that this windows area may occupy (whether size changes occur by user interaction, general system operation, or by direct setting by client code).
Definition at line 3259 of file CEGUIWindow.cpp. References d_area, d_minSize, and setWindowArea(). Referenced by setMinimumSize(). |
|
Set the window's position. Sets the position of the area occupied by this window. The position is offset from the top-left corner of this windows parent window or from the top-left corner of the display if this window has no parent (i.e. it is the root window).
Definition at line 3221 of file CEGUIWindow.cpp. References d_area, CEGUI::URect::getSize(), and setWindowArea_impl(). Referenced by CEGUI::FrameWindow::offsetPixelPosition(), and setPosition(). |
|
Set the window's size. Sets the size of the area occupied by this window.
Definition at line 3236 of file CEGUIWindow.cpp. References d_area, CEGUI::URect::getPosition(), and setWindowArea_impl(). Referenced by setSize(). |
|
Set the window's width. Sets the width of the area occupied by this window.
Definition at line 3241 of file CEGUIWindow.cpp. References d_area, CEGUI::UVector2::d_y, CEGUI::URect::getPosition(), CEGUI::URect::getSize(), and setWindowArea_impl(). |
|
Set the window's X position. Sets the x position (left edge) of the area occupied by this window. The position is offset from the left edge of this windows parent window or from the left edge of the display if this window has no parent (i.e. it is the root window).
Definition at line 3226 of file CEGUIWindow.cpp. References d_area, CEGUI::URect::d_min, CEGUI::UVector2::d_y, CEGUI::URect::getSize(), and setWindowArea_impl(). |
|
Set the window's Y position. Sets the y position (top edge) of the area occupied by this window. The position is offset from the top edge of this windows parent window or from the top edge of the display if this window has no parent (i.e. it is the root window).
Definition at line 3231 of file CEGUIWindow.cpp. References d_area, CEGUI::URect::d_min, CEGUI::UVector2::d_x, CEGUI::URect::getSize(), and setWindowArea_impl(). |
|
set the x position of the window using the specified metrics system.
Definition at line 2607 of file CEGUIWindow.cpp. References getYPosition(), and 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 897 of file CEGUIWindow.cpp. References getYPosition(), and 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 2616 of file CEGUIWindow.cpp. References getXPosition(), and 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 908 of file CEGUIWindow.cpp. References getXPosition(), and 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 2807 of file CEGUIWindow.cpp. References d_zOrderingEnabled. |
|
show the Window
Definition at line 1333 of file CEGUIWindow.h. Referenced by CEGUI::StaticText::configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), CEGUI::PopupMenu::openPopupMenu(), CEGUI::Combobox::showDropList(), and CEGUI::Tooltip::switchToFadeInState(). |
|
Subscribes the specified group of the named Event.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 145 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. |
|
Subscribes the named Event.
Reimplemented in CEGUI::GlobalEventSet. Definition at line 129 of file CEGUIEventSet.cpp. References CEGUI::EventSet::d_events. Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::TabControl::addTab(), CEGUI::ListHeader::createInitialisedSegment(), CEGUI::StaticText::initialise(), CEGUI::Spinner::initialise(), CEGUI::Slider::initialise(), CEGUI::Scrollbar::initialise(), CEGUI::ScrollablePane::initialise(), CEGUI::MultiLineEditbox::initialise(), CEGUI::MultiColumnList::initialise(), CEGUI::Listbox::initialise(), CEGUI::Combobox::initialise(), CEGUI::ScrolledContainer::onChildAdded(), and CEGUI::EventSet::subscribeScriptedEvent(). |
|
Subscribes the specified group of the named Event to a scripted funtion.
Definition at line 120 of file CEGUIEventSet.cpp. References CEGUI::EventSet::subscribeEvent(). |
|
Subscribes the named Event to a scripted funtion.
Definition at line 111 of file CEGUIEventSet.cpp. References CEGUI::EventSet::subscribeEvent(). |
|
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.
Definition at line 1139 of file CEGUIWindow.h. Referenced by CEGUI::MenuItem::closeAllMenuItemPopups(), CEGUI::MenuItem::closePopupMenu(), CEGUI::TextItem::onTextChanged(), CEGUI::MenuItem::openPopupMenu(), and CEGUI::MenuItem::updateInternalState(). |
|
Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.
Reimplemented in CEGUI::ButtonBase, CEGUI::Checkbox, CEGUI::Combobox, CEGUI::ComboDropList, CEGUI::DragContainer, CEGUI::Editbox, CEGUI::FrameWindow, CEGUI::GUISheet, CEGUI::ItemEntry, CEGUI::ItemListBase, CEGUI::Listbox, CEGUI::ListHeader, CEGUI::ListHeaderSegment, CEGUI::Menubar, CEGUI::MenuBase, CEGUI::MenuItem, CEGUI::MultiColumnList, CEGUI::MultiLineEditbox, CEGUI::PopupMenu, CEGUI::ProgressBar, CEGUI::PushButton, CEGUI::RadioButton, CEGUI::ScrollablePane, CEGUI::Scrollbar, CEGUI::ScrolledContainer, CEGUI::Slider, CEGUI::Spinner, CEGUI::Static, CEGUI::StaticImage, CEGUI::StaticText, CEGUI::TabButton, CEGUI::TabControl, CEGUI::TabPane, CEGUI::TextItem, CEGUI::Thumb, CEGUI::Titlebar, and CEGUI::Tooltip. Definition at line 3567 of file CEGUIWindow.h. Referenced by CEGUI::Tooltip::testClassName_impl(), CEGUI::Titlebar::testClassName_impl(), CEGUI::TabControl::testClassName_impl(), CEGUI::Static::testClassName_impl(), CEGUI::Spinner::testClassName_impl(), CEGUI::Slider::testClassName_impl(), CEGUI::ScrolledContainer::testClassName_impl(), CEGUI::Scrollbar::testClassName_impl(), CEGUI::ScrollablePane::testClassName_impl(), CEGUI::ProgressBar::testClassName_impl(), CEGUI::MultiLineEditbox::testClassName_impl(), CEGUI::MultiColumnList::testClassName_impl(), CEGUI::ListHeaderSegment::testClassName_impl(), CEGUI::ListHeader::testClassName_impl(), CEGUI::Listbox::testClassName_impl(), CEGUI::ItemListBase::testClassName_impl(), CEGUI::ItemEntry::testClassName_impl(), CEGUI::GUISheet::testClassName_impl(), CEGUI::FrameWindow::testClassName_impl(), CEGUI::Editbox::testClassName_impl(), CEGUI::DragContainer::testClassName_impl(), CEGUI::Combobox::testClassName_impl(), and CEGUI::ButtonBase::testClassName_impl(). |
|
Convert the given area from unfied to absolute metrics.
Definition at line 1711 of file CEGUIWindow.cpp. References CEGUI::URect::asAbsolute(), and d_pixelSize. |
|
Convert the given UVector2 value from unified to absolute metrics.
Definition at line 1703 of file CEGUIWindow.cpp. References CEGUI::UVector2::asAbsolute(), and d_pixelSize. |
|
Convert the given X co-ordinate from unified to absolute metrics.
Definition at line 1687 of file CEGUIWindow.cpp. References CEGUI::UDim::asAbsolute(), d_pixelSize, and CEGUI::Size::d_width. |
|
Convert the given Y co-ordinate from unified to absolute metrics.
Definition at line 1695 of file CEGUIWindow.cpp. References CEGUI::UDim::asAbsolute(), CEGUI::Size::d_height, and d_pixelSize. |
|
Convert the given area from unfied to relative metrics.
Definition at line 1679 of file CEGUIWindow.cpp. References CEGUI::URect::asRelative(), and d_pixelSize. |
|
Convert the given UVector2 value from unified to relative metrics.
Definition at line 1671 of file CEGUIWindow.cpp. References CEGUI::UVector2::asRelative(), and d_pixelSize. |
|
Convert the given X co-ordinate from unified to relative metrics.
Definition at line 1655 of file CEGUIWindow.cpp. References CEGUI::UDim::asRelative(), d_pixelSize, and CEGUI::Size::d_width. |
|
Convert the given Y co-ordinate from unified to relative metrics.
Definition at line 1663 of file CEGUIWindow.cpp. References CEGUI::UDim::asRelative(), CEGUI::Size::d_height, and d_pixelSize. |
|
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 2921 of file CEGUIWindow.cpp. References d_children, getChildCount(), and updateSelf(). Referenced by CEGUI::System::injectTimePulse(). |
|
Perform actual update processing for this Window.
Reimplemented in CEGUI::PopupMenu, and CEGUI::Tooltip. Definition at line 2940 of file CEGUIWindow.cpp. References d_autoRepeat, d_repeatButton, d_repeatDelay, d_repeatElapsed, d_repeating, d_repeatRate, generateAutoRepeatEvent(), and CEGUI::NoButton. Referenced by update(), CEGUI::Tooltip::updateSelf(), and CEGUI::PopupMenu::updateSelf(). |
|
Return whether this window will receive multi-click events or multiple 'down' events instead.
Definition at line 2821 of file CEGUIWindow.cpp. References d_wantsMultiClicks. Referenced by CEGUI::System::injectMouseButtonDown(). |
|
Convert a window area, specified as a URect, to a screen area.
Definition at line 1800 of file CEGUIWindow.cpp. References CEGUI::URect::asAbsolute(), CEGUI::Size::d_height, d_horzAlign, d_parent, d_pixelSize, d_vertAlign, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getAbsolutePosition(), getParentHeight(), getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::Rect::offset(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and windowToScreen(). |
|
Convert a window co-ordinate point, specified as a UVector2, to a screen relative pixel co-ordinate point.
Definition at line 1766 of file CEGUIWindow.cpp. References CEGUI::UVector2::asAbsolute(), CEGUI::Size::d_height, d_horzAlign, d_parent, d_pixelSize, d_vertAlign, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getAbsolutePosition(), getParentHeight(), getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and windowToScreen(). |
|
Convert a window area, specified in whichever metrics mode is active, to a screen area.
Definition at line 1507 of file CEGUIWindow.cpp. References d_horzAlign, d_parent, d_vertAlign, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getAbsoluteHeight(), getAbsoluteWidth(), getAbsoluteXPosition(), getAbsoluteYPosition(), getMetricsMode(), getParentHeight(), getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::Rect::offset(), CEGUI::Relative, relativeToAbsolute(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and windowToScreen(). |
|
Convert a window size value, specified in whichever metrics mode is active, to a size in pixels.
Definition at line 1489 of file CEGUIWindow.cpp. References CEGUI::Size::d_height, CEGUI::Size::d_width, getAbsoluteHeight(), getAbsoluteWidth(), getMetricsMode(), and CEGUI::Relative. |
|
Convert a window co-ordinate position, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate position.
Definition at line 1438 of file CEGUIWindow.cpp. References d_horzAlign, d_parent, d_vertAlign, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, getAbsoluteHeight(), getAbsoluteWidth(), getAbsoluteXPosition(), getAbsoluteYPosition(), getMetricsMode(), getParentHeight(), getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::Relative, relativeToAbsolute(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and windowToScreen(). Referenced by getUnclippedPixelRect(), and windowToScreen(). |
|
Convert a window co-ordinate value, specified as a UDim, to a screen relative pixel co-ordinate.
Definition at line 1720 of file CEGUIWindow.cpp. References CEGUI::UDim::asAbsolute(), d_horzAlign, d_parent, d_pixelSize, CEGUI::Size::d_width, getAbsoluteXPosition(), getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, and windowToScreenX(). |
|
Convert a window co-ordinate value, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate.
Definition at line 1362 of file CEGUIWindow.cpp. References d_horzAlign, d_parent, getAbsoluteWidth(), getAbsoluteXPosition(), getMetricsMode(), getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::Relative, relativeToAbsoluteX(), and windowToScreenX(). Referenced by screenToWindow(), screenToWindowX(), and windowToScreenX(). |
|
Convert a window co-ordinate value, specified as a UDim, to a screen relative pixel co-ordinate.
Definition at line 1743 of file CEGUIWindow.cpp. References CEGUI::UDim::asAbsolute(), CEGUI::Size::d_height, d_parent, d_pixelSize, d_vertAlign, getAbsoluteYPosition(), getParentHeight(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and windowToScreenY(). |
|
Convert a window co-ordinate value, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate.
Definition at line 1400 of file CEGUIWindow.cpp. References d_parent, d_vertAlign, getAbsoluteHeight(), getAbsoluteYPosition(), getMetricsMode(), getParentHeight(), CEGUI::Relative, relativeToAbsoluteY(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and windowToScreenY(). Referenced by screenToWindow(), screenToWindowY(), and windowToScreenY(). |
|
Reimplemented in CEGUI::TabControl. Definition at line 3457 of file CEGUIWindow.cpp. References d_children, CEGUI::String::find(), getChildCount(), getName(), CEGUI::String::npos, and writeXMLToStream(). Referenced by CEGUI::TabControl::writeChildWindowsXML(), and writeXMLToStream(). |
|
Reimplemented in CEGUI::MultiColumnList. Definition at line 3437 of file CEGUIWindow.cpp. References CEGUI::PropertySet::getIterator(). Referenced by CEGUI::MultiColumnList::writePropertiesXML(), and writeXMLToStream(). |
|
Writes an xml representation of this window object to out_stream.
Definition at line 3417 of file CEGUIWindow.cpp. References CEGUI::WindowManager::GeneratedWindowNameBase, getName(), getType(), writeChildWindowsXML(), and writePropertiesXML(). Referenced by writeChildWindowsXML(), CEGUI::TabControl::writeChildWindowsXML(), and CEGUI::WindowManager::writeWindowLayoutToStream(). |
|
Definition at line 3047 of file CEGUIWindow.h. |
|
Definition at line 49 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 50 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 51 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 52 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 53 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 54 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 55 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 56 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 57 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true when Window is the active Window (receiving inputs).
Definition at line 3712 of file CEGUIWindow.h. Referenced by getActiveChild(), isActive(), onActivated(), onDeactivated(), and Window(). |
|
Alpha transparency setting for the Window.
Definition at line 3692 of file CEGUIWindow.h. Referenced by getEffectiveAlpha(), CEGUI::DragContainer::initialiseDragging(), CEGUI::PopupMenu::onAlphaChanged(), CEGUI::DragContainer::onAlphaChanged(), CEGUI::DragContainer::onDragAlphaChanged(), setAlpha(), and Window(). |
|
Definition at line 58 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true if Window will be drawn on top of all other Windows
Definition at line 3715 of file CEGUIWindow.h. Referenced by setAlwaysOnTop(), and Window(). |
|
Definition at line 59 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
This Window objects area as defined by a URect.
Definition at line 3693 of file CEGUIWindow.h. Referenced by CEGUI::ListHeaderSegment::doDragSizing(), getWindowArea(), getWindowHeight(), getWindowPosition(), getWindowSize(), getWindowWidth(), getWindowXPosition(), getWindowYPosition(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::FrameWindow::offsetPixelPosition(), onParentSized(), setWindowArea_impl(), setWindowHeight(), setWindowMaxSize(), setWindowMinSize(), setWindowPosition(), setWindowSize(), setWindowWidth(), setWindowXPosition(), setWindowYPosition(), and Window(). |
|
true if button will auto-repeat mouse button down events while mouse button is held down,
Definition at line 3724 of file CEGUIWindow.h. Referenced by isMouseAutoRepeatEnabled(), onMouseButtonDown(), setMouseAutoRepeatEnabled(), updateSelf(), and Window(). |
|
Definition at line 90 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 89 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 91 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Window that has captured inputs.
Definition at line 112 of file CEGUIWindow.cpp. Referenced by activate(), captureInput(), and releaseInput(). |
|
The list of child Window objects attached to this.
Definition at line 3681 of file CEGUIWindow.h. Referenced by addChild_impl(), cleanupChildren(), getChild(), isChild(), onAlphaChanged(), onDeactivated(), onDisabled(), onEnabled(), onSized(), onZChange_impl(), removeChild_impl(), removeChildWindow(), setRestoreCapture(), update(), and writeChildWindowsXML(). |
|
true when Window will be clipped by parent Window area Rect.
Definition at line 3713 of file CEGUIWindow.h. Referenced by CEGUI::DragContainer::initialiseDragging(), CEGUI::DragContainer::onClippingChanged(), setClippedByParent(), and Window(). |
|
Definition at line 60 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Possible custom Tooltip for this window.
Definition at line 3733 of file CEGUIWindow.h. Referenced by getTooltip(), getTooltipType(), isUsingDefaultTooltip(), setTooltip(), setTooltipType(), and Window(). |
|
true when Window will be auto-destroyed by parent.
Definition at line 3714 of file CEGUIWindow.h. Referenced by setDestroyedByParent(), and Window(). |
|
Definition at line 61 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 62 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true if unhandled captured inputs should be distributed to child windows.
Definition at line 3720 of file CEGUIWindow.h. Referenced by distributesCapturedInputs(), setDistributesCapturedInputs(), and Window(). |
|
Definition at line 92 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Child window objects arranged in rendering order.
Definition at line 3682 of file CEGUIWindow.h. Referenced by addWindowToDrawList(), getActiveChild(), getActiveSibling(), getChildAtPosition(), removeWindowFromDrawList(), and render(). |
|
true when Window is enabled
Definition at line 3710 of file CEGUIWindow.h. Referenced by isDisabled(), onDisabled(), CEGUI::DragContainer::onDragPositionChanged(), onEnabled(), setEnabled(), and Window(). |
|
Definition at line 247 of file CEGUIEventSet.h. Referenced by CEGUI::EventSet::addEvent(), CEGUI::GlobalEventSet::fireEvent(), CEGUI::EventSet::fireEvent(), CEGUI::EventSet::getIterator(), CEGUI::EventSet::isEventPresent(), CEGUI::EventSet::removeAllEvents(), CEGUI::EventSet::removeEvent(), CEGUI::GlobalEventSet::subscribeEvent(), and CEGUI::EventSet::subscribeEvent(). |
|
Type name of the window as defined in a Falagard mapping.
Definition at line 3939 of file CEGUIWindow.h. Referenced by getType(), and setLookNFeel(). |
|
Holds pointer to the Window objects current Font.
Definition at line 3689 of file CEGUIWindow.h. |
|
Definition at line 63 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 64 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Specifies the base for horizontal alignment.
Definition at line 3702 of file CEGUIWindow.h. Referenced by CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), setHorizontalAlignment(), Window(), windowToScreen(), and windowToScreenX(). |
|
Definition at line 98 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
User ID assigned to this Window.
Definition at line 3691 of file CEGUIWindow.h. |
|
Definition at line 65 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true if the Window inherits alpha from the parent Window
Definition at line 3716 of file CEGUIWindow.h. Referenced by setInheritsAlpha(), and Window(). |
|
Definition at line 66 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true if the Window inherits tooltip text from its parent (when none set for itself).
Definition at line 3735 of file CEGUIWindow.h. Referenced by getTooltipText(), inheritsTooltipText(), setInheritsTooltipText(), and Window(). |
|
Definition at line 95 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Name of the Look assigned to this window (if any).
Definition at line 3742 of file CEGUIWindow.h. Referenced by getLookNFeel(), performChildWindowLayout(), and setLookNFeel(). |
|
current maximum size for the window.
Definition at line 3707 of file CEGUIWindow.h. Referenced by CEGUI::ListHeaderSegment::doDragSizing(), getMaximumSize(), getWindowMaxSize(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), setWindowArea_impl(), setWindowMaxSize(), and Window(). |
|
Holds the active metrics mode for this window.
Definition at line 3685 of file CEGUIWindow.h. Referenced by getMetricsMode(), setMetricsMode(), and Window(). |
|
Definition at line 67 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
current minimum size for the window.
Definition at line 3706 of file CEGUIWindow.h. Referenced by CEGUI::ListHeaderSegment::doDragSizing(), getMinimumSize(), getWindowMinSize(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), setWindowArea_impl(), setWindowMinSize(), and Window(). |
|
Holds pointer to the Window objects current mouse cursor image.
Definition at line 3695 of file CEGUIWindow.h. Referenced by getMouseCursor(), setMouseCursor(), and Window(). |
|
Definition at line 68 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true if events for this EventSet have been muted.
Definition at line 249 of file CEGUIEventSet.h. Referenced by CEGUI::GlobalEventSet::fireEvent(), CEGUI::EventSet::fireEvent(), CEGUI::EventSet::isMuted(), and CEGUI::EventSet::setMutedState(). |
|
The name of the window (GUI system unique).
Definition at line 3938 of file CEGUIWindow.h. Referenced by getChild(), CEGUI::ScrollablePane::initialise(), and setLookNFeel(). |
|
true if window image cache needs to be regenerated.
Definition at line 3739 of file CEGUIWindow.h. Referenced by drawSelf(), requestRedraw(), and Window(). |
|
The Window that previously had capture (used for restoreOldCapture mode).
Definition at line 3687 of file CEGUIWindow.h. Referenced by captureInput(), onCaptureLost(), and releaseInput(). |
|
Holds pointer to the parent window.
Definition at line 3688 of file CEGUIWindow.h. Referenced by CEGUI::RadioButton::deselectOtherButtonsInGroup(), destroy(), doRiseOnClick(), getActiveSibling(), getEffectiveAlpha(), getInheritedMetricsMode(), getInnerRect(), getParentHeight(), getParentSize(), getParentWidth(), getPixelRect(), CEGUI::RadioButton::getSelectedButtonInGroup(), getTooltipText(), CEGUI::ScrolledContainer::getUnclippedInnerRect(), isActive(), isAncestor(), isDisabled(), isVisible(), moveToBack(), moveToFront_impl(), CEGUI::Titlebar::onFontChanged(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Titlebar::onMouseDoubleClicked(), CEGUI::Titlebar::onMouseMove(), CEGUI::Thumb::onMouseMove(), onZChange_impl(), setAlwaysOnTop(), setEnabled(), setParent(), CEGUI::Tooltip::switchToInactiveState(), Window(), windowToScreen(), windowToScreenX(), and windowToScreenY(). |
|
Current constrained pixel size of the window.
Definition at line 3694 of file CEGUIWindow.h. Referenced by CEGUI::TextItem::populateRenderCache(), setWindowArea_impl(), unifiedToAbsolute(), unifiedToAbsoluteX(), unifiedToAbsoluteY(), unifiedToRelative(), unifiedToRelativeX(), unifiedToRelativeY(), Window(), windowToScreen(), windowToScreenX(), and windowToScreenY(). |
|
Definition at line 69 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 70 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 71 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 72 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 73 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 74 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 75 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 76 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 77 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 78 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 79 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Object which acts as a cache for Images to be drawn by this Window.
Definition at line 3738 of file CEGUIWindow.h. Referenced by CEGUI::MultiLineEditbox::cacheTextLines(), drawSelf(), CEGUI::TextItem::populateRenderCache(), CEGUI::StaticText::populateRenderCache(), CEGUI::StaticImage::populateRenderCache(), CEGUI::Static::populateRenderCache(), CEGUI::MultiColumnList::populateRenderCache(), and CEGUI::Listbox::populateRenderCache(). |
|
Button we're tracking (implication of this is that we only support one button at a time).
Definition at line 3729 of file CEGUIWindow.h. Referenced by onCaptureLost(), onMouseButtonDown(), onMouseButtonUp(), setMouseAutoRepeatEnabled(), updateSelf(), and Window(). |
|
seconds before first repeat event is fired
Definition at line 3725 of file CEGUIWindow.h. Referenced by getAutoRepeatDelay(), setAutoRepeatDelay(), updateSelf(), and Window(). |
|
implements repeating - tracks time elapsed.
Definition at line 3728 of file CEGUIWindow.h. Referenced by onMouseButtonDown(), and updateSelf(). |
|
implements repeating - is true after delay has elapsed,
Definition at line 3727 of file CEGUIWindow.h. Referenced by onMouseButtonDown(), updateSelf(), and Window(). |
|
secons between further repeats after delay has expired.
Definition at line 3726 of file CEGUIWindow.h. Referenced by getAutoRepeatRate(), setAutoRepeatRate(), updateSelf(), and Window(). |
|
true if the Window restores capture to the previous window when it releases capture.
Definition at line 3717 of file CEGUIWindow.h. Referenced by captureInput(), onCaptureLost(), releaseInput(), setRestoreCapture(), and Window(). |
|
Definition at line 80 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
True if the window should come to the front of the z order in respose to a left mouse button down event.
Definition at line 3721 of file CEGUIWindow.h. Referenced by doRiseOnClick(), and Window(). |
|
Definition at line 96 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 81 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Holds the text / label / caption for this Window.
Definition at line 3690 of file CEGUIWindow.h. Referenced by CEGUI::MultiLineEditbox::cacheTextLines(), CEGUI::StaticText::configureScrollbars(), CEGUI::MultiLineEditbox::ensureCaratIsVisible(), CEGUI::MultiLineEditbox::eraseSelectedText(), CEGUI::Editbox::eraseSelectedText(), CEGUI::MultiLineEditbox::formatText(), CEGUI::MultiLineEditbox::getLineNumberFromIndex(), CEGUI::MultiLineEditbox::getTextIndexFromPosition(), CEGUI::Tooltip::getTextSize(), CEGUI::MultiLineEditbox::handleBackspace(), CEGUI::Editbox::handleBackspace(), CEGUI::MultiLineEditbox::handleCharRight(), CEGUI::Editbox::handleCharRight(), CEGUI::MultiLineEditbox::handleDelete(), CEGUI::Editbox::handleDelete(), CEGUI::MultiLineEditbox::handleDocEnd(), CEGUI::Editbox::handleEnd(), CEGUI::MultiLineEditbox::handleLineDown(), CEGUI::MultiLineEditbox::handleLineUp(), CEGUI::MultiLineEditbox::handleNewLine(), CEGUI::MultiLineEditbox::handleWordLeft(), CEGUI::Editbox::handleWordLeft(), CEGUI::MultiLineEditbox::handleWordRight(), CEGUI::Editbox::handleWordRight(), CEGUI::Editbox::isTextValid(), CEGUI::MultiLineEditbox::MultiLineEditbox(), CEGUI::MultiLineEditbox::onCharacter(), CEGUI::Editbox::onCharacter(), CEGUI::MultiLineEditbox::onMouseDoubleClicked(), CEGUI::Editbox::onMouseDoubleClicked(), CEGUI::MultiLineEditbox::onMouseTripleClicked(), CEGUI::Editbox::onMouseTripleClicked(), CEGUI::Spinner::onTextChanged(), CEGUI::MultiLineEditbox::onTextChanged(), CEGUI::FrameWindow::onTextChanged(), CEGUI::Editbox::onTextChanged(), CEGUI::Combobox::onTextChanged(), CEGUI::StaticText::populateRenderCache(), CEGUI::MultiLineEditbox::setCaratIndex(), CEGUI::Editbox::setCaratIndex(), CEGUI::MultiLineEditbox::setMaxTextLength(), CEGUI::Editbox::setMaxTextLength(), CEGUI::MultiLineEditbox::setSelection(), CEGUI::Editbox::setSelection(), and setText(). |
|
Definition at line 82 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 94 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Text string used as tip for this window.
Definition at line 3732 of file CEGUIWindow.h. Referenced by getTooltipText(), and setTooltipText(). |
|
Definition at line 93 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
String holding the type name for the Window (is also the name of the WindowFactory that created us).
Definition at line 3937 of file CEGUIWindow.h. Referenced by getType(). |
|
Definition at line 99 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 105 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 107 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 106 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 100 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 103 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 104 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 101 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 102 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Holds pointer to some user assigned data.
Definition at line 3696 of file CEGUIWindow.h. Referenced by Window(). |
|
Holds a collection of named user string values.
Definition at line 3699 of file CEGUIWindow.h. Referenced by getUserString(), isUserStringDefined(), and setUserString(). |
|
Specifies the base for vertical alignment.
Definition at line 3703 of file CEGUIWindow.h. Referenced by CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveTopEdge(), setVerticalAlignment(), Window(), windowToScreen(), and windowToScreenY(). |
|
Definition at line 97 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true when Window is visible (that is it will be rendered, but may be obscured so no necesarily really visible)
Definition at line 3711 of file CEGUIWindow.h. Referenced by isVisible(), setVisible(), and Window(). |
|
Definition at line 83 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true if the Window wishes to hear about multi-click mouse events.
Definition at line 3719 of file CEGUIWindow.h. Referenced by setWantsMultiClickEvents(), wantsMultiClickEvents(), and Window(). |
|
Definition at line 88 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true if this Window created the custom Tooltip.
Definition at line 3734 of file CEGUIWindow.h. Referenced by setTooltip(), setTooltipType(), and Window(). |
|
Definition at line 84 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 85 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 86 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
Definition at line 87 of file CEGUIWindow.cpp. Referenced by addStandardProperties(). |
|
true if the Window responds to z-order change requests.
Definition at line 3718 of file CEGUIWindow.h. Referenced by isZOrderingEnabled(), moveToBack(), moveToFront_impl(), setZOrderingEnabled(), and Window(). |
|
Window has been activated (has input focus).
Referenced by addStandardEvents(), and onActivated(). |
|
Alpha blend value for the Window has changed.
Referenced by addStandardEvents(), and onAlphaChanged(). |
|
Always on top mode has been modified.
Referenced by addStandardEvents(), and onAlwaysOnTopChanged(). |
|
A text character was typed on the keyboard.
Referenced by addStandardEvents(), and onCharacter(). |
|
A child Window has been added.
Referenced by addStandardEvents(), and onChildAdded(). |
|
A child window has been removed.
Referenced by addStandardEvents(), and onChildRemoved(). |
|
Clipping by parent mode has been modified.
Referenced by addStandardEvents(), and onClippingChanged(). |
|
Window has been deactivated (loses input focus).
Referenced by addStandardEvents(), and onDeactivated(). |
|
Destruction by parent mode has been modified.
Referenced by addStandardEvents(), and onParentDestroyChanged(). |
|
Destruction of the Window is about to begin.
Referenced by addStandardEvents(), and onDestructionStarted(). |
|
Window has been disabled (interaction is no longer possible).
Referenced by addStandardEvents(), and onDisabled(). |
|
A DragContainer was dropped on this Window.
Referenced by addStandardEvents(), and onDragDropItemDropped(). |
|
A DragContainer has been dragged over this window.
Referenced by addStandardEvents(), and onDragDropItemEnters(). |
|
A DragContainer has left this window.
Referenced by addStandardEvents(), and onDragDropItemLeaves(). |
|
Window has been enabled (interaction is possible).
Referenced by addStandardEvents(), and onEnabled(). |
|
Font object for the Window has been changed.
Referenced by addStandardEvents(), and onFontChanged(). |
|
Window has been hidden from view.
Referenced by addStandardEvents(), CEGUI::Combobox::initialise(), and onHidden(). |
|
The vertical alignment of the window has changed.
Referenced by addStandardEvents(), and onHorizontalAlignmentChanged(). |
|
Client assigned ID code for the Window has changed.
Referenced by addStandardEvents(), and onIDChanged(). |
|
Alpha inherited from parent mode has been modified.
Referenced by addStandardEvents(), and onInheritsAlphaChanged(). |
|
Window has captured all inputs.
Referenced by addStandardEvents(), and onCaptureGained(). |
|
Window has lost it's capture on inputs.
Referenced by addStandardEvents(), and onCaptureLost(). |
|
A key on the keyboard was pressed.
Referenced by addStandardEvents(), and onKeyDown(). |
|
A key on the keyboard was released.
Referenced by addStandardEvents(), and onKeyUp(). |
|
Active metrics mode has been modified.
Referenced by addStandardEvents(), and onMetricsChanged(). |
|
A mouse button was pressed down within the Window.
Referenced by addStandardEvents(), CEGUI::Spinner::initialise(), CEGUI::Scrollbar::initialise(), CEGUI::Combobox::initialise(), and onMouseButtonDown(). |
|
A mouse button was released within the Window.
Referenced by addStandardEvents(), and onMouseButtonUp(). |
|
A mouse button was clicked (down then up) within the Window.
Referenced by addStandardEvents(), and onMouseClicked(). |
|
A mouse button was double-clicked within the Window.
Referenced by addStandardEvents(), and onMouseDoubleClicked(). |
|
Mouse cursor has entered the Window.
Referenced by addStandardEvents(), and onMouseEnters(). |
|
Mouse cursor has left the Window.
Referenced by addStandardEvents(), and onMouseLeaves(). |
|
Mouse cursor was moved within the area of the Window.
Referenced by addStandardEvents(), and onMouseMove(). |
|
A mouse button was triple-clicked within the Window.
Referenced by addStandardEvents(), and onMouseTripleClicked(). |
|
Mouse wheel was scrolled within the Window.
Referenced by addStandardEvents(), and onMouseWheel(). |
|
Window position has changed.
Referenced by addStandardEvents(), CEGUI::ScrolledContainer::onChildAdded(), and onMoved(). |
|
Namespace for global events.
Reimplemented in CEGUI::Checkbox, CEGUI::Combobox, CEGUI::ComboDropList, CEGUI::DragContainer, CEGUI::Editbox, CEGUI::FrameWindow, CEGUI::ItemListBase, CEGUI::Listbox, CEGUI::ListHeader, CEGUI::ListHeaderSegment, CEGUI::Menubar, CEGUI::MenuBase, CEGUI::MenuItem, CEGUI::MultiColumnList, CEGUI::MultiLineEditbox, CEGUI::PopupMenu, CEGUI::ProgressBar, CEGUI::PushButton, CEGUI::RadioButton, CEGUI::ScrollablePane, CEGUI::Scrollbar, CEGUI::ScrolledContainer, CEGUI::Slider, CEGUI::Spinner, CEGUI::Static, CEGUI::StaticImage, CEGUI::StaticText, CEGUI::TabButton, CEGUI::TabControl, CEGUI::Thumb, CEGUI::Titlebar, and CEGUI::Tooltip. Referenced by onActivated(), onAlphaChanged(), onAlwaysOnTopChanged(), onCaptureGained(), onCaptureLost(), onCharacter(), onChildAdded(), onChildRemoved(), onClippingChanged(), onDeactivated(), onDestructionStarted(), onDisabled(), onDragDropItemDropped(), onDragDropItemEnters(), onDragDropItemLeaves(), onEnabled(), onFontChanged(), onHidden(), onHorizontalAlignmentChanged(), onIDChanged(), onInheritsAlphaChanged(), onKeyDown(), onKeyUp(), onMetricsChanged(), onMouseButtonDown(), onMouseButtonUp(), onMouseClicked(), onMouseDoubleClicked(), onMouseEnters(), onMouseLeaves(), onMouseMove(), onMouseTripleClicked(), onMouseWheel(), onMoved(), onParentDestroyChanged(), onParentSized(), onRenderingEnded(), onRenderingStarted(), onShown(), onSized(), onTextChanged(), onVerticalAlignmentChanged(), and onZChanged(). |
|
Parent of this Window has been re-sized.
Referenced by addStandardEvents(), and onParentSized(). |
|
Rendering for the Window has finished.
Referenced by addStandardEvents(), and onRenderingEnded(). |
|
Rendering of the Window has started.
Referenced by addStandardEvents(), and onRenderingStarted(). |
|
Window has been made visible.
Referenced by addStandardEvents(), and onShown(). |
|
Window size has changed.
Referenced by addStandardEvents(), CEGUI::ScrolledContainer::onChildAdded(), and onSized(). |
|
Text string for the Window has changed.
Referenced by addStandardEvents(), CEGUI::TabControl::addTab(), CEGUI::Spinner::initialise(), CEGUI::Combobox::initialise(), and onTextChanged(). |
|
The vertical alignment of the window has changed.
Referenced by addStandardEvents(), and onVerticalAlignmentChanged(). |
|
The z-order of the window has changed.
Referenced by addStandardEvents(), and onZChanged(). |