Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CEGUI::StaticText Class Reference

Base class for a static text widget. More...

#include <CEGUIStaticText.h>

Inheritance diagram for CEGUI::StaticText:

Inheritance graph
[legend]
Collaboration diagram for CEGUI::StaticText:

Collaboration graph
[legend]
List of all members.

Public Types

enum  HorzFormatting {
  LeftAligned, RightAligned, HorzCentred, HorzJustified,
  WordWrapLeftAligned, WordWrapRightAligned, WordWrapCentred, WordWrapJustified
}
 Enumeration of horizontal formatting options for static text widgets. More...
enum  VertFormatting { TopAligned, BottomAligned, VertCentred }
 Enumeration of vertical formatting options for a static text widgets. More...
typedef ConstBaseIterator<
PropertyRegistry > 
PropertyIterator
typedef ConstBaseIterator<
EventMap
EventIterator

Public Member Functions

 StaticText (const String &type, const String &name)
 Constructor for static text widgets.
virtual ~StaticText (void)
 Destructor for static text widgets.
ColourRect getTextColours (void) const
 Return a ColourRect object containing the colours used when rendering this widget.
HorzFormatting getHorizontalFormatting (void) const
 Return the current horizontal formatting option set for this widget.
VertFormatting getVerticalFormatting (void) const
 Return the current vertical formatting option set for this widget.
bool isVerticalScrollbarEnabled (void) const
 Return whether the vertical scroll bar is set to be shown if needed.
bool isHorizontalScrollbarEnabled (void) const
 Return whether the horizontal scroll bar is set to be shown if needed.
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.
virtual void initialise (void)
 Initialise the Window based object ready for use.
void setTextColours (const ColourRect &colours)
 Sets the colours to be applied when rendering the text.
void setTextColours (const colour &top_left_colour, const colour &top_right_colour, const colour &bottom_left_colour, const colour &bottom_right_colour)
 Sets the colours to be applied when rendering the text.
void setTextColours (const colour &col)
 Sets the colour to be applied when rendering the text.
void setFormatting (HorzFormatting h_fmt, VertFormatting v_fmt)
 Set the formatting required for the text.
void setVerticalFormatting (VertFormatting v_fmt)
 Set the formatting required for the text.
void setHorizontalFormatting (HorzFormatting h_fmt)
 Set the formatting required for the text.
void setVerticalScrollbarEnabled (bool setting)
 Set whether the vertical scroll bar will be shown if needed.
void setHorizontalScrollbarEnabled (bool setting)
 Set whether the horizontal scroll bar will be shown if needed.
bool isFrameEnabled (void) const
 Return whether the frame for this static widget is enabled or disabled.
bool isBackgroundEnabled (void) const
 Return whether the background for this static widget is enabled to disabled.
ColourRect getFrameColours (void) const
 Return a ColourRect object containing the colours used when rendering this widget.
ColourRect getBackgroundColours (void) const
 Return a ColourRect object containing the colours used when rendering this widget.
const ImagegetImageForFrameLocation (FrameLocation location) const
 Return the Image being used for the specified location of the frame.
const ImagegetBackgroundImage (void) const
 Return the Image currently set as the background image for the widget.
void setFrameEnabled (bool setting)
 Enable or disable rendering of the frame for this static widget.
void setFrameImages (const Image *topleft, const Image *topright, const Image *bottomleft, const Image *bottomright, const Image *left, const Image *top, const Image *right, const Image *bottom)
 specify the Image objects to use for each part of the frame. A NULL may be used to omit any part.
void setFrameColours (const ColourRect &colours)
 Sets the colours to be applied when rendering the frame.
void setFrameColours (const colour &top_left_colour, const colour &top_right_colour, const colour &bottom_left_colour, const colour &bottom_right_colour)
 Sets the colours to be applied when rendering the frame.
void setFrameColours (const colour &col)
 Sets the colour to be applied when rendering the frame.
void setBackgroundEnabled (bool setting)
 Enable or disable rendering of the background for this static widget.
void setBackgroundImage (const Image *image)
 Set the image to use as the background for the static widget.
void setBackgroundImage (const String &imageset, const String &image)
 Set the image to use as the background for the static widget.
void setBackgroundColours (const ColourRect &colours)
 Sets the colours to be applied when rendering the background.
void setBackgroundColours (const colour &top_left_colour, const colour &top_right_colour, const colour &bottom_left_colour, const colour &bottom_right_colour)
 Sets the colours to be applied when rendering the background.
void setBackgroundColours (const colour &col)
 Sets the colour to be applied when rendering the background.
void setImageForFrameLocation (FrameLocation location, const Image *image)
 Set the Image to use for the specified location of the frame.
const StringgetType (void) const
 return a String object holding the type name for this Window.
const StringgetName (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.
WindowgetChild (const String &name) const
 return a pointer to the child window with the specified name.
WindowgetChild (uint ID) const
 return a pointer to the first attached child window with the specified ID.
WindowgetChildAtIdx (uint idx) const
 return a pointer to the child window that is attached to 'this' at the given index.
WindowgetActiveChild (void)
 return a pointer to the Window that currently has input focus starting with this Window.
const WindowgetActiveChild (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 FontgetFont (bool useDefault=true) const
 return the Font object active for the Window.
const StringgetText (void) const
 return the current text for the Window
bool inheritsAlpha (void) const
 return true if the Window inherits alpha from its parent(s).
float getAlpha (void) const
 return the current alpha value set for this Window
float getEffectiveAlpha (void) const
 return the effective alpha value that will be used when rendering this window, taking into account inheritance of parent window(s) alpha.
Rect getRect (void) const
 return a Rect object that describes the Window area.
Rect getRect (MetricsMode mode) const
 return a Rect object that describes the Window area using the specified metrics system.
virtual Rect getPixelRect (void) const
 return a Rect object describing the Window area in screen space.
Rect getInnerRect (void) const
 return a Rect object describing the clipped inner area for this window.
Rect getUnclippedPixelRect (void) const
 return a Rect object describing the Window area unclipped, in screen space.
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.
WindowgetChildAtPosition (const Point &position) const
 return the child Window that is 'hit' by the given position
MetricsMode getMetricsMode (void) const
 return the current metrics mode employed by the Window
float getXPosition (void) const
 return the x position of the window. Interpretation of return value depends upon the metric type in use by this window.
float getXPosition (MetricsMode mode) const
 return the x position of the window using the specified metrics system.
float getYPosition (void) const
 return the y position of the window. Interpretation of return value depends upon the metric type in use by this window.
float getYPosition (MetricsMode mode) const
 return the y position of the window using the specified metrics system.
Point getPosition (void) const
 return the position of the window. Interpretation of return value depends upon the metric type in use by this window.
Point getPosition (MetricsMode mode) const
 return the position of the window using the specified metrics system.
float getWidth (void) const
 return the width of the Window. Interpretation of return value depends upon the metric type in use by this window.
float getWidth (MetricsMode mode) const
 return the width of the Window using the specified metrics system.
float getHeight (void) const
 return the height of the Window. Interpretation of return value depends upon the metric type in use by this window.
float getHeight (MetricsMode mode) const
 return the height of the Window using the specified metrics system.
Size getSize (void) const
 return the size of the Window. Interpretation of return value depends upon the metric type in use by this window.
Size getSize (MetricsMode mode) const
 return the size of the Window using the specified metrics system.
WindowgetParent (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 ImagegetMouseCursor (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.
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.
TooltipgetTooltip (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 StringgetTooltipText (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.
RenderCachegetRenderCache ()
 Return the RenderCache object for this Window.
const StringgetLookNFeel ()
 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 StringgetUserString (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.
WindowgetActiveSibling ()
 Returns the active sibling window.
void setDestroyedByParent (bool setting)
 Set whether or not this Window will automatically be destroyed when its parent Window is destroyed.
void setAlwaysOnTop (bool setting)
 Set whether this window is always on top, or not.
void setEnabled (bool setting)
 Set whether this window is enabled or disabled. A disabled window normally can not be interacted with, and may have different rendering.
void enable (void)
 enable the Window to allow interaction.
void disable (void)
 disable the Window to prevent interaction.
void setVisible (bool setting)
 Set whether the Window is visible or hidden.
void show (void)
 show the Window
void hide (void)
 hide the Window.
void activate (void)
 Activate the Window giving it input focus and bringing it to the top of all non always-on-top Windows.
void deactivate (void)
 Deactivate the window. No further inputs will be received by the window until it is re-activated either programmatically or by the user interacting with the gui.
void setClippedByParent (bool setting)
 Set whether this Window will be clipped by its parent window(s).
void setID (uint ID)
 Set the current ID for the Window.
void setText (const String &text)
 Set the current text string for the Window.
void setWidth (float width)
 Set the current width of the Window. Interpretation of the input value width is dependant upon the current metrics system set for the Window.
void setWidth (MetricsMode mode, float width)
 set the width of the Window using the specified metrics system.
void setHeight (float height)
 Set the current height of the Window. Interpretation of the input value height is dependant upon the current metrics system set for the Window.
void setHeight (MetricsMode mode, float height)
 set the height of the Window using the specified metrics system.
void setSize (const Size &size)
 Set the current size of the Window. Interpretation of the input value size is dependant upon the current metrics system set for the Window.
void setSize (MetricsMode mode, const Size &size)
 set the size of the Window using the specified metrics system.
void setXPosition (float x)
 Set the current 'x' position of the Window. Interpretation of the input value x is dependant upon the current metrics system set for the Window.
void setXPosition (MetricsMode mode, float x)
 set the x position of the window using the specified metrics system.
void setYPosition (float y)
 Set the current 'y' position of the Window. Interpretation of the input value y is dependant upon the current metrics system set for the Window.
void setYPosition (MetricsMode mode, float y)
 set the y position of the window using the specified metrics system.
void setPosition (const Point &position)
 Set the current position of the Window. Interpretation of the input value position is dependant upon the current metrics system set for the Window.
void setPosition (MetricsMode mode, const Point &position)
 set the position of the window using the specified metrics system.
void setAreaRect (const Rect &area)
 Set the current area for the Window, this allows for setting of position and size at the same time. Interpretation of the input value area is dependant upon the current metrics system set for the Window.
void setFont (const Font *font)
 Set the font used by this Window.
void setFont (const String &name)
 Set the font used by this Window.
void addChildWindow (const String &name)
 Add the named Window as a child of this Window. If the Window name is already attached to a Window, it is detached before being added to this Window.
void addChildWindow (Window *window)
 Add the specified Window as a child of this Window. If the Window window is already attached to a Window, it is detached before being added to this Window.
void removeChildWindow (const String &name)
 Remove the named Window from this windows child list.
void removeChildWindow (Window *window)
 Remove the specified Window form this windows child list.
void removeChildWindow (uint ID)
 Remove the first child Window with the specified ID. If there is more than one attached Window objects with the specified ID, only the fist one encountered will be removed.
void moveToFront ()
 Move the Window to the top of the z order.
void moveToBack ()
 Move the Window to the bottom of the Z order.
bool captureInput (void)
 Captures input to this window.
void releaseInput (void)
 Releases input capture from this Window. If this Window does not have inputs captured, nothing happens.
void setRestoreCapture (bool setting)
 Set whether this window will remember and restore the previous window that had inputs captured.
void setAlpha (float alpha)
 Set the current alpha value for this window.
void setInheritsAlpha (bool setting)
 Sets whether this Window will inherit alpha from its parent windows.
void requestRedraw (void) const
 Signal the System object to redraw (at least) this Window on the next render cycle.
void setMetricsMode (MetricsMode mode)
 set the current metrics mode employed by the Window
void setMinimumSize (const Size &sz)
 Set the minimum size for this window.
void setMaximumSize (const Size &sz)
 Set the maximum size for this window.
void setMouseCursor (const Image *image)
 Set the mouse cursor image to be used when the mouse enters this window.
void setMouseCursor (MouseCursorImage image)
 Set the mouse cursor image to be used when the mouse enters this window.
void setMouseCursor (const String &imageset, const String &image_name)
 Set the mouse cursor image to be used when the mouse enters this window.
void setUserData (void *user_data)
 Set the user data set for this Window.
void setRect (MetricsMode mode, const Rect &area)
 set the Rect that describes the Window area using the specified metrics system.
void setZOrderingEnabled (bool setting)
 Set whether z-order changes are enabled or disabled for this Window.
void setWantsMultiClickEvents (bool setting)
 Set whether this window will receive multi-click events or multiple 'down' events instead.
void setMouseAutoRepeatEnabled (bool setting)
 Set whether mouse button down event autorepeat is enabled for this window.
void setAutoRepeatDelay (float delay)
 Set the current auto-repeat delay setting for this window.
void setAutoRepeatRate (float rate)
 Set the current auto-repeat rate setting for this window.
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 windowToScreenX (const UDim &x) const
 Convert a window co-ordinate value, specified as a UDim, 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.
float windowToScreenY (const UDim &y) const
 Convert a window co-ordinate value, specified as a UDim, 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.
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 (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 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 (float y) const
 Convert a screen relative pixel 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.
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.
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.
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.
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 URectgetWindowArea () const
 Return the windows area.
const UVector2getWindowPosition () const
 Get the window's position.
const UDimgetWindowXPosition () const
 Get the window's X position.
const UDimgetWindowYPosition () 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 UVector2getWindowMaxSize () const
 Get the window's maximum size.
const UVector2getWindowMinSize () 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 StringgetPropertyHelp (const String &name) const
 Return the help text for the specified Property.
String getProperty (const String &name) const
 Gets the current value of the specified Property.
void setProperty (const String &name, const String &value)
 Sets the current value of a Property.
bool isPropertyDefault (const String &name) const
 Returns whether a Property is at it's default value.
String getPropertyDefault (const String &name) const
 Returns the default value of a Property as a String.
PropertyIterator getIterator (void) const
 Return a PropertySet::PropertyIterator object to iterate over the available Properties.
EventIterator getIterator (void) const
 Return a EventSet::EventIterator object to iterate over the available events.
void addEvent (const String &name)
 Add a new Event to the EventSet with the given name.
void removeEvent (const String &name)
 Removes the Event with the given name. All connections to the event are disconnected.
void removeAllEvents (void)
 Remove all Event objects from the EventSet.
bool isEventPresent (const String &name)
 Checks to see if an Event with the given name is present in the EventSet.
virtual Event::Connection subscribeEvent (const String &name, Event::Subscriber subscriber)
 Subscribes the 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.

Static Public Member Functions

static WindowgetCaptureWindow (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 populateRenderCache ()
 Update the rendering cache.
virtual void onTextChanged (WindowEventArgs &e)
 Handler called when the window's text is changed.
virtual void onSized (WindowEventArgs &e)
 Handler called when the window's size changes.
virtual void onFontChanged (WindowEventArgs &e)
 Handler called when the window's font is changed.
virtual void onMouseWheel (MouseEventArgs &e)
 Handler called when the mouse wheel (z-axis) position changes within this window's area.
virtual Rect getTextRenderArea (void) const
 Return a Rect object describing, in un-clipped pixels, the window relative area that the text should be rendered in to.
void configureScrollbars (void)
 display required integrated scroll bars according to current state of the edit box and update their values.
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.
virtual ScrollbarcreateVertScrollbar (const String &name) const =0
 create and return a pointer to a Scrollbar widget for use as vertical scroll bar
virtual ScrollbarcreateHorzScrollbar (const String &name) const =0
 create and return a pointer to a Scrollbar widget for use as horizontal scroll bar
bool handleScrollbarChange (const EventArgs &e)
virtual void onAlphaChanged (WindowEventArgs &e)
 Handler called when the window's alpha blend value is changed.
void updateRenderableFrameColours (void)
 update the internal RenderableFrame with currently set colours and alpha settings.
colour calculateModulatedAlphaColour (const colour &col, float alpha) const
 return ARGB colour value col, with its alpha component modulated by the value specified in float alpha.
virtual void onStaticFrameChanged (WindowEventArgs &e)
 This is used internally to indicate that the frame for the static widget has been modified, and as such derived classes may need to adjust their layouts or reconfigure their rendering somehow.
virtual void onMoved (WindowEventArgs &e)
 Handler called when the window's position changes.
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 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.
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

Protected Attributes

HorzFormatting d_horzFormatting
 Horizontal formatting to be applied to the text.
VertFormatting d_vertFormatting
 Vertical formatting to be applied to the text.
ColourRect d_textCols
 Colours used when rendering the text.
Scrollbard_vertScrollbar
 Widget used as vertical scrollbar;.
Scrollbard_horzScrollbar
 Widget used as horizontal scrollbar;.
bool d_enableVertScrollbar
 true if vertical scroll bar is enabled.
bool d_enableHorzScrollbar
 true if horizontal scroll bar is enabled.
bool d_frameEnabled
 True when the frame is enabled.
ColourRect d_frameCols
 Used to store frame colours.
RenderableFrame d_frame
 Frame object used for rendering a frame for the static element.
bool d_backgroundEnabled
 true when the background is enabled.
ColourRect d_backgroundCols
 Colours to use when drawing background.
const Imaged_background
 Image to use for widget background.
float d_left_width
 Width of the left edge image for the current frame.
float d_right_width
 Width of the right edge image for the current frame.
float d_top_height
 Height of the top edge image for the current frame.
float d_bottom_height
 Height of the bottom edge image for the current frame.
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.
Windowd_oldCapture
 The Window that previously had capture (used for restoreOldCapture mode).
Windowd_parent
 Holds pointer to the parent window.
const Fontd_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 Imaged_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.
Tooltipd_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 Windowd_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

Detailed Description

Base class for a static text widget.

Definition at line 46 of file CEGUIStaticText.h.


Member Typedef Documentation

typedef std::vector<Window*> CEGUI::Window::ChildList [protected, inherited]
 

Definition at line 3680 of file CEGUIWindow.h.

typedef ConstBaseIterator<EventMap> CEGUI::EventSet::EventIterator [inherited]
 

Definition at line 255 of file CEGUIEventSet.h.

typedef std::map<String, Event*> CEGUI::EventSet::EventMap [protected, inherited]
 

Definition at line 246 of file CEGUIEventSet.h.

typedef ConstBaseIterator<PropertyRegistry> CEGUI::PropertySet::PropertyIterator [inherited]
 

Definition at line 201 of file CEGUIPropertySet.h.

typedef std::map<String, String> CEGUI::Window::UserStringMap [protected, inherited]
 

Definition at line 3698 of file CEGUIWindow.h.


Member Enumeration Documentation

enum CEGUI::StaticText::HorzFormatting
 

Enumeration of horizontal formatting options for static text widgets.

Enumerator:
LeftAligned  Text is output as a single line of text with the first character aligned with the left edge of the widget.
RightAligned  Text is output as a single line of text with the last character aligned with the right edge of the widget.
HorzCentred  Text is output as a single line of text horizontally centred within the widget.
HorzJustified  Text is output as a single line of text with the first and last characters aligned with the edges of the widget.
WordWrapLeftAligned  Text is output as multiple word-wrapped lines of text with the first character of each line aligned with the left edge of the widget.
WordWrapRightAligned  Text is output as multiple word-wrapped lines of text with the last character of each line aligned with the right edge of the widget.
WordWrapCentred  Text is output as multiple word-wrapped lines of text with each line horizontally centered within the widget.
WordWrapJustified  Text is output as multiple word-wrapped lines of text with the first and last characters of each line aligned with the edges of the widget.

Definition at line 59 of file CEGUIStaticText.h.

enum CEGUI::StaticText::VertFormatting
 

Enumeration of vertical formatting options for a static text widgets.

Enumerator:
TopAligned  Text is output with the top of first line of text aligned with the top edge of the widget.
BottomAligned  Text is output with the bottom of last line of text aligned with the bottom edge of the widget.
VertCentred  Text is output vertically centred within the widget.

Definition at line 76 of file CEGUIStaticText.h.


Constructor & Destructor Documentation

CEGUI::StaticText::StaticText const String type,
const String name
 

Constructor for static text widgets.

Definition at line 50 of file CEGUIStaticText.cpp.

CEGUI::StaticText::~StaticText void   )  [virtual]
 

Destructor for static text widgets.

Definition at line 65 of file CEGUIStaticText.cpp.


Member Function Documentation

Rect CEGUI::Window::absoluteToRelative const Rect rect  )  const [inherited]
 

Convert the given area from absolute to relative metrics.

Parameters:
rect Rect object describing the area specified in pixels relative to this Window.
Returns:
A Rect object describing a relative metric area that is equivalent to rect, given the Window objects current size.

Definition at line 1307 of file CEGUIWindow.cpp.

References CEGUI::Window::absoluteToRelative_impl().

Size CEGUI::Window::absoluteToRelative const Size sze  )  const [inherited]
 

Convert the given size from absolute to relative metrics.

Parameters:
sze Size object that describes a size specified in pixels.
Returns:
A Size object describing a relative metric size that is equivalent to sze, given the Window objects current size.

Definition at line 1298 of file CEGUIWindow.cpp.

References CEGUI::Window::absoluteToRelative_impl().

Point CEGUI::Window::absoluteToRelative const Point pt  )  const [inherited]
 

Convert the given position from absolute to relative metrics.

Parameters:
pt Point object that describes a position specified in pixels relative to this Window (so 0,0 is this windows top-left corner).
Returns:
A Point object describing a relative metric position that is equivalent to pt, given the Window objects current size.

Definition at line 1289 of file CEGUIWindow.cpp.

References CEGUI::Window::absoluteToRelative_impl().

Point CEGUI::Window::absoluteToRelative_impl const Window window,
const Point pt
const [protected, inherited]
 

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, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Size CEGUI::Window::absoluteToRelative_impl const Window window,
const Size sz
const [protected, inherited]
 

Definition at line 2140 of file CEGUIWindow.cpp.

References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Rect CEGUI::Window::absoluteToRelative_impl const Window window,
const Rect rect
const [protected, inherited]
 

Return a Rect object that describes, in values relative to window, the absolute area described by rect.

Parameters:
window Pointer to a window object that is to be used as the base for the conversion. If this is NULL then the size of the display, as returned by the renderer object, is used.
rect Rect object describing the area, in absolute values, that is to be returned as relative values.
Returns:
Rect object that describes in values relative to window, the same area described as absolute values in 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, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Referenced by CEGUI::Window::absoluteToRelative(), CEGUI::ListHeader::createInitialisedSegment(), and CEGUI::Thumb::onMouseMove().

float CEGUI::Window::absoluteToRelativeX float  val  )  const [inherited]
 

Convert the given X co-ordinate from absolute to relative metrics.

Parameters:
val X co-ordinate specified in pixels relative to this Window (so 0 is this windows left edge).
Returns:
A relative metric value that is equivalent to val, given the Window objects current width.

Definition at line 1271 of file CEGUIWindow.cpp.

References CEGUI::Window::absoluteToRelativeX_impl().

Referenced by CEGUI::MultiColumnList::autoSizeColumnHeader(), CEGUI::MultiColumnList::getColumnHeaderWidth(), CEGUI::MultiColumnList::getTotalColumnHeadersWidth(), CEGUI::MultiColumnList::handleHorzScrollbar(), CEGUI::MultiColumnList::insertColumn(), and CEGUI::ListHeader::segmentDragHandler().

float CEGUI::Window::absoluteToRelativeX_impl const Window window,
float  x
const [protected, inherited]
 

Definition at line 2204 of file CEGUIWindow.cpp.

References CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Referenced by CEGUI::Window::absoluteToRelativeX().

float CEGUI::Window::absoluteToRelativeY float  val  )  const [inherited]
 

Convert the given Y co-ordinate from absolute to relative metrics.

Parameters:
val Y co-ordinate specified in pixels relative to this Window (so 0 is this windows top edge).
Returns:
A relative metric value that is equivalent to val, given the Window objects current height.

Definition at line 1280 of file CEGUIWindow.cpp.

References CEGUI::Window::absoluteToRelativeY_impl().

Referenced by CEGUI::TabControlProperties::RelativeTabTextPadding::getDefault(), CEGUI::TabControl::setAbsoluteTabHeight(), and CEGUI::TabControl::setAbsoluteTabTextPadding().

float CEGUI::Window::absoluteToRelativeY_impl const Window window,
float  y
const [protected, inherited]
 

Definition at line 2223 of file CEGUIWindow.cpp.

References CEGUI::Size::d_height, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Referenced by CEGUI::Window::absoluteToRelativeY().

void CEGUI::Window::activate void   )  [inherited]
 

Activate the Window giving it input focus and bringing it to the top of all non always-on-top Windows.

Returns:
Nothing

Definition at line 804 of file CEGUIWindow.cpp.

References CEGUI::Window::d_captureWindow, CEGUI::Window::moveToFront(), and CEGUI::Window::onCaptureLost().

Referenced by CEGUI::Combobox::activateEditbox(), CEGUI::Combobox::droplist_SelectionAcceptedHandler(), CEGUI::Spinner::onActivated(), CEGUI::Window::setModalState(), and CEGUI::Combobox::showDropList().

void CEGUI::Window::addChild_impl Window wnd  )  [protected, virtual, inherited]
 

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 CEGUI::Window::addWindowToDrawList(), CEGUI::Window::d_children, CEGUI::Window::getParent(), CEGUI::Window::onParentSized(), CEGUI::Window::removeChildWindow(), and CEGUI::Window::setParent().

Referenced by CEGUI::TabControl::addChild_impl(), CEGUI::ScrollablePane::addChild_impl(), CEGUI::Window::addChildWindow(), and CEGUI::Window::setAlwaysOnTop().

void CEGUI::Window::addChildWindow Window window  )  [inherited]
 

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.

Parameters:
window Pointer to the Window object to be added.
Returns:
Nothing
Exceptions:
InvalidRequestException thrown if Window window is an ancestor of this Window, to prevent cyclic Window structures.

Definition at line 979 of file CEGUIWindow.cpp.

References CEGUI::Window::addChild_impl(), CEGUI::Window::onChildAdded(), and CEGUI::Window::onZChange_impl().

void CEGUI::Window::addChildWindow const String name  )  [inherited]
 

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.

Parameters:
name String object holding the name of the Window to be added.
Returns:
Nothing.
Exceptions:
UnknownObjectException thrown if no Window named name exists.
InvalidRequestException thrown if Window name is an ancestor of this Window, to prevent cyclic Window structures.

Definition at line 968 of file CEGUIWindow.cpp.

References CEGUI::WindowManager::getSingleton().

Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::ScrollablePane::addChild_impl(), CEGUI::ItemListBase::addItem(), CEGUI::TabControl::addTab(), CEGUI::WidgetComponent::create(), CEGUI::GUILayout_xmlHandler::elementEnd(), CEGUI::TabControl::initialise(), 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(), CEGUI::ListHeader::insertColumn(), CEGUI::ItemListBase::insertItem(), CEGUI::MenuItem::setPopupMenu(), and CEGUI::Tooltip::setTargetWindow().

void CEGUI::EventSet::addEvent const String name  )  [inherited]
 

Add a new Event to the EventSet with the given name.

Parameters:
name String object containing the name to give the new Event. The name must be unique for the EventSet.
Returns:
Nothing
Exceptions:
AlreadyExistsException Thrown if an Event already exists named 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(), CEGUI::Window::addStandardEvents(), CEGUI::TabButton::addTabButtonEvents(), CEGUI::TabControl::addTabControlEvents(), CEGUI::Thumb::addThumbEvents(), CEGUI::Tooltip::addTooltipEvents(), CEGUI::Renderer::Renderer(), and CEGUI::GlobalEventSet::subscribeEvent().

void CEGUI::PropertySet::addProperty Property property  )  [inherited]
 

Adds a new Property to the PropertySet.

Parameters:
property Pointer to the Property object to be added to the PropertySet.
Returns:
Nothing.
Exceptions:
NullObjectException Thrown if property is NULL.
AlreadyExistsException Thrown if a Property with the same name as property already exists in the PropertySet

Definition at line 37 of file CEGUIPropertySet.cpp.

References CEGUI::Property::getName().

Referenced by CEGUI::Window::addStandardProperties(), CEGUI::TabControl::addTabControlProperties(), and CEGUI::WidgetLookFeel::initialiseWidget().

void CEGUI::Window::addStandardEvents void   )  [protected, inherited]
 

Add standard CEGUI::Window events.

Definition at line 1983 of file CEGUIWindow.cpp.

References CEGUI::EventSet::addEvent(), CEGUI::Window::EventActivated, CEGUI::Window::EventAlphaChanged, CEGUI::Window::EventAlwaysOnTopChanged, CEGUI::Window::EventCharacterKey, CEGUI::Window::EventChildAdded, CEGUI::Window::EventChildRemoved, CEGUI::Window::EventClippedByParentChanged, CEGUI::Window::EventDeactivated, CEGUI::Window::EventDestroyedByParentChanged, CEGUI::Window::EventDestructionStarted, CEGUI::Window::EventDisabled, CEGUI::Window::EventDragDropItemDropped, CEGUI::Window::EventDragDropItemEnters, CEGUI::Window::EventDragDropItemLeaves, CEGUI::Window::EventEnabled, CEGUI::Window::EventFontChanged, CEGUI::Window::EventHidden, CEGUI::Window::EventHorizontalAlignmentChanged, CEGUI::Window::EventIDChanged, CEGUI::Window::EventInheritsAlphaChanged, CEGUI::Window::EventInputCaptureGained, CEGUI::Window::EventInputCaptureLost, CEGUI::Window::EventKeyDown, CEGUI::Window::EventKeyUp, CEGUI::Window::EventMetricsModeChanged, CEGUI::Window::EventMouseButtonDown, CEGUI::Window::EventMouseButtonUp, CEGUI::Window::EventMouseClick, CEGUI::Window::EventMouseDoubleClick, CEGUI::Window::EventMouseEnters, CEGUI::Window::EventMouseLeaves, CEGUI::Window::EventMouseMove, CEGUI::Window::EventMouseTripleClick, CEGUI::Window::EventMouseWheel, CEGUI::Window::EventMoved, CEGUI::Window::EventParentSized, CEGUI::Window::EventRenderingEnded, CEGUI::Window::EventRenderingStarted, CEGUI::Window::EventShown, CEGUI::Window::EventSized, CEGUI::Window::EventTextChanged, CEGUI::Window::EventVerticalAlignmentChanged, and CEGUI::Window::EventZOrderChanged.

Referenced by CEGUI::Window::Window().

void CEGUI::Window::addStandardProperties void   )  [protected, inherited]
 

Add standard CEGUI::Window properties.

Definition at line 2731 of file CEGUIWindow.cpp.

References CEGUI::PropertySet::addProperty(), CEGUI::Window::d_absHeightProperty, CEGUI::Window::d_absMaxSizeProperty, CEGUI::Window::d_absMinSizeProperty, CEGUI::Window::d_absPositionProperty, CEGUI::Window::d_absRectProperty, CEGUI::Window::d_absSizeProperty, CEGUI::Window::d_absWidthProperty, CEGUI::Window::d_absXPosProperty, CEGUI::Window::d_absYPosProperty, CEGUI::Window::d_alphaProperty, CEGUI::Window::d_alwaysOnTopProperty, CEGUI::Window::d_autoRepeatDelayProperty, CEGUI::Window::d_autoRepeatProperty, CEGUI::Window::d_autoRepeatRateProperty, CEGUI::Window::d_clippedByParentProperty, CEGUI::Window::d_destroyedByParentProperty, CEGUI::Window::d_disabledProperty, CEGUI::Window::d_distInputsProperty, CEGUI::Window::d_fontProperty, CEGUI::Window::d_heightProperty, CEGUI::Window::d_horzAlignProperty, CEGUI::Window::d_IDProperty, CEGUI::Window::d_inheritsAlphaProperty, CEGUI::Window::d_inheritsTooltipProperty, CEGUI::Window::d_metricsModeProperty, CEGUI::Window::d_mouseCursorProperty, CEGUI::Window::d_positionProperty, CEGUI::Window::d_rectProperty, CEGUI::Window::d_relHeightProperty, CEGUI::Window::d_relMaxSizeProperty, CEGUI::Window::d_relMinSizeProperty, CEGUI::Window::d_relPositionProperty, CEGUI::Window::d_relRectProperty, CEGUI::Window::d_relSizeProperty, CEGUI::Window::d_relWidthProperty, CEGUI::Window::d_relXPosProperty, CEGUI::Window::d_relYPosProperty, CEGUI::Window::d_restoreOldCaptureProperty, CEGUI::Window::d_riseOnClickProperty, CEGUI::Window::d_sizeProperty, CEGUI::Window::d_textProperty, CEGUI::Window::d_tooltipProperty, CEGUI::Window::d_tooltipTypeProperty, CEGUI::Window::d_unifiedAreaRectProperty, CEGUI::Window::d_unifiedHeightProperty, CEGUI::Window::d_unifiedMaxSizeProperty, CEGUI::Window::d_unifiedMinSizeProperty, CEGUI::Window::d_unifiedPositionProperty, CEGUI::Window::d_unifiedSizeProperty, CEGUI::Window::d_unifiedWidthProperty, CEGUI::Window::d_unifiedXPositionProperty, CEGUI::Window::d_unifiedYPositionProperty, CEGUI::Window::d_vertAlignProperty, CEGUI::Window::d_visibleProperty, CEGUI::Window::d_wantsMultiClicksProperty, CEGUI::Window::d_widthProperty, CEGUI::Window::d_xPosProperty, CEGUI::Window::d_yPosProperty, and CEGUI::Window::d_zOrderChangeProperty.

Referenced by CEGUI::Window::Window().

void CEGUI::Window::addWindowToDrawList Window wnd,
bool  at_back = false
[protected, inherited]
 

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.

Parameters:
wnd Window object to be added to the drawing list.
at_back Indicates whether the window should be placed at the back of other windows in the same group. If this is false, the window is place in front of other windows in the group.
Returns:
Nothing.

Definition at line 3476 of file CEGUIWindow.cpp.

References CEGUI::Window::d_drawList, and CEGUI::Window::isAlwaysOnTop().

Referenced by CEGUI::Window::addChild_impl(), CEGUI::Window::moveToBack(), and CEGUI::Window::moveToFront_impl().

colour CEGUI::Static::calculateModulatedAlphaColour const colour col,
float  alpha
const [protected, inherited]
 

return ARGB colour value col, with its alpha component modulated by the value specified in float alpha.

Definition at line 281 of file CEGUIStatic.cpp.

References CEGUI::colour::getAlpha(), and CEGUI::colour::setAlpha().

Referenced by CEGUI::Static::updateRenderableFrameColours(), and CEGUI::StaticImage::updateRenderableImageColours().

bool CEGUI::Window::captureInput void   )  [inherited]
 

Captures input to this window.

Returns:
  • true if input was successfully captured to this window.
  • false if input could not be captured to this window (maybe because the window is not active).

Definition at line 1143 of file CEGUIWindow.cpp.

References CEGUI::Window::d_captureWindow, CEGUI::Window::d_oldCapture, CEGUI::Window::d_restoreOldCapture, CEGUI::Window::isActive(), CEGUI::Window::onCaptureGained(), and CEGUI::Window::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().

void CEGUI::Window::cleanupChildren void   )  [protected, virtual, inherited]
 

Cleanup child windows.

Definition at line 2009 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::WindowManager::destroyWindow(), CEGUI::Window::getChildCount(), CEGUI::WindowManager::getSingleton(), CEGUI::Window::isDestroyedByParent(), and CEGUI::Window::removeChildWindow().

Referenced by CEGUI::Window::destroy().

void CEGUI::PropertySet::clearProperties void   )  [inherited]
 

Removes all Property objects from the PropertySet.

Returns:
Nothing.

Definition at line 68 of file CEGUIPropertySet.cpp.

void CEGUI::StaticText::configureScrollbars void   )  [protected]
 

display required integrated scroll bars according to current state of the edit box and update their values.

Definition at line 282 of file CEGUIStaticText.cpp.

References ceguimax, d_enableHorzScrollbar, d_enableVertScrollbar, d_horzFormatting, d_horzScrollbar, CEGUI::Window::d_text, d_vertScrollbar, CEGUI::Window::getFont(), CEGUI::Font::getFormattedLineCount(), CEGUI::Font::getFormattedTextExtent(), CEGUI::Rect::getHeight(), CEGUI::Window::getHeight(), CEGUI::Font::getLineSpacing(), CEGUI::Window::getName(), CEGUI::Scrollbar::getScrollPosition(), CEGUI::WindowManager::getSingleton(), getTextRenderArea(), CEGUI::Rect::getWidth(), CEGUI::Window::getWidth(), CEGUI::WindowManager::getWindow(), CEGUI::Window::hide(), CEGUI::Scrollbar::setDocumentSize(), CEGUI::Scrollbar::setPageSize(), CEGUI::Scrollbar::setScrollPosition(), CEGUI::Scrollbar::setStepSize(), and CEGUI::Window::show().

Referenced by onFontChanged(), onSized(), onTextChanged(), setHorizontalScrollbarEnabled(), and setVerticalScrollbarEnabled().

virtual Scrollbar* CEGUI::StaticText::createHorzScrollbar const String name  )  const [protected, pure virtual]
 

create and return a pointer to a Scrollbar widget for use as horizontal scroll bar

Parameters:
name String containing the name to be given to the created component.
Returns:
Pointer to a Scrollbar to be used for scrolling horizontally.

Referenced by initialise().

virtual Scrollbar* CEGUI::StaticText::createVertScrollbar const String name  )  const [protected, pure virtual]
 

create and return a pointer to a Scrollbar widget for use as vertical scroll bar

Parameters:
name String containing the name to be given to the created component.
Returns:
Pointer to a Scrollbar to be used for scrolling vertically.

Referenced by initialise().

void CEGUI::Window::deactivate void   )  [inherited]
 

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.

Returns:
Nothing.

Definition at line 827 of file CEGUIWindow.cpp.

References CEGUI::Window::onDeactivated(), and CEGUI::ActivationEventArgs::otherWindow.

void CEGUI::Window::destroy void   )  [virtual, inherited]
 

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.

Note:
You never have to call this method yourself, use WindowManager to destroy your Window objects (which will call this for you).

Definition at line 3014 of file CEGUIWindow.cpp.

References CEGUI::Window::cleanupChildren(), CEGUI::Window::d_parent, CEGUI::WindowManager::destroyWindow(), CEGUI::WindowManager::getSingleton(), CEGUI::WindowManager::isWindowPresent(), CEGUI::Window::onDestructionStarted(), CEGUI::Window::releaseInput(), and CEGUI::Window::removeChildWindow().

Referenced by CEGUI::WindowManager::destroyWindow().

void CEGUI::Window::disable void   )  [inline, inherited]
 

disable the Window to prevent interaction.

Returns:
Nothing

Definition at line 1310 of file CEGUIWindow.h.

bool CEGUI::Window::distributesCapturedInputs void   )  const [inherited]
 

Return whether the window wants inputs passed to its attached child windows when the window has inputs captured.

Returns:
  • true if System should pass captured input events to child windows.
  • false if System should pass captured input events to this window only.

Definition at line 2969 of file CEGUIWindow.cpp.

References CEGUI::Window::d_distCapturedInputs.

void CEGUI::Window::doRiseOnClick void   )  [protected, inherited]
 

Implementation of rise on click functionality.

Definition at line 3136 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::d_riseOnClick, CEGUI::Window::doRiseOnClick(), and CEGUI::Window::moveToFront_impl().

Referenced by CEGUI::Window::doRiseOnClick(), CEGUI::Window::moveToFront_impl(), and CEGUI::Window::onMouseButtonDown().

void CEGUI::Window::drawSelf float  z  )  [protected, virtual, inherited]
 

Perform the actual rendering for this Window.

Parameters:
z float value specifying the base Z co-ordinate that should be used when rendering
Returns:
Nothing

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(), CEGUI::Window::d_needsRedraw, CEGUI::Window::d_renderCache, CEGUI::Window::getPixelRect(), CEGUI::Window::getPosition(), CEGUI::Window::getUnclippedPixelRect(), CEGUI::Rect::getWidth(), CEGUI::RenderCache::hasCachedImagery(), CEGUI::Window::populateRenderCache(), and CEGUI::RenderCache::render().

Referenced by CEGUI::Window::render().

void CEGUI::Window::enable void   )  [inline, inherited]
 

enable the Window to allow interaction.

Returns:
Nothing

Definition at line 1300 of file CEGUIWindow.h.

void CEGUI::EventSet::fireEvent const String name,
EventArgs args,
const String eventNamespace = ""
[virtual, inherited]
 

Fires the named event passing the given EventArgs object.

Parameters:
name String object holding the name of the Event that is to be fired (triggered)
args The EventArgs (or derived) object that is to be bassed to each subscriber of the Event. Once all subscribers have been called the 'handled' field of the event is updated appropriately.
eventNamespace String object describing the global event namespace prefix for this event.
Returns:
Nothing.
Exceptions:
UnknownObjectException Thrown if no Event named name was found in the EventSet.

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(), CEGUI::Window::onActivated(), CEGUI::Window::onAlphaChanged(), CEGUI::Window::onAlwaysOnTopChanged(), CEGUI::ScrolledContainer::onAutoSizeSettingChanged(), CEGUI::ScrollablePane::onAutoSizeSettingChanged(), CEGUI::Window::onCaptureGained(), CEGUI::Window::onCaptureLost(), CEGUI::MultiLineEditbox::onCaratMoved(), CEGUI::Editbox::onCaratMoved(), CEGUI::Combobox::onCaratMoved(), CEGUI::Window::onCharacter(), CEGUI::Window::onChildAdded(), CEGUI::Window::onChildRemoved(), CEGUI::ListHeaderSegment::onClickableSettingChanged(), CEGUI::TabButton::onClicked(), CEGUI::PushButton::onClicked(), CEGUI::MenuItem::onClicked(), CEGUI::Window::onClippingChanged(), CEGUI::FrameWindow::onCloseClicked(), CEGUI::ScrolledContainer::onContentChanged(), CEGUI::ScrollablePane::onContentPaneChanged(), CEGUI::ScrollablePane::onContentPaneScrolled(), CEGUI::Window::onDeactivated(), CEGUI::Window::onDestructionStarted(), CEGUI::Window::onDisabled(), CEGUI::Tooltip::onDisplayTimeChanged(), CEGUI::DragContainer::onDragAlphaChanged(), CEGUI::Window::onDragDropItemDropped(), CEGUI::Window::onDragDropItemEnters(), CEGUI::Window::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(), CEGUI::Window::onEnabled(), CEGUI::Tooltip::onFadeTimeChanged(), CEGUI::Window::onFontChanged(), CEGUI::Window::onHidden(), CEGUI::Window::onHorizontalAlignmentChanged(), CEGUI::ScrollablePane::onHorzScrollbarModeChanged(), CEGUI::MultiLineEditbox::onHorzScrollbarModeChanged(), CEGUI::MultiColumnList::onHorzScrollbarModeChanged(), CEGUI::Listbox::onHorzScrollbarModeChanged(), CEGUI::Combobox::onHorzScrollbarModeChanged(), CEGUI::Tooltip::onHoverTimeChanged(), CEGUI::Window::onIDChanged(), CEGUI::MouseCursor::onImageChanged(), CEGUI::Window::onInheritsAlphaChanged(), CEGUI::Editbox::onInvalidEntryAttempted(), CEGUI::Combobox::onInvalidEntryAttempted(), CEGUI::Window::onKeyDown(), CEGUI::Window::onKeyUp(), CEGUI::MultiColumnList::onListColumnMoved(), CEGUI::MultiColumnList::onListColumnSized(), CEGUI::MultiColumnList::onListContentsChanged(), CEGUI::Listbox::onListContentsChanged(), CEGUI::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(), CEGUI::Window::onMetricsChanged(), CEGUI::Spinner::onMinimumValueChanged(), CEGUI::Window::onMouseButtonDown(), CEGUI::Window::onMouseButtonUp(), CEGUI::Window::onMouseClicked(), CEGUI::Window::onMouseDoubleClicked(), CEGUI::Window::onMouseEnters(), CEGUI::Window::onMouseLeaves(), CEGUI::Window::onMouseMove(), CEGUI::Window::onMouseTripleClicked(), CEGUI::Window::onMouseWheel(), CEGUI::ListHeaderSegment::onMovableSettingChanged(), CEGUI::Window::onMoved(), CEGUI::Listbox::onMultiselectModeChanged(), CEGUI::MultiColumnList::onNominatedSelectColumnChanged(), CEGUI::MultiColumnList::onNominatedSelectRowChanged(), CEGUI::Window::onParentDestroyChanged(), CEGUI::Window::onParentSized(), CEGUI::MenuBase::onPopupClosed(), CEGUI::MenuBase::onPopupOpened(), CEGUI::ProgressBar::onProgressChanged(), CEGUI::ProgressBar::onProgressDone(), CEGUI::MultiLineEditbox::onReadOnlyChanged(), CEGUI::Editbox::onReadOnlyChanged(), CEGUI::Combobox::onReadOnlyChanged(), CEGUI::Window::onRenderingEnded(), CEGUI::Window::onRenderingStarted(), CEGUI::FrameWindow::onRollupToggled(), CEGUI::Scrollbar::onScrollConfigChanged(), CEGUI::Scrollbar::onScrollPositionChanged(), CEGUI::ListHeader::onSegmentAdded(), CEGUI::ListHeaderSegment::onSegmentClicked(), CEGUI::ListHeader::onSegmentClicked(), CEGUI::ListHeaderSegment::onSegmentDragPositionChanged(), CEGUI::ListHeaderSegment::onSegmentDragStart(), CEGUI::ListHeaderSegment::onSegmentDragStop(), CEGUI::ListHeader::onSegmentOffsetChanged(), CEGUI::ListHeader::onSegmentRemoved(), CEGUI::ListHeader::onSegmentSequenceChanged(), CEGUI::ListHeaderSegment::onSegmentSized(), CEGUI::ListHeader::onSegmentSized(), CEGUI::TabControl::onSelectionChanged(), CEGUI::MultiColumnList::onSelectionChanged(), CEGUI::Listbox::onSelectionChanged(), CEGUI::MultiColumnList::onSelectionModeChanged(), CEGUI::Checkbox::onSelectStateChange(), CEGUI::RadioButton::onSelectStateChanged(), CEGUI::Window::onShown(), CEGUI::Window::onSized(), CEGUI::ListHeaderSegment::onSizingSettingChanged(), CEGUI::MultiColumnList::onSortColumnChanged(), CEGUI::ListHeader::onSortColumnChanged(), CEGUI::MultiColumnList::onSortDirectionChanged(), CEGUI::ListHeaderSegment::onSortDirectionChanged(), CEGUI::ListHeader::onSortDirectionChanged(), CEGUI::Listbox::onSortModeChanged(), CEGUI::Combobox::onSortModeChanged(), CEGUI::ListHeader::onSortSettingChanged(), CEGUI::ListHeaderSegment::onSplitterDoubleClicked(), CEGUI::ListHeader::onSplitterDoubleClicked(), CEGUI::Spinner::onStepChanged(), CEGUI::Editbox::onTextAcceptedEvent(), CEGUI::Combobox::onTextAcceptedEvent(), CEGUI::Window::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(), CEGUI::Window::onVerticalAlignmentChanged(), CEGUI::ScrollablePane::onVertScrollbarModeChanged(), CEGUI::MultiLineEditbox::onVertScrollbarModeChanged(), CEGUI::MultiColumnList::onVertScrollbarModeChanged(), CEGUI::Listbox::onVertScrollbarModeChanged(), CEGUI::Combobox::onVertScrollbarModeChanged(), CEGUI::MultiLineEditbox::onWordWrapModeChanged(), CEGUI::Window::onZChanged(), CEGUI::DirectX81Renderer::setDisplaySize(), CEGUI::OpenGLRenderer::setDisplaySize(), and CEGUI::DirectX9Renderer::setDisplaySize().

void CEGUI::Window::generateAutoRepeatEvent MouseButton  button  )  [protected, inherited]
 

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, CEGUI::Window::onMouseButtonDown(), CEGUI::MouseEventArgs::position, CEGUI::MouseEventArgs::sysKeys, and CEGUI::MouseEventArgs::wheelChange.

Referenced by CEGUI::Window::updateSelf().

float CEGUI::Window::getAbsoluteHeight void   )  const [inline, inherited]
 

Return the window height in absolute metrics.

Returns:
float value describing this windows height in absolute metrics.

Definition at line 886 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getHeight(), CEGUI::Window::getParentHeight(), getTextRenderArea(), CEGUI::Window::getUnclippedPixelRect(), CEGUI::UnifiedDim::getValue_impl(), CEGUI::WidgetDim::getValue_impl(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::PushButton::onSized(), CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowY(), CEGUI::PushButton::setCustomImageryAutoSized(), CEGUI::PushButton::setDisabledImage(), CEGUI::PushButton::setHoverImage(), CEGUI::PushButton::setNormalImage(), CEGUI::PushButton::setPushedImage(), CEGUI::Window::windowToScreen(), and CEGUI::Window::windowToScreenY().

Point CEGUI::Window::getAbsolutePosition void   )  const [inline, inherited]
 

Return the window position in absolute metrics.

Returns:
Point object describing this windows position, relative to the parent window, in absolute metrics.

Definition at line 836 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getPosition(), CEGUI::WidgetDim::getValue_impl(), CEGUI::Thumb::onMouseMove(), and CEGUI::Window::windowToScreen().

Rect CEGUI::Window::getAbsoluteRect void   )  const [inline, inherited]
 

Return the window area rect in absolute metrics.

Returns:
Rect object describing this windows area, relative to the parent window, in absolute metrics

Definition at line 826 of file CEGUIWindow.h.

Referenced by CEGUI::ScrolledContainer::getChildExtentsArea(), CEGUI::Window::getRect(), CEGUI::WidgetDim::getValue_impl(), and CEGUI::MenuItem::openPopupMenu().

Size CEGUI::Window::getAbsoluteSize void   )  const [inline, inherited]
 

Return the window size in absolute metrics.

Returns:
Size object describing this windows size in absolute metrics.

Definition at line 866 of file CEGUIWindow.h.

Referenced by CEGUI::ComponentArea::getPixelRect(), CEGUI::Window::getSize(), getTextRenderArea(), CEGUI::Window::getWindowSize_impl(), CEGUI::Static::onSized(), and CEGUI::Static::populateRenderCache().

float CEGUI::Window::getAbsoluteWidth void   )  const [inline, inherited]
 

Return the window width in absolute metrics.

Returns:
float value describing this windows width in absolute metrics.

Definition at line 876 of file CEGUIWindow.h.

Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::Window::getParentWidth(), getTextRenderArea(), CEGUI::Window::getUnclippedPixelRect(), CEGUI::UnifiedDim::getValue_impl(), CEGUI::WidgetDim::getValue_impl(), CEGUI::Window::getWidth(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::PushButton::onSized(), CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowX(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::PushButton::setCustomImageryAutoSized(), CEGUI::PushButton::setDisabledImage(), CEGUI::PushButton::setHoverImage(), CEGUI::PushButton::setNormalImage(), CEGUI::PushButton::setPushedImage(), CEGUI::Window::windowToScreen(), and CEGUI::Window::windowToScreenX().

float CEGUI::Window::getAbsoluteXPosition void   )  const [inline, inherited]
 

Return the window X position in absolute metrics.

Returns:
float value describing this windows X position, relative to the parent window, in absolute metrics.

Definition at line 846 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getXPosition(), CEGUI::Window::windowToScreen(), and CEGUI::Window::windowToScreenX().

float CEGUI::Window::getAbsoluteYPosition void   )  const [inline, inherited]
 

Return the window Y position in absolute metrics.

Returns:
float value describing this windows Y position, relative to the parent window, in absolute metrics.

Definition at line 856 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getYPosition(), CEGUI::Window::windowToScreen(), and CEGUI::Window::windowToScreenY().

const Window * CEGUI::Window::getActiveChild void   )  const [inherited]
 

Definition at line 396 of file CEGUIWindow.cpp.

References CEGUI::Window::d_active, CEGUI::Window::d_drawList, CEGUI::Window::getChildCount(), and CEGUI::Window::isActive().

Window * CEGUI::Window::getActiveChild void   )  [inherited]
 

return a pointer to the Window that currently has input focus starting with this Window.

Returns:
Pointer to the window that is active (has input focus) starting at 'this. Will return 'this' if this Window is active and either no children are attached or if none of the attached children are active. Returns NULL if this Window (and therefore all children) are not active.

Definition at line 386 of file CEGUIWindow.cpp.

Window * CEGUI::Window::getActiveSibling  )  [inherited]
 

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.

Returns:
A pointer to the immediate child window attached to our parent that is currently active, or 0 if no immediate child of our parent is active.

Definition at line 3522 of file CEGUIWindow.cpp.

References CEGUI::Window::d_drawList, CEGUI::Window::d_parent, CEGUI::Window::getChildCount(), and CEGUI::Window::isActive().

Referenced by CEGUI::Window::moveToFront_impl().

float CEGUI::Window::getAlpha void   )  const [inline, inherited]
 

return the current alpha value set for this Window

Note:
The alpha value set for any given window may or may not be the final alpha value that is used when rendering. All window objects, by default, inherit alpha from thier parent window(s) - this will blend child windows, relatively, down the line of inheritance. This behaviour can be overridden via the setInheritsAlpha() method. To return the true alpha value that will be applied when rendering, use the getEffectiveAlpha() method.
Returns:
the currently set alpha value for this Window. Will be between 0.0f and 1.0f.

Definition at line 491 of file CEGUIWindow.h.

float CEGUI::Window::getAutoRepeatDelay void   )  const [inherited]
 

Return the current auto-repeat delay setting for this window.

Returns:
float value indicating the delay, in seconds, defore the first repeat mouse button down event will be triggered when autorepeat is enabled.

Definition at line 2856 of file CEGUIWindow.cpp.

References CEGUI::Window::d_repeatDelay.

float CEGUI::Window::getAutoRepeatRate void   )  const [inherited]
 

Return the current auto-repeat rate setting for this window.

Returns:
float value indicating the rate, in seconds, at which repeat mouse button down events will be generated after the initial delay has expired.

Definition at line 2865 of file CEGUIWindow.cpp.

References CEGUI::Window::d_repeatRate.

ColourRect CEGUI::Static::getBackgroundColours void   )  const [inline, inherited]
 

Return a ColourRect object containing the colours used when rendering this widget.

Returns:
ColourRect object initialised with the colours used when rendering the background for this widget.

Definition at line 94 of file CEGUIStatic.h.

const Image * CEGUI::Static::getBackgroundImage void   )  const [inherited]
 

Return the Image currently set as the background image for the widget.

Returns:
Pointer to the Image object currently set as the background for this StaticWidget. May return NULL if no Image is currently set.

Definition at line 363 of file CEGUIStatic.cpp.

References CEGUI::Static::d_background.

static Window* CEGUI::Window::getCaptureWindow void   )  [inline, static, inherited]
 

return the Window that currently has inputs captured.

Returns:
Pointer to the Window object that currently has inputs captured, or NULL if no Window has captured input.

Definition at line 569 of file CEGUIWindow.h.

Referenced by CEGUI::MenuItem::updateInternalState(), and CEGUI::ButtonBase::updateInternalState().

Window * CEGUI::Window::getChild uint  ID  )  const [inherited]
 

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.

Parameters:
ID uint value specifying the ID code of the window to return a pointer to.
Returns:
Pointer to the (first) Window object attached to this window that has the ID code ID.
Exceptions:
UnknownObjectException thrown if no window with the ID code ID is attached to this Window.

Definition at line 362 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::d_name, CEGUI::Window::getChildCount(), and CEGUI::Window::getID().

Window * CEGUI::Window::getChild const String name  )  const [inherited]
 

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.

Parameters:
name String object holding the name of the child window to return a pointer to.
Returns:
Pointer to the Window object attached to this window that has the name name.
Exceptions:
UnknownObjectException thrown if no window named name is attached to this Window.

Definition at line 341 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::d_name, CEGUI::Window::getChildCount(), and CEGUI::Window::getName().

Referenced by CEGUI::TabControl::getTabContents(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::TabControl::removeButtonForTabContent(), CEGUI::TabControl::removeTab(), and CEGUI::TabControl::setSelectedTab().

Window* CEGUI::Window::getChildAtIdx uint  idx  )  const [inline, inherited]
 

return a pointer to the child window that is attached to 'this' at the given index.

Parameters:
idx Index of the child window whos pointer should be returned. This value is not bounds checked, client code should ensure that this is less than the value returned by getChildCount().
Returns:
Pointer to the child window currently attached at index position idx

Definition at line 390 of file CEGUIWindow.h.

Referenced by CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::ScrolledContainer::getChildExtentsArea(), CEGUI::RadioButton::getSelectedButtonInGroup(), and CEGUI::TabControl::removeTab().

Window * CEGUI::Window::getChildAtPosition const Point position  )  const [inherited]
 

return the child Window that is 'hit' by the given position

Parameters:
position Point object that describes the position to check in screen pixels
Returns:
Pointer to the child Window that was hit according to the Point position, or NULL if no child window was hit.

Definition at line 616 of file CEGUIWindow.cpp.

References CEGUI::Window::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().

uint CEGUI::Window::getChildCount void   )  const [inline, inherited]
 

return the number of child Window objects currently attached to this Window.

Returns:
uint value equal to the number of Window objects directly attached to this Window as children.

Definition at line 293 of file CEGUIWindow.h.

Referenced by CEGUI::Window::cleanupChildren(), CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::Window::getActiveChild(), CEGUI::Window::getActiveSibling(), CEGUI::Window::getChild(), CEGUI::ScrolledContainer::getChildExtentsArea(), CEGUI::RadioButton::getSelectedButtonInGroup(), CEGUI::TabControl::getTabCount(), CEGUI::Window::isChild(), CEGUI::Window::onAlphaChanged(), CEGUI::Window::onDeactivated(), CEGUI::Window::onDisabled(), CEGUI::Window::onEnabled(), CEGUI::Window::onSized(), CEGUI::Window::onZChange_impl(), CEGUI::Window::removeChildWindow(), CEGUI::Window::render(), CEGUI::Window::setRestoreCapture(), CEGUI::Window::update(), and CEGUI::Window::writeChildWindowsXML().

float CEGUI::Window::getEffectiveAlpha void   )  const [inherited]
 

return the effective alpha value that will be used when rendering this window, taking into account inheritance of parent window(s) alpha.

Returns:
the effective alpha that will be applied to this Window when rendering. Will be between 0.0f and 1.0f.

Definition at line 505 of file CEGUIWindow.cpp.

References CEGUI::Window::d_alpha, CEGUI::Window::d_parent, CEGUI::Window::getEffectiveAlpha(), and CEGUI::Window::inheritsAlpha().

Referenced by CEGUI::MultiLineEditbox::cacheTextLines(), CEGUI::Window::getEffectiveAlpha(), CEGUI::TextItem::populateRenderCache(), populateRenderCache(), CEGUI::Static::populateRenderCache(), CEGUI::MultiColumnList::populateRenderCache(), CEGUI::Listbox::populateRenderCache(), CEGUI::SectionSpecification::render(), CEGUI::Window::setInheritsAlpha(), CEGUI::Static::updateRenderableFrameColours(), and CEGUI::StaticImage::updateRenderableImageColours().

const Font * CEGUI::Window::getFont bool  useDefault = true  )  const [inherited]
 

return the Font object active for the Window.

Parameters:
useDefault Sepcifies whether to return the default font if Window has no preference set.
Returns:
Pointer to the Font being used by this Window. If the window has no assigned font, the default font is returned.

Definition at line 489 of file CEGUIWindow.cpp.

References CEGUI::Window::d_font, CEGUI::System::getDefaultFont(), and CEGUI::System::getSingleton().

Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::MultiLineEditbox::cacheTextLines(), CEGUI::TabControl::calculateTabButtonSizePosition(), 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(), populateRenderCache(), CEGUI::TextComponent::render_impl(), and CEGUI::Window::setFont().

ColourRect CEGUI::Static::getFrameColours void   )  const [inline, inherited]
 

Return a ColourRect object containing the colours used when rendering this widget.

Returns:
ColourRect object initialised with the colours used when rendering the frame for this widget.

Definition at line 84 of file CEGUIStatic.h.

float CEGUI::Window::getHeight MetricsMode  mode  )  const [inherited]
 

return the height of the Window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
Returns:
float value that specifies the height of the Window using the specified MetricsMode.

Definition at line 2561 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getRelativeHeight(), CEGUI::Inherited, and CEGUI::Relative.

float CEGUI::Window::getHeight void   )  const [inherited]
 

return the height of the Window. Interpretation of return value depends upon the metric type in use by this window.

Returns:
float value that specifies the height of the Window. Depending upon the metrics system in use for this window, the return value will either be in pixels, or as a decimal fraction of the height of the parent Window.

Definition at line 712 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getRelativeHeight(), and CEGUI::Relative.

Referenced by configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), CEGUI::MenuItem::openPopupMenu(), and CEGUI::Window::setWidth().

HorizontalAlignment CEGUI::Window::getHorizontalAlignment  )  const [inline, inherited]
 

Get the horizontal alignment.

Returns the horizontal alignment for the window. This setting affects how the windows position is interpreted relative to its parent.

Returns:
One of the HorizontalAlignment enumerated values.

Definition at line 1163 of file CEGUIWindow.h.

HorzFormatting CEGUI::StaticText::getHorizontalFormatting void   )  const [inline]
 

Return the current horizontal formatting option set for this widget.

Returns:
One of the StaticText::HorzFormatting enumerated values specifying the horizontal formatting currently set.

Definition at line 121 of file CEGUIStaticText.h.

uint CEGUI::Window::getID void   )  const [inline, inherited]
 

return the ID code currently assigned to this Window by client code.

Returns:
uint value equal to the currently assigned ID code for this Window.

Definition at line 283 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getChild(), CEGUI::ListHeader::getColumnFromID(), CEGUI::MultiColumnList::getColumnID(), CEGUI::MultiColumnList::getNominatedSelectionColumnID(), CEGUI::ListHeader::getSegmentFromID(), CEGUI::Window::isAncestor(), CEGUI::Window::isChild(), CEGUI::Window::removeChildWindow(), CEGUI::MultiColumnList::setSortColumnByID(), and CEGUI::MultiColumnList::writePropertiesXML().

const Image * CEGUI::Static::getImageForFrameLocation FrameLocation  location  )  const [inherited]
 

Return the Image being used for the specified location of the frame.

Parameters:
location One of the FrameLocation enumerated values specifying the image to be returned.
Returns:
Pointer to the Image object currently set for the frame location specified in location. May return NULL if no Image is set for the requested position.

Definition at line 354 of file CEGUIStatic.cpp.

References CEGUI::Static::d_frame, and CEGUI::RenderableFrame::getImageForLocation().

MetricsMode CEGUI::Window::getInheritedMetricsMode void   )  const [protected, inherited]
 

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 CEGUI::Window::d_parent, CEGUI::Window::getMetricsMode(), and CEGUI::Relative.

Referenced by CEGUI::Window::getHeight(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getPosition(), CEGUI::Window::getRect(), CEGUI::Window::getSize(), CEGUI::Window::getWidth(), CEGUI::Window::getXPosition(), CEGUI::Window::getYPosition(), CEGUI::Window::setPosition(), CEGUI::Window::setRect(), and CEGUI::Window::setSize().

Rect CEGUI::Window::getInnerRect void   )  const [inherited]
 

return a Rect object describing the clipped inner area for this window.

Returns:
Rect object that describes, in appropriately clipped screen pixel co-ordinates, the window object's inner rect area.

Definition at line 547 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::getInnerRect(), CEGUI::Rect::getIntersection(), CEGUI::Window::getRect(), CEGUI::System::getSingleton(), CEGUI::Window::getUnclippedInnerRect(), and CEGUI::Window::isClippedByParent().

Referenced by CEGUI::Window::getInnerRect(), CEGUI::Window::getPixelRect(), and CEGUI::Titlebar::onMouseButtonDown().

EventSet::EventIterator CEGUI::EventSet::getIterator void   )  const [inherited]
 

Return a EventSet::EventIterator object to iterate over the available events.

Definition at line 203 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::d_events.

PropertySet::PropertyIterator CEGUI::PropertySet::getIterator void   )  const [inherited]
 

Return a PropertySet::PropertyIterator object to iterate over the available Properties.

Definition at line 131 of file CEGUIPropertySet.cpp.

Referenced by CEGUI::Window::writePropertiesXML().

const String & CEGUI::Window::getLookNFeel  )  [inherited]
 

Get the name of the LookNFeel assigned to this window.

Returns:
String object holding the name of the look assigned to this window. Returns the empty string if no look is assigned.

Definition at line 3334 of file CEGUIWindow.cpp.

References CEGUI::Window::d_lookName.

Size CEGUI::Window::getMaximumSize void   )  const [inherited]
 

Return the current maximum size for this window.

Returns:
Size object describing the maximum size for this window. If using absolute co-ordinates the returned object has it's values expressed as screen pixels. If using relative co-ordinates the returned object has it's values expressed as fractions of the current display size.

Definition at line 2330 of file CEGUIWindow.cpp.

References CEGUI::Absolute, CEGUI::UVector2::asAbsolute(), CEGUI::UVector2::asRelative(), CEGUI::Vector2::asSize(), CEGUI::Window::d_maxSize, CEGUI::Window::getMetricsMode(), CEGUI::System::getSingleton(), and CEGUI::Window::getSize().

MetricsMode CEGUI::Window::getMetricsMode void   )  const [inherited]
 

return the current metrics mode employed by the Window

Returns:
One of the values of the MectricsMode enumerated type, that describes the current metrics in use by the Window.

Definition at line 657 of file CEGUIWindow.cpp.

References CEGUI::Window::d_metricsMode, CEGUI::Window::getInheritedMetricsMode(), and CEGUI::Inherited.

Referenced by CEGUI::MultiColumnList::autoSizeColumnHeader(), CEGUI::MultiColumnList::getColumnHeaderWidth(), CEGUI::Window::getHeight(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getMaximumSize(), CEGUI::Window::getMinimumSize(), CEGUI::Window::getPosition(), CEGUI::Window::getRect(), CEGUI::Window::getSize(), CEGUI::TabControl::getTabHeight(), CEGUI::TabControl::getTabTextPadding(), CEGUI::MultiLineEditbox::getTextIndexFromPosition(), CEGUI::MultiColumnList::getTotalColumnHeadersWidth(), CEGUI::Window::getUnclippedPixelRect(), CEGUI::Window::getWidth(), CEGUI::Window::getXPosition(), CEGUI::Window::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(), CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowX(), CEGUI::Window::screenToWindowY(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::ListHeader::segmentMovedHandler(), CEGUI::Window::setAreaRect(), CEGUI::MultiColumnList::setColumnHeaderWidth(), CEGUI::Window::setMaximumSize(), CEGUI::Window::setMetricsMode(), CEGUI::Window::setMinimumSize(), CEGUI::Window::setPosition(), CEGUI::Window::setSize(), CEGUI::TabControl::setTabHeight(), CEGUI::TabControl::setTabTextPadding(), CEGUI::Window::windowToScreen(), CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY().

Size CEGUI::Window::getMinimumSize void   )  const [inherited]
 

Return the current minimum size for this window.

Returns:
Size object describing the minimum size for this window. If using absolute co-ordinates the returned object has it's values expressed as screen pixels. If using relative co-ordinates the returned object has it's values expressed as fractions of the current display size.

Definition at line 2347 of file CEGUIWindow.cpp.

References CEGUI::Absolute, CEGUI::UVector2::asAbsolute(), CEGUI::UVector2::asRelative(), CEGUI::Vector2::asSize(), CEGUI::Window::d_minSize, CEGUI::Window::getMetricsMode(), CEGUI::System::getSingleton(), and CEGUI::Window::getSize().

bool CEGUI::Window::getModalState void   )  const [inline, inherited]
 

Get whether or not this Window is the modal target.

Returns:
Returns true if this Window is the modal target, otherwise false.

Definition at line 1191 of file CEGUIWindow.h.

References CEGUI::System::getSingleton().

Referenced by CEGUI::Window::setModalState().

const Image * CEGUI::Window::getMouseCursor bool  useDefault = true  )  const [inherited]
 

Return a pointer to the mouse cursor image to use when the mouse is within this window.

Parameters:
useDefault Sepcifies whether to return the default font if Window has no preference set.
Returns:
Pointer to the mouse cursor image that will be used when the mouse enters this window. May return NULL indicating no cursor.

Definition at line 2409 of file CEGUIWindow.cpp.

References CEGUI::Window::d_mouseCursor, CEGUI::DefaultMouseCursor, CEGUI::System::getDefaultMouseCursor(), and CEGUI::System::getSingleton().

Referenced by CEGUI::ListHeaderSegment::initSegmentHoverState(), CEGUI::ListHeaderSegment::onMouseButtonUp(), CEGUI::Window::onMouseEnters(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::FrameWindow::setCursorForPoint(), and CEGUI::DragContainer::updateActiveMouseCursor().

const String& CEGUI::Window::getName void   )  const [inline, inherited]
 

return a String object holding the name of this Window.

Returns:
String object holding the unique Window name.

Definition at line 199 of file CEGUIWindow.h.

Referenced by CEGUI::TabControl::addChild_impl(), CEGUI::ScrollablePane::addChild_impl(), CEGUI::TabControl::addTab(), configureScrollbars(), CEGUI::Listbox::configureScrollbars(), CEGUI::WidgetComponent::create(), CEGUI::ListHeader::createInitialisedSegment(), CEGUI::WindowManager::destroyWindow(), CEGUI::FrameWindow::getCaptionColour(), CEGUI::Window::getChild(), CEGUI::FrameWindow::getTitlebarFont(), CEGUI::PropertyDim::getValue_impl(), CEGUI::FontDim::getValue_impl(), CEGUI::WidgetDim::getValue_impl(), CEGUI::TabControl::handleTabButtonClicked(), CEGUI::TabControl::initialise(), 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(), CEGUI::Window::isAncestor(), CEGUI::Window::isChild(), CEGUI::WidgetComponent::layout(), CEGUI::TabControl::makeButtonName(), CEGUI::FrameWindow::onTextChanged(), CEGUI::ScrollablePane::removeChild_impl(), CEGUI::Window::removeChildWindow(), CEGUI::TabControl::removeTab(), CEGUI::FrameWindow::setCaptionColour(), CEGUI::FrameWindow::setCloseButtonEnabled(), CEGUI::FrameWindow::setDragMovingEnabled(), CEGUI::FrameWindow::setTitleBarEnabled(), CEGUI::FrameWindow::setTitlebarFont(), CEGUI::Window::setTooltipType(), CEGUI::Editbox::setValidationString(), CEGUI::Tooltip::updateSelf(), CEGUI::Window::writeChildWindowsXML(), CEGUI::WindowManager::writeWindowLayoutToStream(), and CEGUI::Window::writeXMLToStream().

Window* CEGUI::Window::getParent void   )  const [inline, inherited]
 

return the parent of this Window.

Returns:
Pointer to the Window object that is the parent of this Window. This value can be NULL, in which case the Window is a GUI Sheet / Root.

Definition at line 711 of file CEGUIWindow.h.

Referenced by CEGUI::Window::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().

float CEGUI::Window::getParentHeight void   )  const [protected, inherited]
 

Return the pixel Height of the parent element. This always returns a valid number.

Returns:
float value that is equal to the pixel height of this Window objects parent

Definition at line 1959 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::getAbsoluteHeight(), CEGUI::Renderer::getHeight(), CEGUI::System::getRenderer(), and CEGUI::System::getSingleton().

Referenced by CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::windowToScreen(), and CEGUI::Window::windowToScreenY().

Size CEGUI::Window::getParentSize void   )  const [protected, inherited]
 

Return the pixel size of the parent element. This always returns a valid object.

Returns:
Size object that describes the pixel dimensions of this Window objects parent

Definition at line 1974 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, and CEGUI::Window::getWindowSize_impl().

Referenced by CEGUI::FrameWindow::offsetPixelPosition(), and CEGUI::Window::setWindowArea_impl().

float CEGUI::Window::getParentWidth void   )  const [protected, inherited]
 

Return the pixel Width of the parent element. This always returns a valid number.

Returns:
float value that is equal to the pixel width of this Window objects parent

Definition at line 1944 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::getAbsoluteWidth(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), and CEGUI::Renderer::getWidth().

Referenced by CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::Window::windowToScreen(), and CEGUI::Window::windowToScreenX().

Rect CEGUI::Window::getPixelRect void   )  const [virtual, inherited]
 

return a Rect object describing the Window area in screen space.

Returns:
Rect object that describes the area covered by the Window. The values in the returned Rect are in screen pixels. The returned Rect is clipped as appropriate and depending upon the 'ClippedByParent' setting.
Note:
This has now been made virtual to ease some customisations that require more specialised clipping requirements.

Definition at line 528 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::getInnerRect(), CEGUI::Rect::getIntersection(), CEGUI::Window::getRect(), CEGUI::System::getSingleton(), CEGUI::Window::getUnclippedPixelRect(), and CEGUI::Window::isClippedByParent().

Referenced by CEGUI::Window::drawSelf(), and CEGUI::Window::isHit().

Point CEGUI::Window::getPosition MetricsMode  mode  )  const [inherited]
 

return the position of the window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
Returns:
Point object that describes the position of the Window relative to it's parent, using the specified MetricsMode.

Definition at line 2531 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsolutePosition(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getRelativePosition(), CEGUI::Inherited, and CEGUI::Relative.

Point CEGUI::Window::getPosition void   )  const [inherited]
 

return the position of the window. Interpretation of return value depends upon the metric type in use by this window.

Returns:
Point object that describes the position of the Window relative to it's parent, depending on the metrics system in use for this Window, the values in the Point will specify either pixels or decimal fractions of the total width and height of the parent.

Definition at line 692 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsolutePosition(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getRelativePosition(), and CEGUI::Relative.

Referenced by CEGUI::DragContainer::doDragging(), CEGUI::Window::drawSelf(), CEGUI::DragContainer::initialiseDragging(), CEGUI::MenuItem::onCaptureLost(), CEGUI::ButtonBase::onCaptureLost(), CEGUI::DragContainer::onDragPositionChanged(), CEGUI::ListHeader::segmentDragHandler(), and CEGUI::ListHeader::segmentMovedHandler().

String CEGUI::PropertySet::getProperty const String name  )  const [inherited]
 

Gets the current value of the specified Property.

Parameters:
name String containing the name of the Property who's value is to be returned.
Returns:
String object containing a textual representation of the requested Property.
Exceptions:
UnknownObjectException Thrown if no Property named name is in the PropertySet.

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().

String CEGUI::PropertySet::getPropertyDefault const String name  )  const [inherited]
 

Returns the default value of a Property as a String.

Parameters:
name String containing the name of the Property who's default string is to be returned.
Returns:
String object containing a textual representation of the default value for this property.

Definition at line 156 of file CEGUIPropertySet.cpp.

const String & CEGUI::PropertySet::getPropertyHelp const String name  )  const [inherited]
 

Return the help text for the specified Property.

Parameters:
name String holding the name of the Property who's help text is to be returned.
Returns:
String object containing the help text for the Property name.
Exceptions:
UnknownObjectException Thrown if no Property named name is in the PropertySet.

Definition at line 84 of file CEGUIPropertySet.cpp.

Rect CEGUI::Window::getRect MetricsMode  mode  )  const [inherited]
 

return a Rect object that describes the Window area using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
Returns:
Rect object that describes the area covered by the Window using the specified MetricsMode.

Definition at line 2592 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteRect(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getRelativeRect(), CEGUI::Inherited, and CEGUI::Relative.

Rect CEGUI::Window::getRect void   )  const [inherited]
 

return a Rect object that describes the Window area.

Returns:
Rect object that describes the area covered by the Window. The values in the returned Rect are in whatever form is set as the current metric type. The returned Rect is unclipped and relative to the Window objects parent.

Definition at line 519 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteRect(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getRelativeRect(), and CEGUI::Relative.

Referenced by CEGUI::Window::getInnerRect(), CEGUI::Window::getPixelRect(), CEGUI::Tooltip::getTextSize(), and CEGUI::Tooltip::positionSelf().

float CEGUI::Window::getRelativeHeight void   )  const [inline, inherited]
 

Return the window height in relative metrics.

Returns:
float value describing this windows height in parent relative metrics.

Definition at line 816 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getHeight().

Point CEGUI::Window::getRelativePosition void   )  const [inline, inherited]
 

Return the window position in relative metrics.

Returns:
Point object describing this windows position, relative to the parent window, in parent relative metrics.

Definition at line 766 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getPosition().

Rect CEGUI::Window::getRelativeRect void   )  const [inline, inherited]
 

Return the window area rect in relative metrics.

Returns:
Rect object describing this windows area, relative to the parent window, in parent relative metrics.

Definition at line 756 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getRect().

Size CEGUI::Window::getRelativeSize void   )  const [inline, inherited]
 

Return the window size in relative metrics.

Returns:
Size object describing this windows size in parent relative metrics.

Definition at line 796 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getSize().

float CEGUI::Window::getRelativeWidth void   )  const [inline, inherited]
 

Return the window width in relative metrics.

Returns:
float value describing this windows width in parent relative metrics.

Definition at line 806 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getWidth(), and CEGUI::MultiColumnList::writePropertiesXML().

float CEGUI::Window::getRelativeXPosition void   )  const [inline, inherited]
 

Return the window X position in relative metrics.

Returns:
float value describing this windows X position, relative to the parent window, in parent relative metrics.

Definition at line 776 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getXPosition().

float CEGUI::Window::getRelativeYPosition void   )  const [inline, inherited]
 

Return the window Y position in relative metrics.

Returns:
float value describing this windows Y position, relative to the parent window, in parent relative metrics.

Definition at line 786 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getYPosition().

RenderCache& CEGUI::Window::getRenderCache  )  [inline, inherited]
 

Return the RenderCache object for this Window.

Returns:
Reference to 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().

Size CEGUI::Window::getSize MetricsMode  mode  )  const [inherited]
 

return the size of the Window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
Returns:
Size object that describes the dimensions of the Window using the specified MetricsMode.

Definition at line 2576 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteSize(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getRelativeSize(), CEGUI::Inherited, and CEGUI::Relative.

Size CEGUI::Window::getSize void   )  const [inherited]
 

return the size of the Window. Interpretation of return value depends upon the metric type in use by this window.

Returns:
Size object that describes the dimensions of the Window. Depending upon the metrics system in use for this window, the values will either be in pixels, or as decimal fractions of the width and height of the parent Window.

Definition at line 722 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteSize(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getRelativeSize(), and CEGUI::Relative.

Referenced by CEGUI::Window::getMaximumSize(), CEGUI::Window::getMinimumSize(), and CEGUI::StaticImage::onSized().

const String& CEGUI::Window::getText void   )  const [inline, inherited]
 

return the current text for the Window

Returns:
A String object that holds the current text for this 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().

ColourRect CEGUI::StaticText::getTextColours void   )  const [inline]
 

Return a ColourRect object containing the colours used when rendering this widget.

Returns:
ColourRect object initialised with the colours used when rendering the text for this widget.

Definition at line 111 of file CEGUIStaticText.h.

Rect CEGUI::StaticText::getTextRenderArea void   )  const [protected, virtual]
 

Return a Rect object describing, in un-clipped pixels, the window relative area that the text should be rendered in to.

Returns:
Rect object describing the area of the Window to be used for rendering text.

Definition at line 246 of file CEGUIStaticText.cpp.

References CEGUI::Rect::d_bottom, CEGUI::Static::d_bottom_height, CEGUI::Static::d_frameEnabled, d_horzScrollbar, CEGUI::Rect::d_left, CEGUI::Static::d_left_width, CEGUI::Rect::d_right, CEGUI::Static::d_right_width, CEGUI::Rect::d_top, CEGUI::Static::d_top_height, d_vertScrollbar, CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteSize(), CEGUI::Window::getAbsoluteWidth(), and CEGUI::Window::isVisible().

Referenced by configureScrollbars(), and populateRenderCache().

Tooltip * CEGUI::Window::getTooltip void   )  const [inherited]
 

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.

Returns:
Pointer to a Tooltip based object, or NULL.

Definition at line 3050 of file CEGUIWindow.cpp.

References CEGUI::Window::d_customTip, CEGUI::System::getDefaultTooltip(), CEGUI::System::getSingleton(), and CEGUI::Window::isUsingDefaultTooltip().

Referenced by CEGUI::Window::onMouseButtonDown(), CEGUI::Window::onMouseEnters(), CEGUI::Window::onMouseLeaves(), CEGUI::Window::onMouseMove(), CEGUI::Listbox::onMouseMove(), and CEGUI::Window::setTooltipText().

const String & CEGUI::Window::getTooltipText void   )  const [inherited]
 

Return the current tooltip text set for this Window.

Returns:
String object holding the current tooltip text set for this window.

Definition at line 3109 of file CEGUIWindow.cpp.

References CEGUI::Window::d_inheritsTipText, CEGUI::Window::d_parent, CEGUI::Window::d_tooltipText, CEGUI::String::empty(), and CEGUI::Window::getTooltipText().

Referenced by CEGUI::Tooltip::doActiveState(), CEGUI::Tooltip::doFadeInState(), CEGUI::Tooltip::doFadeOutState(), CEGUI::Tooltip::doInactiveState(), CEGUI::WindowProperties::Tooltip::get(), CEGUI::Window::getTooltipText(), and CEGUI::Tooltip::setTargetWindow().

String CEGUI::Window::getTooltipType void   )  const [inherited]
 

Return the custom tooltip type.

Returns:
String object holding the current custom tooltip window type, or an empty string if no custom tooltip is set.

Definition at line 3092 of file CEGUIWindow.cpp.

References CEGUI::Window::d_customTip, CEGUI::Window::getType(), and CEGUI::Window::isUsingDefaultTooltip().

const String & CEGUI::Window::getType void   )  const [inherited]
 

return a String object holding the type name for this Window.

Returns:
String object holding the Window type.

Definition at line 237 of file CEGUIWindow.cpp.

References CEGUI::Window::d_falagardType, CEGUI::Window::d_type, and CEGUI::String::empty().

Referenced by CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::ScrolledContainerFactory::destroyWindow(), CEGUI::GUISheetFactory::destroyWindow(), CEGUI::DragContainerFactory::destroyWindow(), CEGUI::RadioButton::getSelectedButtonInGroup(), CEGUI::Window::getTooltipType(), CEGUI::Tooltip::updateSelf(), and CEGUI::Window::writeXMLToStream().

Rect CEGUI::StaticText::getUnclippedInnerRect void   )  const [virtual]
 

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.

Returns:
Rect object that describes, in unclipped screen pixel co-ordinates, the window object's inner rect area.

Reimplemented from CEGUI::Static.

Definition at line 480 of file CEGUIStaticText.cpp.

References CEGUI::Window::getUnclippedInnerRect().

Rect CEGUI::Window::getUnclippedPixelRect void   )  const [inherited]
 

return a Rect object describing the Window area unclipped, in screen space.

Returns:
Rect object that describes the area covered by the Window. The values in the returned Rect are in screen pixels. The returned rect is fully unclipped.

Definition at line 567 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getMetricsMode(), CEGUI::Relative, and CEGUI::Window::windowToScreen().

Referenced by CEGUI::Window::drawSelf(), CEGUI::Window::getPixelRect(), CEGUI::Window::getUnclippedInnerRect(), CEGUI::StaticImage::onStaticFrameChanged(), and CEGUI::Tooltip::positionSelf().

void* CEGUI::Window::getUserData void   )  const [inline, inherited]
 

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.

Returns:
pointer to the user data that is currently set for this window.

Definition at line 899 of file CEGUIWindow.h.

const String & CEGUI::Window::getUserString const String name  )  const [inherited]
 

Returns a named user string.

Parameters:
name String object holding the name of the string to be returned.
Returns:
String object holding the data stored for the requested user string.
Exceptions:
UnknownObjectException thrown if a user string named name does not exist.

Definition at line 3393 of file CEGUIWindow.cpp.

References CEGUI::Window::d_userStrings.

VerticalAlignment CEGUI::Window::getVerticalAlignment  )  const [inline, inherited]
 

Get the vertical alignment.

Returns the vertical alignment for the window. This setting affects how the windows position is interpreted relative to its parent.

Returns:
One of the VerticalAlignment enumerated values.

Definition at line 1151 of file CEGUIWindow.h.

VertFormatting CEGUI::StaticText::getVerticalFormatting void   )  const [inline]
 

Return the current vertical formatting option set for this widget.

Returns:
One of the StaticText::VertFormatting enumerated values specifying the vertical formatting currently set.

Definition at line 131 of file CEGUIStaticText.h.

float CEGUI::Window::getWidth MetricsMode  mode  )  const [inherited]
 

return the width of the Window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
Returns:
float value that specifies the width of the Window using the specified MetricsMode.

Definition at line 2546 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getRelativeWidth(), CEGUI::Inherited, and CEGUI::Relative.

float CEGUI::Window::getWidth void   )  const [inherited]
 

return the width of the Window. Interpretation of return value depends upon the metric type in use by this window.

Returns:
float value that specifies the width of the Window. Depending upon the metrics system in use for this window, the return value will either be in pixels, or as a decimal fraction of the width of the parent Window.

Definition at line 702 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getRelativeWidth(), and CEGUI::Relative.

Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), and CEGUI::Window::setHeight().

const URect & CEGUI::Window::getWindowArea  )  const [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
URect describing the rectangle of the window area.

Definition at line 3267 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area.

UDim CEGUI::Window::getWindowHeight  )  const [inherited]
 

Get the window's height.

Gets the height of the area occupied by this window.

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
UDim describing the height of the window area.

Definition at line 3297 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::UVector2::d_y, and CEGUI::URect::getSize().

const UVector2 & CEGUI::Window::getWindowMaxSize  )  const [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
UVector2 describing the maximum size of the window area.

Definition at line 3302 of file CEGUIWindow.cpp.

References CEGUI::Window::d_maxSize.

const UVector2 & CEGUI::Window::getWindowMinSize  )  const [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
UVector2 describing the minimum size of the window area.

Definition at line 3307 of file CEGUIWindow.cpp.

References CEGUI::Window::d_minSize.

const UVector2 & CEGUI::Window::getWindowPosition  )  const [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
UVector2 describing the position (top-left corner) of the window area.

Definition at line 3272 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, and CEGUI::URect::d_min.

UVector2 CEGUI::Window::getWindowSize  )  const [inherited]
 

Get the window's size.

Gets the size of the area occupied by this window.

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
UVector2 describing the size of the window area.

Definition at line 3287 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, and CEGUI::URect::getSize().

Size CEGUI::Window::getWindowSize_impl const Window window  )  const [protected, inherited]
 

Definition at line 2313 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteSize(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), and CEGUI::Renderer::getSize().

Referenced by CEGUI::Window::absoluteToRelative_impl(), CEGUI::Window::absoluteToRelativeX_impl(), CEGUI::Window::absoluteToRelativeY_impl(), CEGUI::Window::getParentSize(), CEGUI::Window::relativeToAbsolute_impl(), CEGUI::Window::relativeToAbsoluteX_impl(), and CEGUI::Window::relativeToAbsoluteY_impl().

UDim CEGUI::Window::getWindowWidth  )  const [inherited]
 

Get the window's width.

Gets the width of the area occupied by this window.

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
UDim describing the width of the window area.

Definition at line 3292 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::UVector2::d_x, and CEGUI::URect::getSize().

const UDim & CEGUI::Window::getWindowXPosition  )  const [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
UDim describing the x position of the window area.

Definition at line 3277 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::URect::d_min, and CEGUI::UVector2::d_x.

const UDim & CEGUI::Window::getWindowYPosition  )  const [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Returns:
UDim describing the y position of the window area.

Definition at line 3282 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::URect::d_min, and CEGUI::UVector2::d_y.

float CEGUI::Window::getXPosition MetricsMode  mode  )  const [inherited]
 

return the x position of the window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
Returns:
float value that specifies the x position of the Window relative to it's parent, using the specified MetricsMode.

Definition at line 2501 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteXPosition(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getRelativeXPosition(), CEGUI::Inherited, and CEGUI::Relative.

float CEGUI::Window::getXPosition void   )  const [inherited]
 

return the x position of the window. Interpretation of return value depends upon the metric type in use by this window.

Returns:
float value that specifies the x position of the Window relative to it's parent, depending on the metrics system in use for this Window, this value will specify either pixels or a decimal fraction of the width of the parent Window.

Definition at line 672 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteXPosition(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getRelativeXPosition(), and CEGUI::Relative.

Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), CEGUI::Thumb::setHorzRange(), and CEGUI::Window::setYPosition().

float CEGUI::Window::getYPosition MetricsMode  mode  )  const [inherited]
 

return the y position of the window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
Returns:
float value that specifies the y position of the Window relative to it's parent, using the specified MetricsMode.

Definition at line 2516 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteYPosition(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getRelativeYPosition(), CEGUI::Inherited, and CEGUI::Relative.

float CEGUI::Window::getYPosition void   )  const [inherited]
 

return the y position of the window. Interpretation of return value depends upon the metric type in use by this window.

Returns:
float value that specifies the y position of the Window relative to it's parent, depending on the metrics system in use for this Window, this value will specify either pixels or a decimal fraction of the height of the parent Window.

Definition at line 682 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteYPosition(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getRelativeYPosition(), and CEGUI::Relative.

Referenced by CEGUI::Thumb::setVertRange(), and CEGUI::Window::setXPosition().

bool CEGUI::StaticText::handleScrollbarChange const EventArgs e  )  [protected]
 

Definition at line 470 of file CEGUIStaticText.cpp.

References CEGUI::Window::requestRedraw().

Referenced by initialise().

void CEGUI::Window::hide void   )  [inline, inherited]
 

hide the Window.

Returns:
Nothing

Definition at line 1343 of file CEGUIWindow.h.

Referenced by CEGUI::PopupMenu::closePopupMenu(), CEGUI::ComboDropList::ComboDropList(), configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), initialise(), CEGUI::ComboDropList::onCaptureLost(), CEGUI::PopupMenu::PopupMenu(), CEGUI::Tooltip::switchToInactiveState(), and CEGUI::PopupMenu::updateSelf().

bool CEGUI::Window::inheritsAlpha void   )  const [inline, inherited]
 

return true if the Window inherits alpha from its parent(s).

Returns:
true if the Window inherits alpha from its parent(s), false if the alpha for this Window is independant.

Definition at line 475 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getEffectiveAlpha(), and CEGUI::Window::onAlphaChanged().

bool CEGUI::Window::inheritsTooltipText void   )  const [inherited]
 

Return whether this window inherits Tooltip text from its parent when its own tooltip text is not set.

Returns:
  • true if the window inherits tooltip text from its parent when its own text is not set.
  • false if the window does not inherit tooltip text from its parent (and shows no tooltip when no text is set).

Definition at line 3121 of file CEGUIWindow.cpp.

References CEGUI::Window::d_inheritsTipText.

Referenced by CEGUI::WindowProperties::Tooltip::get().

void CEGUI::StaticText::initialise void   )  [virtual]
 

Initialise the Window based object ready for use.

Note:
This must be called for every window created. Normally this is handled automatically by the WindowFactory for each Window type.
Returns:
Nothing

Reimplemented from CEGUI::Window.

Definition at line 220 of file CEGUIStaticText.cpp.

References CEGUI::Window::addChildWindow(), createHorzScrollbar(), createVertScrollbar(), d_horzScrollbar, d_vertScrollbar, CEGUI::Scrollbar::EventScrollPositionChanged, CEGUI::Window::getName(), handleScrollbarChange(), CEGUI::Window::hide(), CEGUI::Window::initialise(), CEGUI::Window::performChildWindowLayout(), and CEGUI::EventSet::subscribeEvent().

bool CEGUI::Window::isActive void   )  const [inherited]
 

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.

Returns:
true if this window has input focus, or false if it does not.

Definition at line 269 of file CEGUIWindow.cpp.

References CEGUI::Window::d_active, CEGUI::Window::d_parent, and CEGUI::Window::isActive().

Referenced by CEGUI::Combobox::activateEditbox(), CEGUI::Window::captureInput(), CEGUI::Window::getActiveChild(), CEGUI::Window::getActiveSibling(), CEGUI::MultiLineEditbox::hasInputFocus(), CEGUI::Editbox::hasInputFocus(), CEGUI::Window::isActive(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront_impl(), CEGUI::Spinner::onActivated(), CEGUI::Combobox::onActivated(), and CEGUI::Window::onDeactivated().

bool CEGUI::Window::isAlwaysOnTop void   )  const [inline, inherited]
 

returns whether or not this Window is an always on top (a.k.a 'topmost') Window.

Returns:
true if this Window is always show on top of other normal windows. false if the Window has normal z-order behaviour.

Definition at line 219 of file CEGUIWindow.h.

Referenced by CEGUI::Window::addWindowToDrawList(), and CEGUI::Window::setAlwaysOnTop().

bool CEGUI::Window::isAncestor const Window window  )  const [inherited]
 

return true if the specified Window is some ancestor of this Window.

Parameters:
window Pointer to the Window object to look for.
Returns:
true if window was found to be an ancestor (parent, or parent of parent, etc) of this Window, otherwise false.

Definition at line 467 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, and CEGUI::Window::isAncestor().

bool CEGUI::Window::isAncestor uint  ID  )  const [inherited]
 

return true if any Window with the given ID is some ancestor of this Window.

Parameters:
ID uint value specifying the ID to look for.
Returns:
true if an ancestor (parent, or parent of parent, etc) was found with the ID code ID, else false.

Definition at line 445 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::getID(), and CEGUI::Window::isAncestor().

bool CEGUI::Window::isAncestor const String name  )  const [inherited]
 

return true if the specified Window is some ancestor of this Window

Parameters:
name String object holding the name of the Window to check for.
Returns:
true if a Window named name is an ancestor (parent, or parent of parent, etc) of this Window, or false if not.

Definition at line 422 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::getName(), and CEGUI::Window::isAncestor().

Referenced by CEGUI::Window::isAncestor().

bool CEGUI::Static::isBackgroundEnabled void   )  const [inline, inherited]
 

Return whether the background for this static widget is enabled to disabled.

Returns:
true if the background is enabled and will be rendered. false if the background is disabled and will not be rendered.

Definition at line 74 of file CEGUIStatic.h.

bool CEGUI::Window::isCapturedByAncestor void   )  const [inline, inherited]
 

return true if a child window has captured inputs.

Returns:
true if inputs are captured by a Window that is attached as a child of this Window, else false.

Definition at line 589 of file CEGUIWindow.h.

bool CEGUI::Window::isCapturedByChild void   )  const [inline, inherited]
 

return true if an ancestor window has captured inputs.

Returns:
true if inputs are captured by a Window that is some ancestor (parent, parent of parent, etc) of this Window, else false.

Definition at line 599 of file CEGUIWindow.h.

bool CEGUI::Window::isCapturedByThis void   )  const [inline, inherited]
 

return true if this Window has input captured.

Returns:
true if this Window has captured inputs, or false if some other Window, or no Window, has captured inputs.

Definition at line 579 of file CEGUIWindow.h.

Referenced by CEGUI::Window::releaseInput().

bool CEGUI::Window::isChild const Window window  )  const [inherited]
 

return true if the given Window is a child of this window.

Parameters:
window Pointer to the Window object to look for.
Returns:
true if Window object window is attached to this window as a child.

Definition at line 321 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, and CEGUI::Window::getChildCount().

bool CEGUI::Window::isChild uint  ID  )  const [inherited]
 

returns whether at least one window with the given ID code is attached as a child.

Note:
ID codes are client assigned and may or may not be unique, and as such, the return from this function will only have meaning to the client code.
Parameters:
ID uint ID code to look for.
Returns:
true if a child window was found with the ID code ID, or false if no child window was found with the ID ID.

Definition at line 301 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), and CEGUI::Window::getID().

bool CEGUI::Window::isChild const String name  )  const [inherited]
 

returns whether a Window with the specified name is currently attached to this Window as a child.

Parameters:
name String object containing the name of the Window to look for.
Returns:
true if a Window named name is currently attached to this Window as a child, else false.

Definition at line 281 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), and CEGUI::Window::getName().

Referenced by CEGUI::MenuItem::setPopupMenu().

bool CEGUI::Window::isClippedByParent void   )  const [inline, inherited]
 

return true if this Window is clipped so that its rendering does not pass outside its parent windows area.

Returns:
true if the window will be clipped by its parent window, or false if this windows rendering may pass outside its parents area

Definition at line 273 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getInnerRect(), and CEGUI::Window::getPixelRect().

bool CEGUI::Window::isDestroyedByParent void   )  const [inline, inherited]
 

returns whether or not this Window is set to be destroyed when its parent is destroyed.

Returns:
true if the Window will be destroyed when its parent is destroyed, false if it will remain.

Definition at line 209 of file CEGUIWindow.h.

Referenced by CEGUI::Window::cleanupChildren().

bool CEGUI::Window::isDisabled bool  localOnly = false  )  const [inherited]
 

return true if the Window is currently disabled

Parameters:
localOnly States whether to only return the state set for this window, and so not factor in inherited state from ancestor windows.
Returns:
true if the window is disabled, false if the window is enabled.

Definition at line 246 of file CEGUIWindow.cpp.

References CEGUI::Window::d_enabled, CEGUI::Window::d_parent, and CEGUI::Window::isDisabled().

Referenced by CEGUI::TabButton::drawSelf(), CEGUI::ButtonBase::drawSelf(), CEGUI::Window::isDisabled(), CEGUI::Window::isHit(), and CEGUI::Window::setEnabled().

bool CEGUI::EventSet::isEventPresent const String name  )  [inherited]
 

Checks to see if an Event with the given name is present in the EventSet.

Returns:
true if an Event named name was found, or false if the Event was not found

Definition at line 102 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::d_events.

Referenced by CEGUI::EventSet::addEvent().

bool CEGUI::Static::isFrameEnabled void   )  const [inline, inherited]
 

Return whether the frame for this static widget is enabled or disabled.

Returns:
true if the frame is enabled and will be rendered. false is the frame is disabled and will not be rendered.

Definition at line 64 of file CEGUIStatic.h.

bool CEGUI::Window::isHit const Point position  )  const [virtual, inherited]
 

check if the given position would hit this window.

Parameters:
position Point object describing the position to check in screen pixels
Returns:
true if position 'hits' this Window, else false.

Reimplemented in CEGUI::Combobox, and CEGUI::FrameWindow.

Definition at line 595 of file CEGUIWindow.cpp.

References CEGUI::Window::getPixelRect(), CEGUI::Rect::getWidth(), CEGUI::Window::isDisabled(), and CEGUI::Rect::isPointInRect().

Referenced by CEGUI::FrameWindow::isHit(), CEGUI::ComboDropList::onMouseButtonDown(), CEGUI::ListHeaderSegment::onMouseMove(), CEGUI::ComboDropList::onMouseMove(), and CEGUI::ListHeader::segmentMovedHandler().

bool CEGUI::StaticText::isHorizontalScrollbarEnabled void   )  const
 

Return whether the horizontal scroll bar is set to be shown if needed.

Returns:
  • true if the horizontal scroll bar will be shown if needed (non-word wrapped, left or right aligned formatting only).
  • false if the horizontal scroll bar will never be shown (default behaviour).

Definition at line 383 of file CEGUIStaticText.cpp.

References d_enableHorzScrollbar.

bool CEGUI::Window::isMouseAutoRepeatEnabled void   )  const [inherited]
 

Return whether mouse button down event autorepeat is enabled for this window.

Returns:
  • true if autorepeat of mouse button down events is enabled for this window.
  • false if autorepeat of mouse button down events is not enabled for this window.

Definition at line 2847 of file CEGUIWindow.cpp.

References CEGUI::Window::d_autoRepeat.

bool CEGUI::EventSet::isMuted void   )  const [inherited]
 

Return whether the EventSet is muted or not.

Returns:
  • true if the EventSet is muted. All requests to fire events will be ignored.
  • false if the EventSet is not muted. All requests to fire events are processed as normal.

Definition at line 184 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::d_muted.

Referenced by CEGUI::Spinner::onTextInputModeChanged(), and CEGUI::Spinner::onValueChanged().

bool CEGUI::PropertySet::isPropertyDefault const String name  )  const [inherited]
 

Returns whether a Property is at it's default value.

Parameters:
name String containing the name of the Property who's default state is to be tested.
Returns:
  • true if the property has it's default value.
  • false if the property has been modified from it's default value.

Definition at line 140 of file CEGUIPropertySet.cpp.

bool CEGUI::PropertySet::isPropertyPresent const String name  )  const [inherited]
 

Checks to see if a Property with the given name is in the PropertySet.

Parameters:
name String containing the name of the Property to check for.
Returns:
true if a Property named name is in the PropertySet. false if no Property named name is in the PropertySet.

Definition at line 76 of file CEGUIPropertySet.cpp.

bool CEGUI::Window::isRiseOnClickEnabled void   )  const [inline, inherited]
 

Return whether this window will rise to the top of the z-order when clicked with the left mouse button.

Returns:
  • true if the window will come to the top of other windows when the left mouse button is pushed within its area.
  • false if the window does not change z-order position when the left mouse button is pushed within its area.

Definition at line 1127 of file CEGUIWindow.h.

bool CEGUI::Window::isUserStringDefined const String name  )  const [inherited]
 

Return whether a user string with the specified name exists.

Parameters:
name String object holding the name of the string to be checked.
Returns:
  • true if a user string named name exists.
  • false if no such user string exists.

Definition at line 3407 of file CEGUIWindow.cpp.

References CEGUI::Window::d_userStrings.

bool CEGUI::Window::isUsingDefaultTooltip void   )  const [inherited]
 

Return whether this Window is using the system default Tooltip for its Tooltip window.

Returns:
  • true if the Window will use the system default tooltip.
  • false if the window has a custom Tooltip object.

Definition at line 3045 of file CEGUIWindow.cpp.

References CEGUI::Window::d_customTip.

Referenced by CEGUI::Window::getTooltip(), and CEGUI::Window::getTooltipType().

bool CEGUI::StaticText::isVerticalScrollbarEnabled void   )  const
 

Return whether the vertical scroll bar is set to be shown if needed.

Returns:
  • true if the vertical scroll bar will be shown if needed (top or bottom aligned formatting only).
  • false if the vertical scroll bar will never be shown (default behaviour).

Definition at line 374 of file CEGUIStaticText.cpp.

References d_enableVertScrollbar.

bool CEGUI::Window::isVisible bool  localOnly = false  )  const [inherited]
 

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.

Parameters:
localOnly States whether to only return the state set for this window, and so not factor in inherited state from ancestor windows.
Returns:
true if the window is drawn, false if the window is hidden and therefore ignored when rendering.

Definition at line 257 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::d_visible, and CEGUI::Window::isVisible().

Referenced by CEGUI::ScrollablePane::configureScrollbars(), getTextRenderArea(), CEGUI::Combobox::isDropDownListVisible(), CEGUI::Window::isVisible(), onMouseWheel(), CEGUI::ScrollablePane::onMouseWheel(), CEGUI::MultiLineEditbox::onMouseWheel(), CEGUI::MultiColumnList::onMouseWheel(), CEGUI::Listbox::onMouseWheel(), populateRenderCache(), CEGUI::TabControl::removeTab(), and CEGUI::Window::render().

bool CEGUI::Window::isZOrderingEnabled void   )  const [inherited]
 

Return whether z-order changes are enabled or disabled for this Window.

Returns:
  • true if z-order changes are enabled for this window. moveToFront/moveToBack work normally as expected.
  • false: z-order changes are disabled for this window. moveToFront/moveToBack are ignored for this window.

Definition at line 2798 of file CEGUIWindow.cpp.

References CEGUI::Window::d_zOrderingEnabled.

void CEGUI::Window::moveToBack  )  [inherited]
 

Move the Window to the bottom of the Z order.

  • If the window is non always-on-top the Window is sent to the very bottom of its sibling windows and the process repeated for all ancestors.
  • If the window is always-on-top, the Window is sent to the bottom of all sibling always-on-top windows and the process repeated for all ancestors.

Returns:
Nothing

Definition at line 1111 of file CEGUIWindow.cpp.

References CEGUI::Window::addWindowToDrawList(), CEGUI::Window::d_parent, CEGUI::Window::d_zOrderingEnabled, CEGUI::Window::isActive(), CEGUI::Window::moveToBack(), CEGUI::Window::onDeactivated(), CEGUI::Window::onZChange_impl(), CEGUI::ActivationEventArgs::otherWindow, and CEGUI::Window::removeWindowFromDrawList().

Referenced by CEGUI::Window::moveToBack().

void CEGUI::Window::moveToFront  )  [inherited]
 

Move the Window to the top of the z order.

  • If the Window is a non always-on-top window it is moved the the top of all other non always-on-top sibling windows, and the process repeated for all ancestors.
  • If the Window is an always-on-top window it is moved to the of of all sibling Windows, and the process repeated for all ancestors.

Returns:
Nothing

Definition at line 1045 of file CEGUIWindow.cpp.

References CEGUI::Window::moveToFront_impl().

Referenced by CEGUI::Window::activate(), CEGUI::PopupMenu::openPopupMenu(), and CEGUI::Window::releaseInput().

void CEGUI::Window::moveToFront_impl bool  wasClicked  )  [protected, virtual, inherited]
 

Implements move to fron behavior.

Definition at line 1054 of file CEGUIWindow.cpp.

References CEGUI::Window::addWindowToDrawList(), CEGUI::Window::d_parent, CEGUI::Window::d_zOrderingEnabled, CEGUI::Window::doRiseOnClick(), CEGUI::Window::getActiveSibling(), CEGUI::EventArgs::handled, CEGUI::Window::isActive(), CEGUI::Window::moveToFront_impl(), CEGUI::Window::onActivated(), CEGUI::Window::onDeactivated(), CEGUI::Window::onZChange_impl(), CEGUI::ActivationEventArgs::otherWindow, CEGUI::Window::removeWindowFromDrawList(), and CEGUI::WindowEventArgs::window.

Referenced by CEGUI::Window::doRiseOnClick(), CEGUI::Window::moveToFront(), and CEGUI::Window::moveToFront_impl().

void CEGUI::Window::notifyDragDropItemDropped DragContainer item  )  [inherited]
 

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 CEGUI::Window::onDragDropItemDropped().

Referenced by CEGUI::DragContainer::onDragEnded().

void CEGUI::Window::notifyDragDropItemEnters DragContainer item  )  [inherited]
 

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 CEGUI::Window::onDragDropItemEnters().

Referenced by CEGUI::DragContainer::onDragDropTargetChanged().

void CEGUI::Window::notifyDragDropItemLeaves DragContainer item  )  [inherited]
 

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 CEGUI::Window::onDragDropItemLeaves().

Referenced by CEGUI::DragContainer::onDragDropTargetChanged().

void CEGUI::Window::onActivated ActivationEventArgs e  )  [protected, virtual, inherited]
 

Handler called when this window has become the active window.

Parameters:
e ActivationEventArgs class whose 'otherWindow' field is set to the window that previously was active, or NULL for none.

Reimplemented in CEGUI::Combobox, CEGUI::ComboDropList, CEGUI::FrameWindow, and CEGUI::Spinner.

Definition at line 3763 of file CEGUIWindow.cpp.

References CEGUI::Window::d_active, CEGUI::Window::EventActivated, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw().

Referenced by CEGUI::Window::moveToFront_impl(), CEGUI::Spinner::onActivated(), CEGUI::FrameWindow::onActivated(), CEGUI::ComboDropList::onActivated(), and CEGUI::Combobox::onActivated().

void CEGUI::Static::onAlphaChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window's alpha blend value is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Reimplemented from CEGUI::Window.

Reimplemented in CEGUI::StaticImage.

Definition at line 339 of file CEGUIStatic.cpp.

References CEGUI::EventArgs::handled, CEGUI::Window::onAlphaChanged(), and CEGUI::Static::updateRenderableFrameColours().

Referenced by CEGUI::StaticImage::onAlphaChanged().

void CEGUI::Window::onAlwaysOnTopChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window's always-on-top setting is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3702 of file CEGUIWindow.cpp.

References CEGUI::Window::EventAlwaysOnTopChanged, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw().

Referenced by CEGUI::Window::setAlwaysOnTop().

void CEGUI::Window::onCaptureGained WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when this window gains capture of mouse inputs.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3711 of file CEGUIWindow.cpp.

References CEGUI::Window::EventInputCaptureGained, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::captureInput().

void CEGUI::Window::onCaptureLost WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when this window loses capture of mouse inputs.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

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 CEGUI::Window::d_oldCapture, CEGUI::Window::d_repeatButton, CEGUI::Window::d_restoreOldCapture, CEGUI::Window::EventInputCaptureLost, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), CEGUI::System::injectMouseMove(), CEGUI::NoButton, and CEGUI::Window::onCaptureLost().

Referenced by CEGUI::Window::activate(), CEGUI::Window::captureInput(), CEGUI::Window::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 CEGUI::Window::releaseInput().

void CEGUI::Window::onCharacter KeyEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a character-key has been pressed while this window has input focus.

Parameters:
e KeyEventArgs object whose 'codepoint' field is set to the Unicode code point (encoded as utf32) for the character typed, and whose 'sysKeys' field represents the combination of SystemKey that were active when the event was generated. All other fields should be considered as 'junk'.

Reimplemented in CEGUI::Editbox, and CEGUI::MultiLineEditbox.

Definition at line 3946 of file CEGUIWindow.cpp.

References CEGUI::Window::EventCharacterKey, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::System::injectChar(), CEGUI::MultiLineEditbox::onCharacter(), and CEGUI::Editbox::onCharacter().

void CEGUI::Window::onChildAdded WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a child window is added to this window.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that has been added.

Reimplemented in CEGUI::ScrolledContainer.

Definition at line 3813 of file CEGUIWindow.cpp.

References CEGUI::Window::EventChildAdded, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw().

Referenced by CEGUI::Window::addChildWindow(), and CEGUI::ScrolledContainer::onChildAdded().

void CEGUI::Window::onChildRemoved WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a child window is removed from this window.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set the window that has been removed.

Reimplemented in CEGUI::ScrolledContainer.

Definition at line 3822 of file CEGUIWindow.cpp.

References CEGUI::Window::EventChildRemoved, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw().

Referenced by CEGUI::ScrolledContainer::onChildRemoved(), and CEGUI::Window::removeChildWindow().

void CEGUI::Window::onClippingChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window's setting for being clipped by it's parent is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Reimplemented in CEGUI::DragContainer.

Definition at line 3682 of file CEGUIWindow.cpp.

References CEGUI::Window::EventClippedByParentChanged, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw().

Referenced by CEGUI::DragContainer::onClippingChanged(), and CEGUI::Window::setClippedByParent().

void CEGUI::Window::onDeactivated ActivationEventArgs e  )  [protected, virtual, inherited]
 

Handler called when this window has lost input focus and has been deactivated.

Parameters:
e ActivationEventArgs object whose 'otherWindow' field is set to the window that has now become active, or NULL for none.

Reimplemented in CEGUI::FrameWindow.

Definition at line 3771 of file CEGUIWindow.cpp.

References CEGUI::Window::d_active, CEGUI::Window::d_children, CEGUI::Window::EventDeactivated, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::getChildCount(), CEGUI::Window::isActive(), and CEGUI::Window::requestRedraw().

Referenced by CEGUI::Window::deactivate(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront_impl(), and CEGUI::FrameWindow::onDeactivated().

void CEGUI::Window::onDestructionStarted WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when this window's destruction sequence has begun.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3757 of file CEGUIWindow.cpp.

References CEGUI::Window::EventDestructionStarted, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::destroy().

void CEGUI::Window::onDisabled WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window is disabled.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3658 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::d_enabled, CEGUI::Window::EventDisabled, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::getChildCount(), and CEGUI::Window::requestRedraw().

Referenced by CEGUI::Window::setEnabled().

void CEGUI::Window::onDragDropItemDropped DragDropEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a DragContainer is dragged over this window.

Parameters:
e DragDropEventArgs object initialised as follows:
  • window field is normaly set to point to 'this' window.
  • dragDropItem is a pointer to a DragContainer window that triggered the event.

Definition at line 3961 of file CEGUIWindow.cpp.

References CEGUI::Window::EventDragDropItemDropped, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::notifyDragDropItemDropped().

void CEGUI::Window::onDragDropItemEnters DragDropEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a DragContainer is dragged over this window.

Parameters:
e DragDropEventArgs object initialised as follows:
  • window field is normaly set to point to 'this' window.
  • dragDropItem is a pointer to a DragContainer window that triggered the event.

Definition at line 3951 of file CEGUIWindow.cpp.

References CEGUI::Window::EventDragDropItemEnters, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::notifyDragDropItemEnters().

void CEGUI::Window::onDragDropItemLeaves DragDropEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a DragContainer is dragged over this window.

Parameters:
e DragDropEventArgs object initialised as follows:
  • window field is normaly set to point to 'this' window.
  • dragDropItem is a pointer to a DragContainer window that triggered the event.

Definition at line 3956 of file CEGUIWindow.cpp.

References CEGUI::Window::EventDragDropItemLeaves, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::notifyDragDropItemLeaves().

void CEGUI::Window::onEnabled WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window is enabled.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3640 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::d_enabled, CEGUI::Window::EventEnabled, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::getChildCount(), and CEGUI::Window::requestRedraw().

Referenced by CEGUI::Window::setEnabled().

void CEGUI::StaticText::onFontChanged WindowEventArgs e  )  [protected, virtual]
 

Handler called when the window's font is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Reimplemented from CEGUI::Window.

Definition at line 437 of file CEGUIStaticText.cpp.

References configureScrollbars(), CEGUI::Window::onFontChanged(), and CEGUI::Window::requestRedraw().

void CEGUI::Window::onHidden WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window is hidden.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3633 of file CEGUIWindow.cpp.

References CEGUI::Window::EventHidden, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw().

Referenced by CEGUI::Window::setVisible().

void CEGUI::Window::onHorizontalAlignmentChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the horizontal alignment setting for the window is changed.

Parameters:
e WindowEventArgs object initialised as follows:
  • window field is set to point to the Window object whos alignment has changed (typically 'this').

Definition at line 3971 of file CEGUIWindow.cpp.

References CEGUI::Window::EventHorizontalAlignmentChanged, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::setHorizontalAlignment().

void CEGUI::Window::onIDChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window's client assigned ID is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3620 of file CEGUIWindow.cpp.

References CEGUI::Window::EventIDChanged, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::setID().

void CEGUI::Window::onInheritsAlphaChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window's setting for inheriting alpha-blending is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3695 of file CEGUIWindow.cpp.

References CEGUI::Window::EventInheritsAlphaChanged, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw().

Referenced by CEGUI::Window::setInheritsAlpha().

void CEGUI::Window::onKeyDown KeyEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a key as been depressed while this window has input focus.

Parameters:
e KeyEventArgs object whose 'scancode' field is set to the Key::Scan value representing the key that was pressed, and whose 'sysKeys' field represents the combination of SystemKey that were active when the event was generated.

Reimplemented in CEGUI::Editbox, and CEGUI::MultiLineEditbox.

Definition at line 3934 of file CEGUIWindow.cpp.

References CEGUI::Window::EventKeyDown, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::System::injectKeyDown(), CEGUI::MultiLineEditbox::onKeyDown(), and CEGUI::Editbox::onKeyDown().

void CEGUI::Window::onKeyUp KeyEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a key as been released while this window has input focus.

Parameters:
e KeyEventArgs object whose 'scancode' field is set to the Key::Scan value representing the key that was released, and whose 'sysKeys' field represents the combination of SystemKey that were active when the event was generated. All other fields should be considered as 'junk'.

Definition at line 3940 of file CEGUIWindow.cpp.

References CEGUI::Window::EventKeyUp, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::System::injectKeyUp().

void CEGUI::Window::onMetricsChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window's active metrics system is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3676 of file CEGUIWindow.cpp.

References CEGUI::Window::EventMetricsModeChanged, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::setMetricsMode().

void CEGUI::Window::onMouseButtonDown MouseEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a mouse button has been depressed within this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

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, CEGUI::Window::d_autoRepeat, CEGUI::Window::d_repeatButton, CEGUI::Window::d_repeatElapsed, CEGUI::Window::d_repeating, CEGUI::Window::doRiseOnClick(), CEGUI::Window::EventMouseButtonDown, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::getTooltip(), CEGUI::LeftButton, and CEGUI::Tooltip::setTargetWindow().

Referenced by CEGUI::Window::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().

void CEGUI::Window::onMouseButtonUp MouseEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a mouse button has been released within this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

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 CEGUI::Window::d_repeatButton, CEGUI::Window::EventMouseButtonUp, CEGUI::Window::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().

void CEGUI::Window::onMouseClicked MouseEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a mouse button has been clicked (that is depressed and then released, within a specified time) within this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

Definition at line 3916 of file CEGUIWindow.cpp.

References CEGUI::Window::EventMouseClick, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::System::injectMouseButtonUp().

void CEGUI::Window::onMouseDoubleClicked MouseEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a mouse button has been double-clicked within this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

Reimplemented in CEGUI::Editbox, CEGUI::ListHeaderSegment, CEGUI::MultiLineEditbox, and CEGUI::Titlebar.

Definition at line 3922 of file CEGUIWindow.cpp.

References CEGUI::Window::EventMouseDoubleClick, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::System::injectMouseButtonDown(), CEGUI::Titlebar::onMouseDoubleClicked(), CEGUI::MultiLineEditbox::onMouseDoubleClicked(), CEGUI::ListHeaderSegment::onMouseDoubleClicked(), and CEGUI::Editbox::onMouseDoubleClicked().

void CEGUI::Window::onMouseEnters MouseEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the mouse cursor has entered this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

Reimplemented in CEGUI::Tooltip.

Definition at line 3831 of file CEGUIWindow.cpp.

References CEGUI::Window::EventMouseEnters, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::getMouseCursor(), CEGUI::MouseCursor::getSingleton(), CEGUI::Window::getTooltip(), CEGUI::MouseCursor::setImage(), and CEGUI::Tooltip::setTargetWindow().

Referenced by CEGUI::System::injectMouseMove(), and CEGUI::Tooltip::onMouseEnters().

void CEGUI::Window::onMouseLeaves MouseEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the mouse cursor has left this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

Reimplemented in CEGUI::ButtonBase, CEGUI::ListHeaderSegment, and CEGUI::MenuItem.

Definition at line 3847 of file CEGUIWindow.cpp.

References CEGUI::Window::EventMouseLeaves, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::getTooltip(), and CEGUI::Tooltip::setTargetWindow().

Referenced by CEGUI::System::injectMouseLeaves(), CEGUI::System::injectMouseMove(), CEGUI::MenuItem::onMouseLeaves(), CEGUI::ListHeaderSegment::onMouseLeaves(), and CEGUI::ButtonBase::onMouseLeaves().

void CEGUI::Window::onMouseMove MouseEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the mouse cursor has been moved within this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

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 CEGUI::Window::EventMouseMove, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::Window::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().

void CEGUI::Window::onMouseTripleClicked MouseEventArgs e  )  [protected, virtual, inherited]
 

Handler called when a mouse button has been triple-clicked within this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

Reimplemented in CEGUI::Editbox, and CEGUI::MultiLineEditbox.

Definition at line 3928 of file CEGUIWindow.cpp.

References CEGUI::Window::EventMouseTripleClick, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::System::injectMouseButtonDown(), CEGUI::MultiLineEditbox::onMouseTripleClicked(), and CEGUI::Editbox::onMouseTripleClicked().

void CEGUI::StaticText::onMouseWheel MouseEventArgs e  )  [protected, virtual]
 

Handler called when the mouse wheel (z-axis) position changes within this window's area.

Parameters:
e MouseEventArgs object. All fields are valid.

Reimplemented from CEGUI::Window.

Definition at line 449 of file CEGUIStaticText.cpp.

References d_horzScrollbar, d_vertScrollbar, CEGUI::Scrollbar::getDocumentSize(), CEGUI::Scrollbar::getPageSize(), CEGUI::Scrollbar::getScrollPosition(), CEGUI::Scrollbar::getStepSize(), CEGUI::EventArgs::handled, CEGUI::Window::isVisible(), CEGUI::Window::onMouseWheel(), CEGUI::Scrollbar::setScrollPosition(), and CEGUI::MouseEventArgs::wheelChange.

void CEGUI::Window::onMoved WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window's position changes.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3577 of file CEGUIWindow.cpp.

References CEGUI::Window::EventMoved, CEGUI::Window::EventNamespace, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw().

Referenced by CEGUI::Window::onParentSized(), and CEGUI::Window::setWindowArea_impl().

void CEGUI::Window::onParentDestroyChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window's setting for being destroyed automatically be it's parent is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3689 of file CEGUIWindow.cpp.

References CEGUI::Window::EventDestroyedByParentChanged, CEGUI::Window::EventNamespace, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::setDestroyedByParent().

void CEGUI::Window::onParentSized WindowEventArgs e  )  [protected, virtual, inherited]
 

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.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set the the window that caused the event; this is typically either this window's parent window, or NULL to indicate the screen size has changed.

Reimplemented in CEGUI::ScrolledContainer.

Definition at line 3790 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::URect::d_max, CEGUI::URect::d_min, CEGUI::UDim::d_scale, CEGUI::UVector2::d_x, CEGUI::UVector2::d_y, CEGUI::Window::EventNamespace, CEGUI::Window::EventParentSized, CEGUI::EventSet::fireEvent(), CEGUI::URect::getPosition(), CEGUI::URect::getSize(), CEGUI::Window::onMoved(), CEGUI::Window::onSized(), and CEGUI::Window::setWindowArea_impl().

Referenced by CEGUI::Window::addChild_impl(), CEGUI::ScrolledContainer::onParentSized(), and CEGUI::System::setGUISheet().

void CEGUI::Window::onRenderingEnded WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when rendering for this window has ended.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3742 of file CEGUIWindow.cpp.

References CEGUI::Window::EventNamespace, CEGUI::Window::EventRenderingEnded, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::render().

void CEGUI::Window::onRenderingStarted WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when rendering for this window has started.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3736 of file CEGUIWindow.cpp.

References CEGUI::Window::EventNamespace, CEGUI::Window::EventRenderingStarted, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::render().

void CEGUI::Window::onShown WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the window is shown (made visible).

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3626 of file CEGUIWindow.cpp.

References CEGUI::Window::EventNamespace, CEGUI::Window::EventShown, CEGUI::EventSet::fireEvent(), and CEGUI::Window::requestRedraw().

Referenced by CEGUI::Window::setVisible().

void CEGUI::StaticText::onSized WindowEventArgs e  )  [protected, virtual]
 

Handler called when the window's size changes.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Reimplemented from CEGUI::Static.

Definition at line 426 of file CEGUIStaticText.cpp.

References configureScrollbars(), and CEGUI::Static::onSized().

virtual void CEGUI::Static::onStaticFrameChanged WindowEventArgs e  )  [inline, protected, virtual, inherited]
 

This is used internally to indicate that the frame for the static widget has been modified, and as such derived classes may need to adjust their layouts or reconfigure their rendering somehow.

Note:
This does not currently fire an external event.

Reimplemented in CEGUI::StaticImage.

Definition at line 385 of file CEGUIStatic.h.

Referenced by CEGUI::StaticImage::onStaticFrameChanged(), CEGUI::Static::setFrameColours(), CEGUI::Static::setFrameEnabled(), and CEGUI::Static::setFrameImages().

void CEGUI::StaticText::onTextChanged WindowEventArgs e  )  [protected, virtual]
 

Handler called when the window's text is changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Reimplemented from CEGUI::Window.

Definition at line 414 of file CEGUIStaticText.cpp.

References configureScrollbars(), CEGUI::Window::onTextChanged(), and CEGUI::Window::requestRedraw().

void CEGUI::Window::onVerticalAlignmentChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the vertical alignment setting for the window is changed.

Parameters:
e WindowEventArgs object initialised as follows:
  • window field is set to point to the Window object whos alignment has changed (typically 'this').

Definition at line 3966 of file CEGUIWindow.cpp.

References CEGUI::Window::EventNamespace, CEGUI::Window::EventVerticalAlignmentChanged, and CEGUI::EventSet::fireEvent().

Referenced by CEGUI::Window::setVerticalAlignment().

void CEGUI::Window::onZChange_impl void   )  [protected, virtual, inherited]
 

Notify 'this' and all siblings of a ZOrder change event.

Definition at line 2081 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::d_parent, CEGUI::Window::getChildCount(), and CEGUI::Window::onZChanged().

Referenced by CEGUI::Window::addChildWindow(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront_impl(), CEGUI::Window::removeChildWindow(), and CEGUI::Window::setAlwaysOnTop().

void CEGUI::Window::onZChanged WindowEventArgs e  )  [protected, virtual, inherited]
 

Handler called when the z-order position of this window has changed.

Parameters:
e WindowEventArgs object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'.

Definition at line 3748 of file CEGUIWindow.cpp.

References CEGUI::Window::EventNamespace, CEGUI::Window::EventZOrderChanged, CEGUI::EventSet::fireEvent(), CEGUI::System::getSingleton(), and CEGUI::System::signalRedraw().

Referenced by CEGUI::Window::onZChange_impl().

void CEGUI::Window::performChildWindowLayout  )  [virtual, inherited]
 

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.

Returns:
Nothing.

Reimplemented in CEGUI::TabControl.

Definition at line 3375 of file CEGUIWindow.cpp.

References CEGUI::Window::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(), 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(), CEGUI::Window::onSized(), CEGUI::MultiLineEditbox::onTextChanged(), CEGUI::TabControl::performChildWindowLayout(), setHorizontalScrollbarEnabled(), and setVerticalScrollbarEnabled().

void CEGUI::StaticText::populateRenderCache  )  [protected, virtual]
 

Update the rendering cache.

Populates the Window's RenderCache with imagery to be sent to the renderer.

Reimplemented from CEGUI::Static.

Definition at line 127 of file CEGUIStaticText.cpp.

References BottomAligned, CEGUI::RenderCache::cacheText(), CEGUI::Centred, CEGUI::Rect::d_bottom, d_horzFormatting, d_horzScrollbar, CEGUI::Window::d_renderCache, CEGUI::Window::d_text, d_textCols, CEGUI::Rect::d_top, d_vertFormatting, d_vertScrollbar, CEGUI::Scrollbar::getDocumentSize(), CEGUI::Window::getEffectiveAlpha(), CEGUI::Window::getFont(), CEGUI::Font::getFormattedLineCount(), CEGUI::Rect::getHeight(), CEGUI::Font::getLineSpacing(), CEGUI::Scrollbar::getScrollPosition(), getTextRenderArea(), CEGUI::Window::isVisible(), CEGUI::Justified, LeftAligned, CEGUI::ColourRect::modulateAlpha(), CEGUI::Rect::offset(), PixelAligned, CEGUI::Static::populateRenderCache(), RightAligned, CEGUI::Rect::setWidth(), TopAligned, VertCentred, WordWrapCentred, WordWrapJustified, WordWrapLeftAligned, and WordWrapRightAligned.

Rect CEGUI::Window::relativeToAbsolute const Rect rect  )  const [inherited]
 

Convert the given area from relative to absolute metrics.

Parameters:
rect Rect object describing the area specified in relative metrics for this Window.
Returns:
A Rect object that describes an area in absolute metric values that is equivalent to rect, given the Window objects current size.

Definition at line 1352 of file CEGUIWindow.cpp.

References CEGUI::Window::relativeToAbsolute_impl().

Size CEGUI::Window::relativeToAbsolute const Size sze  )  const [inherited]
 

Convert the given size from relative to absolute metrics.

Parameters:
sze Size object describing a size specified in relative metrics for this Window.
Returns:
A Size object that describes a size in absolute metric values that is equivalent to sze, given the Window objects current size.

Definition at line 1343 of file CEGUIWindow.cpp.

References CEGUI::Window::relativeToAbsolute_impl().

Point CEGUI::Window::relativeToAbsolute const Point pt  )  const [inherited]
 

Convert the given position from relative to absolute metrics.

Parameters:
pt Point object describing a position specified in relative metrics for this Window (so 0,0 is this windows top-left corner).
Returns:
A Point object describing a position in absolute metric values that is equivalent to pt, given the Window objects current size.

Definition at line 1334 of file CEGUIWindow.cpp.

References CEGUI::Window::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 CEGUI::Window::windowToScreen().

Point CEGUI::Window::relativeToAbsolute_impl const Window window,
const Point pt
const [protected, inherited]
 

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, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Size CEGUI::Window::relativeToAbsolute_impl const Window window,
const Size sz
const [protected, inherited]
 

Definition at line 2259 of file CEGUIWindow.cpp.

References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Rect CEGUI::Window::relativeToAbsolute_impl const Window window,
const Rect rect
const [protected, inherited]
 

Return a Rect object that describes, in absolute values offset from window, the relative area described by rect.

Parameters:
window Pointer to a window object that is to be used as the base for the conversion. If this is NULL then the size of the display, as returned by the renderer object, is used.
rect Rect object describing the area, in relative values, that is to be returned as absolute values.
Returns:
Rect object that describes in absolute values offset from window, the same area described as relative values in 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, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Referenced by CEGUI::Window::relativeToAbsolute().

float CEGUI::Window::relativeToAbsoluteX float  val  )  const [inherited]
 

Convert the given X co-ordinate from relative to absolute metrics.

Parameters:
val X co-ordinate specified in relative metrics for this Window (so 0 is this windows left edge).
Returns:
An absolute metric value that is equivalent to val, given the Window objects current width.

Definition at line 1316 of file CEGUIWindow.cpp.

References CEGUI::Window::relativeToAbsoluteX_impl().

Referenced by CEGUI::MultiColumnList::handleHeaderScroll(), CEGUI::MultiColumnList::insertColumn(), CEGUI::ListHeader::segmentDragHandler(), CEGUI::ListHeader::segmentMovedHandler(), CEGUI::MultiColumnList::setColumnHeaderWidth(), and CEGUI::Window::windowToScreenX().

float CEGUI::Window::relativeToAbsoluteX_impl const Window window,
float  x
const [protected, inherited]
 

Definition at line 2289 of file CEGUIWindow.cpp.

References CEGUI::Size::d_width, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Referenced by CEGUI::Thumb::onMouseMove(), and CEGUI::Window::relativeToAbsoluteX().

float CEGUI::Window::relativeToAbsoluteY float  val  )  const [inherited]
 

Convert the given Y co-ordinate from relative to absolute metrics.

Parameters:
val Y co-ordinate specified in relative metrics for this Window (so 0 is this windows top edge).
Returns:
An absolute metric value that is equivalent to val, given the Window objects current height.

Definition at line 1325 of file CEGUIWindow.cpp.

References CEGUI::Window::relativeToAbsoluteY_impl().

Referenced by CEGUI::TabControlProperties::AbsoluteTabHeight::getDefault(), CEGUI::TabControl::setRelativeTabHeight(), CEGUI::TabControl::setRelativeTabTextPadding(), and CEGUI::Window::windowToScreenY().

float CEGUI::Window::relativeToAbsoluteY_impl const Window window,
float  y
const [protected, inherited]
 

Definition at line 2301 of file CEGUIWindow.cpp.

References CEGUI::Size::d_height, CEGUI::Window::getWindowSize_impl(), and PixelAligned.

Referenced by CEGUI::Thumb::onMouseMove(), and CEGUI::Window::relativeToAbsoluteY().

void CEGUI::Window::releaseInput void   )  [inherited]
 

Releases input capture from this Window. If this Window does not have inputs captured, nothing happens.

Returns:
Nothing

Definition at line 1173 of file CEGUIWindow.cpp.

References CEGUI::Window::d_captureWindow, CEGUI::Window::d_oldCapture, CEGUI::Window::d_restoreOldCapture, CEGUI::Window::isCapturedByThis(), CEGUI::Window::moveToFront(), and CEGUI::Window::onCaptureLost().

Referenced by CEGUI::Window::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().

void CEGUI::EventSet::removeAllEvents void   )  [inherited]
 

Remove all Event objects from the EventSet.

Returns:
Nothing

Definition at line 85 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::d_events.

Referenced by CEGUI::EventSet::~EventSet().

void CEGUI::Window::removeChild_impl Window wnd  )  [protected, virtual, inherited]
 

Remove given window from child list.

Reimplemented in CEGUI::ScrollablePane.

Definition at line 2055 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::removeWindowFromDrawList(), and CEGUI::Window::setParent().

Referenced by CEGUI::ScrollablePane::removeChild_impl(), CEGUI::Window::removeChildWindow(), and CEGUI::Window::setAlwaysOnTop().

void CEGUI::Window::removeChildWindow uint  ID  )  [inherited]
 

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.

Parameters:
ID ID number assigned to the Window to be removed. If no Window with ID code ID is attached, nothing happens.
Returns:
Nothing.

Definition at line 1025 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), CEGUI::Window::getID(), and CEGUI::Window::removeChildWindow().

void CEGUI::Window::removeChildWindow Window window  )  [inherited]
 

Remove the specified Window form this windows child list.

Parameters:
window Pointer to the Window object to be removed. If the window is not attached to this Window, then nothing happens.
Returns:
Nothing.

Definition at line 1011 of file CEGUIWindow.cpp.

References CEGUI::Window::onChildRemoved(), CEGUI::Window::onZChange_impl(), and CEGUI::Window::removeChild_impl().

void CEGUI::Window::removeChildWindow const String name  )  [inherited]
 

Remove the named Window from this windows child list.

Parameters:
name String object holding the name of the Window to be removed. If the Window specified is not attached to this Window, nothing happens.
Returns:
Nothing.

Definition at line 991 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), and CEGUI::Window::getName().

Referenced by CEGUI::Window::addChild_impl(), CEGUI::Window::cleanupChildren(), CEGUI::GUILayout_xmlHandler::cleanupLoadedWindows(), CEGUI::Window::destroy(), CEGUI::TabControl::removeButtonForTabContent(), CEGUI::ScrollablePane::removeChild_impl(), CEGUI::Window::removeChildWindow(), CEGUI::ListHeader::removeColumn(), CEGUI::ItemListBase::removeItem(), CEGUI::TabControl::removeTab(), CEGUI::ItemListBase::resetList_impl(), and CEGUI::Tooltip::switchToInactiveState().

void CEGUI::EventSet::removeEvent const String name  )  [inherited]
 

Removes the Event with the given name. All connections to the event are disconnected.

Parameters:
name String object containing the name of the Event to remove. If no such Event exists, nothing happens.
Returns:
Nothing.

Definition at line 69 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::d_events.

void CEGUI::PropertySet::removeProperty const String name  )  [inherited]
 

Removes a Property from the PropertySet.

Parameters:
name String containing the name of the Property to be removed. If Property name is not in the set, nothing happens.
Returns:
Nothing.

Definition at line 55 of file CEGUIPropertySet.cpp.

void CEGUI::Window::removeWindowFromDrawList const Window wnd  )  [protected, inherited]
 

Removes the window from the drawing list. If the window is not attached to the drawing list then nothing happens.

Parameters:
wnd Window object to be removed from the drawing list.
Returns:
Nothing.

Definition at line 3508 of file CEGUIWindow.cpp.

References CEGUI::Window::d_drawList.

Referenced by CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront_impl(), and CEGUI::Window::removeChild_impl().

void CEGUI::Window::render void   )  [inherited]
 

Causes the Window object to render itself and all of it's attached children.

Returns:
Nothing

Definition at line 1871 of file CEGUIWindow.cpp.

References CEGUI::Renderer::advanceZValue(), CEGUI::Window::d_drawList, CEGUI::Window::drawSelf(), CEGUI::Window::getChildCount(), CEGUI::Renderer::getCurrentZ(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Window::isVisible(), CEGUI::Window::onRenderingEnded(), and CEGUI::Window::onRenderingStarted().

Referenced by CEGUI::System::renderGUI().

void CEGUI::Window::requestRedraw void   )  const [inherited]
 

Signal the System object to redraw (at least) this Window on the next render cycle.

Returns:
Nothing

Definition at line 1261 of file CEGUIWindow.cpp.

References CEGUI::Window::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(), handleScrollbarChange(), CEGUI::MultiColumnList::handleUpdatedItemData(), CEGUI::Listbox::handleUpdatedItemData(), CEGUI::MultiColumnList::handleVertScrollbar(), CEGUI::ListHeaderSegment::initSegmentHoverState(), CEGUI::ListHeaderSegment::initSizingHoverState(), CEGUI::Window::onActivated(), CEGUI::FrameWindow::onActivated(), CEGUI::Window::onAlphaChanged(), CEGUI::MenuItem::onCaptureLost(), CEGUI::ButtonBase::onCaptureLost(), CEGUI::MultiLineEditbox::onCaratMoved(), CEGUI::Editbox::onCaratMoved(), CEGUI::Window::onClippingChanged(), CEGUI::Window::onDeactivated(), CEGUI::FrameWindow::onDeactivated(), CEGUI::Window::onDisabled(), CEGUI::Window::onEnabled(), CEGUI::Window::onFontChanged(), onFontChanged(), CEGUI::Window::onHidden(), CEGUI::MultiLineEditbox::onHorzScrollbarModeChanged(), CEGUI::Listbox::onHorzScrollbarModeChanged(), CEGUI::Window::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(), CEGUI::Window::onShown(), CEGUI::Window::onSized(), CEGUI::MultiColumnList::onSortColumnChanged(), CEGUI::MultiColumnList::onSortDirectionChanged(), CEGUI::ListHeaderSegment::onSortDirectionChanged(), CEGUI::Listbox::onSortModeChanged(), CEGUI::Window::onTextChanged(), CEGUI::TextItem::onTextChanged(), 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(), setFormatting(), CEGUI::StaticImage::setFormatting(), CEGUI::Static::setFrameColours(), CEGUI::Static::setFrameEnabled(), CEGUI::FrameWindow::setFrameEnabled(), CEGUI::Static::setFrameImages(), 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(), setTextColours(), setVerticalFormatting(), CEGUI::StaticImage::setVerticalFormatting(), CEGUI::MenuItem::updateInternalState(), and CEGUI::ButtonBase::updateInternalState().

bool CEGUI::Window::restoresOldCapture void   )  const [inline, inherited]
 

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.

Returns:
  • true if the window will restore the previous capture window when it loses input capture.
  • false if the window will set the capture window to NULL when it loses input capture (this is the default behaviour).

Definition at line 1003 of file CEGUIWindow.h.

Rect CEGUI::Window::screenToWindow const URect rect  )  const [inherited]
 

Convert a URect screen area to a window area, specified in whichever metrics mode is active.

Parameters:
rect URect object describing the area to be converted
Returns:
Rect object describing a window area that is equivalent to URect screen area rect.

Definition at line 1863 of file CEGUIWindow.cpp.

References CEGUI::URect::asAbsolute(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Renderer::getSize(), and CEGUI::Window::screenToWindow().

Vector2 CEGUI::Window::screenToWindow const UVector2 vec  )  const [inherited]
 

Convert a screen relative UVector2 point to a window co-ordinate point, specified in whichever metrics mode is active.

Parameters:
vec UVector2 object describing the point to be converted
Returns:
Vector2 object describing a window co-ordinate point that is equivalent to screen based UVector2 point vec.

Definition at line 1854 of file CEGUIWindow.cpp.

References CEGUI::UVector2::asAbsolute(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Renderer::getSize(), and CEGUI::Window::screenToWindow().

Rect CEGUI::Window::screenToWindow const Rect rect  )  const [inherited]
 

Convert a screen area to a window area, specified in whichever metrics mode is active.

Parameters:
rect Rect object describing the area to be converted
Returns:
Rect object describing a window area that is equivalent to screen area rect.

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, CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getMetricsMode(), CEGUI::Relative, CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY().

Size CEGUI::Window::screenToWindow const Size sze  )  const [inherited]
 

Convert a pixel screen size to a window based size, specified in whichever metrics mode is active.

Parameters:
sze Size object describing the size to be converted
Returns:
Size object describing a window based size that is equivalent to screen based size sze.

Definition at line 1613 of file CEGUIWindow.cpp.

References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getMetricsMode(), and CEGUI::Relative.

Point CEGUI::Window::screenToWindow const Point pt  )  const [inherited]
 

Convert a screen relative pixel position to a window co-ordinate position, specified in whichever metrics mode is active.

Parameters:
pt Point object describing the position to be converted
Returns:
Point object describing a window co-ordinate position that is equivalent to screen co-ordinate x.

Definition at line 1593 of file CEGUIWindow.cpp.

References CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getMetricsMode(), CEGUI::Relative, CEGUI::Window::windowToScreenX(), and CEGUI::Window::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(), CEGUI::Window::screenToWindow(), CEGUI::ListHeader::segmentDragHandler(), and CEGUI::ListHeader::segmentMovedHandler().

float CEGUI::Window::screenToWindowX const UDim x  )  const [inherited]
 

Convert a screen relative UDim co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.

Parameters:
x UDim x co-ordinate value to be converted
Returns:
float value describing a window co-ordinate value that is equivalent to screen UDim co-ordinate x.

Definition at line 1836 of file CEGUIWindow.cpp.

References CEGUI::UDim::asAbsolute(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Renderer::getWidth(), and CEGUI::Window::screenToWindowX().

float CEGUI::Window::screenToWindowX float  x  )  const [inherited]
 

Convert a screen relative pixel co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.

Parameters:
x x co-ordinate value to be converted
Returns:
float value describing a window co-ordinate value that is equivalent to screen co-ordinate x.

Definition at line 1559 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getMetricsMode(), CEGUI::Relative, and CEGUI::Window::windowToScreenX().

Referenced by CEGUI::Window::screenToWindowX().

float CEGUI::Window::screenToWindowY const UDim y  )  const [inherited]
 

Convert a screen relative UDim co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.

Parameters:
y UDim y co-ordinate value to be converted
Returns:
float value describing a window co-ordinate value that is equivalent to screen UDim co-ordinate y.

Definition at line 1845 of file CEGUIWindow.cpp.

References CEGUI::UDim::asAbsolute(), CEGUI::Renderer::getHeight(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), and CEGUI::Window::screenToWindowY().

float CEGUI::Window::screenToWindowY float  y  )  const [inherited]
 

Convert a screen relative pixel co-ordinate value to a window co-ordinate value, specified in whichever metrics mode is active.

Parameters:
y y co-ordinate value to be converted
Returns:
float value describing a window co-ordinate value that is equivalent to screen co-ordinate y.

Definition at line 1576 of file CEGUIWindow.cpp.

References CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getMetricsMode(), CEGUI::Relative, and CEGUI::Window::windowToScreenY().

Referenced by CEGUI::Window::screenToWindowY().

void CEGUI::Window::setAlpha float  alpha  )  [inherited]
 

Set the current alpha value for this window.

Note:
The alpha value set for any given window may or may not be the final alpha value that is used when rendering. All window objects, by default, inherit alpha from thier parent window(s) - this will blend child windows, relatively, down the line of inheritance. This behaviour can be overridden via the setInheritsAlpha() method. To return the true alpha value that will be applied when rendering, use the getEffectiveAlpha() method.
Parameters:
alpha The new alpha value for the window. Value should be between 0.0f and 1.0f.
Returns:
Nothing

Definition at line 1221 of file CEGUIWindow.cpp.

References CEGUI::Window::d_alpha, and CEGUI::Window::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().

void CEGUI::Window::setAlwaysOnTop bool  setting  )  [inherited]
 

Set whether this window is always on top, or not.

Parameters:
setting true to have the Window appear on top of all other non always on top windows, or false to allow the window to be covered by other windows.
Returns:
Nothing

Definition at line 732 of file CEGUIWindow.cpp.

References CEGUI::Window::addChild_impl(), CEGUI::Window::d_alwaysOnTop, CEGUI::Window::d_parent, CEGUI::Window::isAlwaysOnTop(), CEGUI::Window::onAlwaysOnTopChanged(), CEGUI::Window::onZChange_impl(), and CEGUI::Window::removeChild_impl().

Referenced by CEGUI::ScrollablePane::initialise(), CEGUI::Titlebar::Titlebar(), and CEGUI::Tooltip::Tooltip().

void CEGUI::Window::setAreaRect const Rect area  )  [inherited]
 

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.

Parameters:
area Rect object that describes the new area for Window, in units consistent with the current metrics mode.
Returns:
Nothing

Definition at line 929 of file CEGUIWindow.cpp.

References CEGUI::Window::getMetricsMode(), and CEGUI::Window::setRect().

void CEGUI::Window::setAutoRepeatDelay float  delay  )  [inherited]
 

Set the current auto-repeat delay setting for this window.

Parameters:
delay float value indicating the delay, in seconds, defore the first repeat mouse button down event should be triggered when autorepeat is enabled.
Returns:
Nothing.

Definition at line 2891 of file CEGUIWindow.cpp.

References CEGUI::Window::d_repeatDelay.

void CEGUI::Window::setAutoRepeatRate float  rate  )  [inherited]
 

Set the current auto-repeat rate setting for this window.

Parameters:
rate float value indicating the rate, in seconds, at which repeat mouse button down events should be generated after the initial delay has expired.
Returns:
Nothing.

Definition at line 2906 of file CEGUIWindow.cpp.

References CEGUI::Window::d_repeatRate.

void CEGUI::Static::setBackgroundColours const colour col  )  [inline, inherited]
 

Sets the colour to be applied when rendering the background.

Parameters:
col colour value to be used when rendering.
Returns:
Nothing.

Definition at line 309 of file CEGUIStatic.h.

void CEGUI::Static::setBackgroundColours const colour top_left_colour,
const colour top_right_colour,
const colour bottom_left_colour,
const colour bottom_right_colour
[inherited]
 

Sets the colours to be applied when rendering the background.

Parameters:
top_left_colour Colour to be applied to the top-left corner of the background.
top_right_colour Colour to be applied to the top-right corner of the background.
bottom_left_colour Colour to be applied to the bottom-left corner of the background.
bottom_right_colour Colour to be applied to the bottom-right corner of the background.
Returns:
Nothing.

Definition at line 244 of file CEGUIStatic.cpp.

References CEGUI::Static::d_backgroundCols, CEGUI::Static::d_backgroundEnabled, CEGUI::ColourRect::d_bottom_left, CEGUI::ColourRect::d_bottom_right, CEGUI::ColourRect::d_top_left, CEGUI::ColourRect::d_top_right, and CEGUI::Window::requestRedraw().

void CEGUI::Static::setBackgroundColours const ColourRect colours  )  [inherited]
 

Sets the colours to be applied when rendering the background.

Parameters:
colours ColourRect object describing the colours to be used.
Returns:
Nothing.

Definition at line 229 of file CEGUIStatic.cpp.

References CEGUI::Static::d_backgroundCols, CEGUI::Static::d_backgroundEnabled, and CEGUI::Window::requestRedraw().

void CEGUI::Static::setBackgroundEnabled bool  setting  )  [inherited]
 

Enable or disable rendering of the background for this static widget.

Parameters:
setting true to enable rendering of the background. false to disable rendering of the background.

Definition at line 191 of file CEGUIStatic.cpp.

References CEGUI::Static::d_backgroundEnabled, and CEGUI::Window::requestRedraw().

void CEGUI::Static::setBackgroundImage const String imageset,
const String image
[inherited]
 

Set the image to use as the background for the static widget.

Parameters:
imageset String object specifying the name of the Imageset that holds the required image.
image Name of the Image on the specified Imageset that is to be used.
Returns:
Nothing.
Exceptions:
UnknownObjectException thrown if Imageset imageset does not exist in the system or if imageset contains no Image named image.

Definition at line 220 of file CEGUIStatic.cpp.

References CEGUI::ImagesetManager::getSingleton(), and CEGUI::Static::setBackgroundImage().

void CEGUI::Static::setBackgroundImage const Image image  )  [inherited]
 

Set the image to use as the background for the static widget.

Parameters:
image Pointer to the Image object to be rendered. Can be NULL to specify no image is to be rendered.
Returns:
Nothing.

Definition at line 205 of file CEGUIStatic.cpp.

References CEGUI::Static::d_background, CEGUI::Static::d_backgroundEnabled, and CEGUI::Window::requestRedraw().

Referenced by CEGUI::Static::setBackgroundImage().

void CEGUI::Window::setClippedByParent bool  setting  )  [inherited]
 

Set whether this Window will be clipped by its parent window(s).

Parameters:
setting true to have the Window clipped so that rendering is constrained to within the area of its parent(s), or false to have rendering constrained to the screen only.
Returns:
Nothing

Definition at line 838 of file CEGUIWindow.cpp.

References CEGUI::Window::d_clippedByParent, and CEGUI::Window::onClippingChanged().

Referenced by CEGUI::DragContainer::initialiseDragging(), CEGUI::DragContainer::onCaptureLost(), CEGUI::PopupMenu::PopupMenu(), and CEGUI::Tooltip::Tooltip().

void CEGUI::Window::setDestroyedByParent bool  setting  )  [inherited]
 

Set whether or not this Window will automatically be destroyed when its parent Window is destroyed.

Parameters:
setting set to true to have the Window auto-destroyed when its parent is destroyed (default), or false to have the Window remain after its parent is destroyed.
Returns:
Nothing

Definition at line 2475 of file CEGUIWindow.cpp.

References CEGUI::Window::d_destroyedByParent, and CEGUI::Window::onParentDestroyChanged().

Referenced by CEGUI::Tooltip::Tooltip().

void CEGUI::Window::setDistributesCapturedInputs bool  setting  )  [inherited]
 

Set whether the window wants inputs passed to its attached child windows when the window has inputs captured.

Parameters:
setting 
  • true if System should pass captured input events to child windows.
  • false if System should pass captured input events to this window only.

Definition at line 2974 of file CEGUIWindow.cpp.

References CEGUI::Window::d_distCapturedInputs.

Referenced by CEGUI::ComboDropList::ComboDropList().

void CEGUI::Window::setEnabled bool  setting  )  [inherited]
 

Set whether this window is enabled or disabled. A disabled window normally can not be interacted with, and may have different rendering.

Parameters:
setting true to enable the Window, and false to disable the Window.
Returns:
Nothing

Definition at line 761 of file CEGUIWindow.cpp.

References CEGUI::Window::d_enabled, CEGUI::Window::d_parent, CEGUI::Window::isDisabled(), CEGUI::Window::onDisabled(), and CEGUI::Window::onEnabled().

Referenced by CEGUI::FrameWindow::setCloseButtonEnabled(), and CEGUI::FrameWindow::setTitleBarEnabled().

void CEGUI::Window::setFont const String name  )  [inherited]
 

Set the font used by this Window.

Parameters:
name String object holding the name of the Font object to be used by this Window. If name == "", the default font will be used.
Returns:
Nothing
Exceptions:
UnknownObjectException thrown if the specified Font is unknown within the system.

Definition at line 949 of file CEGUIWindow.cpp.

References CEGUI::String::empty(), CEGUI::Window::getFont(), CEGUI::FontManager::getSingleton(), and CEGUI::Window::setFont().

void CEGUI::Window::setFont const Font font  )  [inherited]
 

Set the font used by this Window.

Parameters:
font Pointer to the Font object to be used by this Window. If font is NULL, the default font will be used.
Returns:
Nothing

Definition at line 938 of file CEGUIWindow.cpp.

References CEGUI::Window::d_font, and CEGUI::Window::onFontChanged().

Referenced by CEGUI::TabControl::addButtonForTabContent(), CEGUI::Combobox::initialise(), CEGUI::Spinner::onFontChanged(), CEGUI::Combobox::onFontChanged(), CEGUI::Window::setFont(), and CEGUI::FrameWindow::setTitlebarFont().

void CEGUI::StaticText::setFormatting HorzFormatting  h_fmt,
VertFormatting  v_fmt
 

Set the formatting required for the text.

Parameters:
h_fmt One of the HorzFormatting enumerated values specifying the formatting required.
v_fmt One of the VertFormatting enumerated values specifying the formatting required.
Returns:
Nothing

Definition at line 96 of file CEGUIStaticText.cpp.

References d_horzFormatting, d_vertFormatting, and CEGUI::Window::requestRedraw().

void CEGUI::Static::setFrameColours const colour col  )  [inline, inherited]
 

Sets the colour to be applied when rendering the frame.

Parameters:
col colour value to be used when rendering.
Returns:
Nothing.

Definition at line 220 of file CEGUIStatic.h.

void CEGUI::Static::setFrameColours const colour top_left_colour,
const colour top_right_colour,
const colour bottom_left_colour,
const colour bottom_right_colour
[inherited]
 

Sets the colours to be applied when rendering the frame.

Parameters:
top_left_colour Colour to be applied to the top-left corner of each Image used in the frame.
top_right_colour Colour to be applied to the top-right corner of each Image used in the frame.
bottom_left_colour Colour to be applied to the bottom-left corner of each Image used in the frame.
bottom_right_colour Colour to be applied to the bottom-right corner of each Image used in the frame.
Returns:
Nothing.

Definition at line 169 of file CEGUIStatic.cpp.

References CEGUI::ColourRect::d_bottom_left, CEGUI::ColourRect::d_bottom_right, CEGUI::Static::d_frameCols, CEGUI::Static::d_frameEnabled, CEGUI::ColourRect::d_top_left, CEGUI::ColourRect::d_top_right, CEGUI::Static::onStaticFrameChanged(), CEGUI::Window::requestRedraw(), and CEGUI::Static::updateRenderableFrameColours().

void CEGUI::Static::setFrameColours const ColourRect colours  )  [inherited]
 

Sets the colours to be applied when rendering the frame.

Parameters:
colours ColourRect object describing the colours to be used.
Returns:
Nothing.

Definition at line 150 of file CEGUIStatic.cpp.

References CEGUI::Static::d_frameCols, CEGUI::Static::d_frameEnabled, CEGUI::Static::onStaticFrameChanged(), CEGUI::Window::requestRedraw(), and CEGUI::Static::updateRenderableFrameColours().

void CEGUI::Static::setFrameEnabled bool  setting  )  [inherited]
 

Enable or disable rendering of the frame for this static widget.

Frame imagery can be customised via the setFrameImages method.

Parameters:
setting true to enable rendering of a frame. false to disable rendering of a frame.

Definition at line 109 of file CEGUIStatic.cpp.

References CEGUI::Static::d_frameEnabled, CEGUI::Static::onStaticFrameChanged(), and CEGUI::Window::requestRedraw().

void CEGUI::Static::setFrameImages const Image topleft,
const Image topright,
const Image bottomleft,
const Image bottomright,
const Image left,
const Image top,
const Image right,
const Image bottom
[inherited]
 

specify the Image objects to use for each part of the frame. A NULL may be used to omit any part.

Parameters:
topleft Pointer to an Image object to render as the top-left corner of the frame. Specify NULL to omit this part of the frame.
topright Pointer to an Image object to render as the top-right corner of the frame. Specify NULL to omit this part of the frame.
bottomleft Pointer to an Image object to render as the bottom-left corner of the frame. Specify NULL to omit this part of the frame.
bottomright Pointer to an Image object to render as the bottom-right corner of the frame. Specify NULL to omit this part of the frame.
left Pointer to an Image object to render as the left edge of the frame. Specify NULL to omit this part of the frame.
top Pointer to an Image object to render as the top edge of the frame. Specify NULL to omit this part of the frame.
right Pointer to an Image object to render as the right edge of the frame. Specify NULL to omit this part of the frame.
bottom Pointer to an Image object to render as the bottom edge of the frame. Specify NULL to omit this part of the frame.
Returns:
Nothing

Definition at line 125 of file CEGUIStatic.cpp.

References CEGUI::Static::d_bottom_height, CEGUI::Static::d_frame, CEGUI::Static::d_frameEnabled, CEGUI::Static::d_left_width, CEGUI::Static::d_right_width, CEGUI::Static::d_top_height, CEGUI::Image::getHeight(), CEGUI::Image::getWidth(), CEGUI::Static::onStaticFrameChanged(), CEGUI::Window::requestRedraw(), and CEGUI::RenderableFrame::setImages().

void CEGUI::Window::setHeight MetricsMode  mode,
float  height
[inherited]
 

set the height of the Window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
height float value that specifies the height of the Window using the specified MetricsMode.
Returns:
Nothing.

Definition at line 2655 of file CEGUIWindow.cpp.

References CEGUI::Window::getWidth(), and CEGUI::Window::setSize().

void CEGUI::Window::setHeight float  height  )  [inherited]
 

Set the current height of the Window. Interpretation of the input value height is dependant upon the current metrics system set for the Window.

Parameters:
height float value that specifies the new height for the window, in units consistent with whatever metrics mode is in operation.
Returns:
Nothing

Definition at line 876 of file CEGUIWindow.cpp.

References CEGUI::Window::getWidth(), and CEGUI::Window::setSize().

Referenced by CEGUI::TabControl::calculateTabButtonSizePosition().

void CEGUI::Window::setHorizontalAlignment const HorizontalAlignment  alignment  )  [inherited]
 

Set the horizontal alignment.

Modifies the horizontal alignment for the window. This setting affects how the windows position is interpreted relative to its parent.

Parameters:
alignment One of the HorizontalAlignment enumerated values.
Returns:
Nothing.

Definition at line 3323 of file CEGUIWindow.cpp.

References CEGUI::Window::d_horzAlign, and CEGUI::Window::onHorizontalAlignmentChanged().

Referenced by CEGUI::WidgetComponent::create().

void CEGUI::StaticText::setHorizontalFormatting HorzFormatting  h_fmt  ) 
 

Set the formatting required for the text.

Parameters:
h_fmt One of the HorzFormatting enumerated values specifying the formatting required.
Returns:
Nothing

Definition at line 117 of file CEGUIStaticText.cpp.

References d_horzFormatting, and CEGUI::Window::requestRedraw().

void CEGUI::StaticText::setHorizontalScrollbarEnabled bool  setting  ) 
 

Set whether the horizontal scroll bar will be shown if needed.

Parameters:
setting 
  • true if the horizontal scroll bar should be shown if needed (non-word wrapped, left or right aligned formatting only).
  • false if the horizontal scroll bar should never be shown (default behaviour).

Definition at line 403 of file CEGUIStaticText.cpp.

References configureScrollbars(), d_enableHorzScrollbar, and CEGUI::Window::performChildWindowLayout().

void CEGUI::Window::setID uint  ID  )  [inherited]
 

Set the current ID for the Window.

Parameters:
ID Client assigned ID code for this Window. The GUI system assigns no meaning to any IDs, they are a device purely for client code usage.
Returns:
Nothing

Definition at line 2436 of file CEGUIWindow.cpp.

References CEGUI::Window::d_ID, and CEGUI::Window::onIDChanged().

Referenced by CEGUI::ListHeader::createInitialisedSegment().

void CEGUI::Static::setImageForFrameLocation FrameLocation  location,
const Image image
[inherited]
 

Set the Image to use for the specified location of the frame.

Parameters:
location One of the FrameLocation enumerated values specifying the image to be returned.
image Pointer to the Image to use for the frame location specified in location. May be NULL to indicate the frame component is not required.
Returns:
Nothing.

Definition at line 372 of file CEGUIStatic.cpp.

References CEGUI::BottomEdge, CEGUI::Static::d_bottom_height, CEGUI::Static::d_frame, CEGUI::Static::d_left_width, CEGUI::Static::d_right_width, CEGUI::Static::d_top_height, CEGUI::Image::getHeight(), CEGUI::Image::getWidth(), CEGUI::LeftEdge, CEGUI::RightEdge, CEGUI::RenderableFrame::setImageForLocation(), and CEGUI::TopEdge.

void CEGUI::Window::setInheritsAlpha bool  setting  )  [inherited]
 

Sets whether this Window will inherit alpha from its parent windows.

Parameters:
setting true if the Window should use inherited alpha, or false if the Window should have an independant alpha value.
Returns:
Nothing

Definition at line 1232 of file CEGUIWindow.cpp.

References CEGUI::Window::d_inheritsAlpha, CEGUI::Window::getEffectiveAlpha(), CEGUI::EventArgs::handled, CEGUI::Window::onAlphaChanged(), and CEGUI::Window::onInheritsAlphaChanged().

void CEGUI::Window::setInheritsTooltipText bool  setting  )  [inherited]
 

Set whether this window inherits Tooltip text from its parent when its own tooltip text is not set.

Parameters:
setting 
  • true if the window should inherit tooltip text from its parent when its own text is not set.
  • false if the window should not inherit tooltip text from its parent (and so show no tooltip when no text is set).
Returns:
Nothing.

Definition at line 3126 of file CEGUIWindow.cpp.

References CEGUI::Window::d_inheritsTipText.

void CEGUI::Window::setLookNFeel const String falagardType,
const String look
[inherited]
 

Set the LookNFeel that shoule be used for this window.

Parameters:
falagardType String object holding the mapped falagard type name (since actual window type will be "Falagard/something") and not what was passed to WindowManager. This will be returned from getType instead of the base type.
look String object holding the name of the look to be assigned to the window.
Returns:
Nothing.
Exceptions:
InvalidRequestException thrown if the window already has a look assigned to it.

Definition at line 3339 of file CEGUIWindow.cpp.

References CEGUI::Window::d_falagardType, CEGUI::Window::d_lookName, CEGUI::Window::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().

void CEGUI::Window::setMaximumSize const Size sz  )  [inherited]
 

Set the maximum size for this window.

Parameters:
sz Size object describing the maximum size for the window. For absolute metrics, the Size values are in screen pixels, for relative metrics the Size values are relative to the display size.

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, CEGUI::Window::getMetricsMode(), PixelAligned, and CEGUI::Window::setWindowMaxSize().

void CEGUI::Window::setMetricsMode MetricsMode  mode  )  [inherited]
 

set the current metrics mode employed by the Window

Parameters:
mode One of the values of the MectricsMode enumerated type, that describes the metrics mode to be used by the Window.
Returns:
Nothing

Definition at line 2452 of file CEGUIWindow.cpp.

References CEGUI::Window::d_metricsMode, CEGUI::Window::getMetricsMode(), CEGUI::Inherited, and CEGUI::Window::onMetricsChanged().

Referenced by CEGUI::ListHeader::createInitialisedSegment().

void CEGUI::Window::setMinimumSize const Size sz  )  [inherited]
 

Set the minimum size for this window.

Parameters:
sz Size object describing the minimum size for the window. For absolute metrics, the Size values are in screen pixels, for relative metrics the Size values are relative to the display size.

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, CEGUI::Window::getMetricsMode(), PixelAligned, and CEGUI::Window::setWindowMinSize().

Referenced by CEGUI::ListHeader::createInitialisedSegment().

void CEGUI::Window::setModalState bool  state  )  [inherited]
 

Set the modal state for this Window.

Parameters:
state Boolean value defining if this Window should be the modal target. If true, this Window will be activated and set as the modal target. If false, the modal target will be cleared if this Window is currently the modal target.
Returns:
Nothing.

Definition at line 3358 of file CEGUIWindow.cpp.

References CEGUI::Window::activate(), CEGUI::Window::getModalState(), CEGUI::System::getSingleton(), and CEGUI::System::setModalTarget().

void CEGUI::Window::setMouseAutoRepeatEnabled bool  setting  )  [inherited]
 

Set whether mouse button down event autorepeat is enabled for this window.

Parameters:
setting 
  • true to enable autorepeat of mouse button down events.
  • false to disable autorepeat of mouse button down events.
Returns:
Nothing.

Definition at line 2875 of file CEGUIWindow.cpp.

References CEGUI::Window::d_autoRepeat, CEGUI::Window::d_repeatButton, and CEGUI::NoButton.

Referenced by CEGUI::Spinner::initialise().

void CEGUI::Window::setMouseCursor const String imageset,
const String image_name
[inherited]
 

Set the mouse cursor image to be used when the mouse enters this window.

Parameters:
imageset String object that contains the name of the Imageset that contains the image to be used.
image_name String object that contains the name of the Image on imageset that is to be used.
Returns:
Nothing.
Exceptions:
UnknownObjectException thrown if imageset is not known, or if imageset contains no Image named image_name.

Definition at line 2427 of file CEGUIWindow.cpp.

References CEGUI::Window::d_mouseCursor, CEGUI::Imageset::getImage(), CEGUI::ImagesetManager::getImageset(), and CEGUI::ImagesetManager::getSingleton().

void CEGUI::Window::setMouseCursor MouseCursorImage  image  )  [inline, inherited]
 

Set the mouse cursor image to be used when the mouse enters this window.

Parameters:
image One of the MouseCursorImage enumerated values.
Returns:
Nothing.

Definition at line 1766 of file CEGUIWindow.h.

void CEGUI::Window::setMouseCursor const Image image  )  [inline, inherited]
 

Set the mouse cursor image to be used when the mouse enters this window.

Parameters:
image Pointer to the Image object to use as the mouse cursor image when the mouse enters the area for this Window.
Returns:
Nothing.

Definition at line 1753 of file CEGUIWindow.h.

void CEGUI::EventSet::setMutedState bool  setting  )  [inherited]
 

Set the mute state for this EventSet.

Parameters:
setting 
  • true if the EventSet is to be muted (no further event firing requests will be honoured until EventSet is unmuted).
  • false if the EventSet is not to be muted and all events should fired as requested.
Returns:
Nothing.

Definition at line 193 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::d_muted.

Referenced by CEGUI::Spinner::onTextInputModeChanged(), and CEGUI::Spinner::onValueChanged().

void CEGUI::Window::setParent Window parent  )  [protected, inherited]
 

Set the parent window for this window object.

Parameters:
parent Pointer to a Window object that is to be assigned as the parent to this Window.
Returns:
Nothing

Definition at line 1934 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent.

Referenced by CEGUI::Window::addChild_impl(), and CEGUI::Window::removeChild_impl().

void CEGUI::Window::setPosition MetricsMode  mode,
const Point position
[inherited]
 

set the position of the window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
position Point object that describes the position of the Window relative to it's parent, using the specified MetricsMode.
Returns:
Nothing

Definition at line 2625 of file CEGUIWindow.cpp.

References cegui_absdim, cegui_reldim, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getInheritedMetricsMode(), CEGUI::Inherited, PixelAligned, CEGUI::Relative, and CEGUI::Window::setWindowPosition().

void CEGUI::Window::setPosition const Point position  )  [inherited]
 

Set the current position of the Window. Interpretation of the input value position is dependant upon the current metrics system set for the Window.

Parameters:
position Point object that describes the new postion of the Window, in units consistent with the current metrics mode.
Returns:
Nothing

Definition at line 918 of file CEGUIWindow.cpp.

References CEGUI::Window::getMetricsMode().

Referenced by CEGUI::DragContainer::doDragging(), CEGUI::DragContainer::onCaptureLost(), CEGUI::Thumb::onMouseMove(), CEGUI::MenuItem::openPopupMenu(), CEGUI::TabControl::performChildWindowLayout(), CEGUI::Tooltip::positionSelf(), CEGUI::Window::setXPosition(), CEGUI::Window::setYPosition(), and CEGUI::ScrollablePane::updateContainerPosition().

void CEGUI::PropertySet::setProperty const String name,
const String value
[inherited]
 

Sets the current value of a Property.

Parameters:
name String containing the name of the Property who's value is to be set.
value String containing a textual representation of the new value for the Property
Returns:
Nothing
Exceptions:
UnknownObjectException Thrown if no Property named name is in the PropertySet.
InvalidRequestException Thrown when the Property was unable to interpret the content of value.

Definition at line 114 of file CEGUIPropertySet.cpp.

Referenced by CEGUI::PropertyInitialiser::apply(), CEGUI::GUILayout_xmlHandler::elementStart(), and CEGUI::WidgetLookFeel::initialiseWidget().

void CEGUI::Window::setRect MetricsMode  mode,
const Rect area
[inherited]
 

set the Rect that describes the Window area using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
area Rect object that describes the area to be covered by the Window using the specified MetricsMode.
Returns:
Nothing.

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, CEGUI::Window::getInheritedMetricsMode(), CEGUI::Inherited, PixelAligned, CEGUI::Relative, and CEGUI::Window::setWindowArea().

Referenced by CEGUI::WidgetComponent::layout(), and CEGUI::Window::setAreaRect().

void CEGUI::Window::setRestoreCapture bool  setting  )  [inherited]
 

Set whether this window will remember and restore the previous window that had inputs captured.

Parameters:
setting 
  • true: The window will remember and restore the previous capture window. The CaptureLost event is not fired on the previous window when this window steals input capture. When this window releases capture, the old capture window is silently restored.
  • false: Input capture works as normal, each window losing capture is signalled via CaptureLost, and upon the final release of capture, no previous setting is restored (this is the default 'normal' behaviour).

Returns:
Nothing

Definition at line 1204 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::d_restoreOldCapture, and CEGUI::Window::getChildCount().

Referenced by CEGUI::ComboDropList::initialise().

void CEGUI::Window::setRiseOnClickEnabled bool  setting  )  [inline, inherited]
 

Set whether this window will rise to the top of the z-order when clicked with the left mouse button.

Parameters:
setting 
  • true if the window should come to the top of other windows when the left mouse button is pushed within its area.
  • false if the window should not change z-order position when the left mouse button is pushed within its area.
Returns:
Nothing.

Definition at line 2098 of file CEGUIWindow.h.

void CEGUI::Window::setSize MetricsMode  mode,
const Size size
[inherited]
 

set the size of the Window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
size Size object that describes the dimensions of the Window using the specified MetricsMode.
Returns:
Nothing.

Definition at line 2664 of file CEGUIWindow.cpp.

References cegui_absdim, cegui_reldim, CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Window::getInheritedMetricsMode(), CEGUI::Inherited, PixelAligned, CEGUI::Relative, and CEGUI::Window::setWindowSize().

void CEGUI::Window::setSize const Size size  )  [inherited]
 

Set the current size of the Window. Interpretation of the input value size is dependant upon the current metrics system set for the Window.

Parameters:
size Size object that describes the new dimensions for the window, in units consistent with whatever metrics mode is in operation.
Returns:
Nothing

Definition at line 886 of file CEGUIWindow.cpp.

References CEGUI::Window::getMetricsMode().

Referenced by CEGUI::ListHeader::createInitialisedSegment(), CEGUI::ScrollablePane::initialise(), CEGUI::Tooltip::onTextChanged(), CEGUI::TabControl::performChildWindowLayout(), CEGUI::Window::setHeight(), CEGUI::Tooltip::setTargetWindow(), and CEGUI::Window::setWidth().

void CEGUI::Window::setText const String text  )  [inherited]
 

Set the current text string for the Window.

Parameters:
text String object containing the text that is to be set as the Window text.
Returns:
Nothing

Definition at line 854 of file CEGUIWindow.cpp.

References CEGUI::Window::d_text, and CEGUI::Window::onTextChanged().

Referenced by CEGUI::ListHeader::createInitialisedSegment(), CEGUI::Combobox::droplist_SelectionAcceptedHandler(), CEGUI::Combobox::editbox_TextChangedEventHandler(), CEGUI::Editbox::handleBackspace(), CEGUI::TabControl::handleContentWindowTextChanged(), CEGUI::Editbox::handleDelete(), CEGUI::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 CEGUI::Window::setTooltipText().

void CEGUI::StaticText::setTextColours const colour col  )  [inline]
 

Sets the colour to be applied when rendering the text.

Parameters:
col colour value to be used when rendering.
Returns:
Nothing.

Definition at line 221 of file CEGUIStaticText.h.

void CEGUI::StaticText::setTextColours const colour top_left_colour,
const colour top_right_colour,
const colour bottom_left_colour,
const colour bottom_right_colour
 

Sets the colours to be applied when rendering the text.

Parameters:
top_left_colour Colour to be applied to the top-left corner of each text glyph rendered.
top_right_colour Colour to be applied to the top-right corner of each text glyph rendered.
bottom_left_colour Colour to be applied to the bottom-left corner of each text glyph rendered.
bottom_right_colour Colour to be applied to the bottom-right corner of each text glyph rendered.
Returns:
Nothing.

Definition at line 83 of file CEGUIStaticText.cpp.

References CEGUI::ColourRect::d_bottom_left, CEGUI::ColourRect::d_bottom_right, d_textCols, CEGUI::ColourRect::d_top_left, CEGUI::ColourRect::d_top_right, and CEGUI::Window::requestRedraw().

void CEGUI::StaticText::setTextColours const ColourRect colours  ) 
 

Sets the colours to be applied when rendering the text.

Parameters:
colours ColourRect object describing the colours to be used for each text glyph rendered.
Returns:
Nothing.

Definition at line 73 of file CEGUIStaticText.cpp.

References d_textCols, and CEGUI::Window::requestRedraw().

void CEGUI::Window::setTooltip Tooltip tooltip  )  [inherited]
 

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.

Parameters:
tooltip Pointer to a valid Tooltip based object which should be used as the tooltip for this Window, or NULL to indicate that the Window should use the system default Tooltip object. Note that when passing a pointer to a Tooltip object, ownership of the Tooltip does not pass to this Window object.
Returns:
Nothing.

Definition at line 3055 of file CEGUIWindow.cpp.

References CEGUI::Window::d_customTip, CEGUI::Window::d_weOwnTip, CEGUI::WindowManager::destroyWindow(), and CEGUI::WindowManager::getSingleton().

void CEGUI::Window::setTooltipText const String tip  )  [inherited]
 

Set the tooltip text for this window.

Parameters:
tip String object holding the text to be displayed in the tooltip for this Window.
Returns:
Nothing.

Definition at line 3097 of file CEGUIWindow.cpp.

References CEGUI::Window::d_tooltipText, CEGUI::Tooltip::getTargetWindow(), CEGUI::Window::getTooltip(), and CEGUI::Window::setText().

Referenced by CEGUI::Listbox::onMouseMove().

void CEGUI::Window::setTooltipType const String tooltipType  )  [inherited]
 

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.

Parameters:
tooltipType String object holding the name of the Tooltip based Window type which should be used as the Tooltip for this Window.
Returns:
Nothing.

Definition at line 3066 of file CEGUIWindow.cpp.

References CEGUI::WindowManager::createWindow(), CEGUI::Window::d_customTip, CEGUI::Window::d_weOwnTip, CEGUI::WindowManager::destroyWindow(), CEGUI::String::empty(), CEGUI::Window::getName(), and CEGUI::WindowManager::getSingleton().

void CEGUI::Window::setUserData void *  user_data  )  [inline, inherited]
 

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.

Parameters:
user_data pointer to the user data that is to be set for this window.
Returns:
Nothing.

Definition at line 1800 of file CEGUIWindow.h.

void CEGUI::Window::setUserString const String name,
const String value
[inherited]
 

Sets the value a named user string, creating it as required.

Parameters:
name String object holding the name of the string to be returned.
value String object holding the value to be assigned to the user string.
Returns:
Nothing.

Definition at line 3412 of file CEGUIWindow.cpp.

References CEGUI::Window::d_userStrings.

void CEGUI::Window::setVerticalAlignment const VerticalAlignment  alignment  )  [inherited]
 

Set the vertical alignment.

Modifies the vertical alignment for the window. This setting affects how the windows position is interpreted relative to its parent.

Parameters:
alignment One of the VerticalAlignment enumerated values.
Returns:
Nothing.

Definition at line 3312 of file CEGUIWindow.cpp.

References CEGUI::Window::d_vertAlign, and CEGUI::Window::onVerticalAlignmentChanged().

Referenced by CEGUI::WidgetComponent::create().

void CEGUI::StaticText::setVerticalFormatting VertFormatting  v_fmt  ) 
 

Set the formatting required for the text.

Parameters:
v_fmt One of the VertFormatting enumerated values specifying the formatting required.
Returns:
Nothing

Definition at line 107 of file CEGUIStaticText.cpp.

References d_vertFormatting, and CEGUI::Window::requestRedraw().

void CEGUI::StaticText::setVerticalScrollbarEnabled bool  setting  ) 
 

Set whether the vertical scroll bar will be shown if needed.

Parameters:
setting 
  • true if the vertical scroll bar should be shown if needed (top or bottom aligned formatting only).
  • false if the vertical scroll bar should never be shown (default behaviour).

Definition at line 392 of file CEGUIStaticText.cpp.

References configureScrollbars(), d_enableVertScrollbar, and CEGUI::Window::performChildWindowLayout().

void CEGUI::Window::setVisible bool  setting  )  [inherited]
 

Set whether the Window is visible or hidden.

Parameters:
setting true to make the Window visible, or false to make the Window hidden
Returns:
Nothing

Definition at line 787 of file CEGUIWindow.cpp.

References CEGUI::Window::d_visible, CEGUI::Window::onHidden(), and CEGUI::Window::onShown().

Referenced by CEGUI::TabControl::addTab(), CEGUI::ScrollablePane::configureScrollbars(), CEGUI::TabControl::selectTab_impl(), CEGUI::FrameWindow::setCloseButtonEnabled(), and CEGUI::FrameWindow::setTitleBarEnabled().

void CEGUI::Window::setWantsMultiClickEvents bool  setting  )  [inherited]
 

Set whether this window will receive multi-click events or multiple 'down' events instead.

Parameters:
setting 
  • true if the Window will receive double-click and triple-click events.
  • false if the Window will receive multiple mouse button down events instead of double/triple click events.
Returns:
Nothing.

Definition at line 2831 of file CEGUIWindow.cpp.

References CEGUI::Window::d_wantsMultiClicks.

Referenced by CEGUI::Spinner::initialise(), and CEGUI::MenuItem::MenuItem().

void CEGUI::Window::setWidth MetricsMode  mode,
float  width
[inherited]
 

set the width of the Window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
width float value that specifies the width of the Window using the specified MetricsMode.
Returns:
Nothing.

Definition at line 2646 of file CEGUIWindow.cpp.

References CEGUI::Window::getHeight(), and CEGUI::Window::setSize().

void CEGUI::Window::setWidth float  width  )  [inherited]
 

Set the current width of the Window. Interpretation of the input value width is dependant upon the current metrics system set for the Window.

Parameters:
width float value that specifies the new width for the window, in units consistent with whatever metrics mode is in operation.
Returns:
Nothing

Definition at line 866 of file CEGUIWindow.cpp.

References CEGUI::Window::getHeight(), and CEGUI::Window::setSize().

Referenced by CEGUI::TabControl::calculateTabButtonSizePosition().

void CEGUI::Window::setWindowArea const URect area  )  [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
area URect describing the new area rectangle of the window area.

Definition at line 3216 of file CEGUIWindow.cpp.

References CEGUI::URect::d_min, CEGUI::URect::getSize(), and CEGUI::Window::setWindowArea().

void CEGUI::Window::setWindowArea const UVector2 pos,
const UVector2 size
[inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
pos UVector2 describing the new position (top-left corner) of the window area.
size UVector2 describing the new size of the window area.

Definition at line 3211 of file CEGUIWindow.cpp.

References CEGUI::Window::setWindowArea_impl().

void CEGUI::Window::setWindowArea const UDim xpos,
const UDim ypos,
const UDim width,
const UDim height
[inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
xpos UDim describing the new x co-ordinate (left edge) of the window area.
ypos UDim describing the new y co-ordinate (top-edge) of the window area.
width UDim describing the new width of the window area.
height UDim describing the new height of the window area.

Definition at line 3206 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::setRect(), CEGUI::Window::setWindowArea(), CEGUI::Window::setWindowMaxSize(), and CEGUI::Window::setWindowMinSize().

void CEGUI::Window::setWindowArea_impl const UVector2 pos,
const UVector2 size,
bool  topLeftSizing = false,
bool  fireEvents = true
[protected, inherited]
 

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

  • true to indicate the the operation is a sizing operation on the top and/or left edges of the area, and so window movement should be inhibited if size is at max or min.
  • false to indicate the operation is not a strict sizing operation on the top and/or left edges and that the window position may change as required

/param fireEvents

  • true if events should be fired as normal.
  • false to inhibit firing of events (required, for example, if you need to call this from the onSize/onMove handlers).

Definition at line 3149 of file CEGUIWindow.cpp.

References CEGUI::UVector2::asAbsolute(), CEGUI::Vector2::asSize(), CEGUI::Window::d_area, CEGUI::Size::d_height, CEGUI::Window::d_maxSize, CEGUI::URect::d_min, CEGUI::Window::d_minSize, CEGUI::Window::d_pixelSize, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getParentSize(), CEGUI::System::getRenderer(), CEGUI::System::getSingleton(), CEGUI::Renderer::getSize(), CEGUI::Window::onMoved(), CEGUI::Window::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(), CEGUI::Window::onParentSized(), CEGUI::Window::setWindowArea(), CEGUI::Window::setWindowHeight(), CEGUI::Window::setWindowPosition(), CEGUI::Window::setWindowSize(), CEGUI::Window::setWindowWidth(), CEGUI::Window::setWindowXPosition(), and CEGUI::Window::setWindowYPosition().

void CEGUI::Window::setWindowHeight const UDim height  )  [inherited]
 

Set the window's height.

Sets the height of the area occupied by this window.

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
height UDim describing the new height of the window area.

Definition at line 3246 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::UVector2::d_x, CEGUI::URect::getPosition(), CEGUI::URect::getSize(), and CEGUI::Window::setWindowArea_impl().

void CEGUI::Window::setWindowMaxSize const UVector2 size  )  [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
size UVector2 describing the new maximum size of the window area.

Definition at line 3251 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::Window::d_maxSize, and CEGUI::Window::setWindowArea().

Referenced by CEGUI::Window::setMaximumSize().

void CEGUI::Window::setWindowMinSize const UVector2 size  )  [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
size UVector2 describing the new minimum size of the window area.

Definition at line 3259 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::Window::d_minSize, and CEGUI::Window::setWindowArea().

Referenced by CEGUI::Window::setMinimumSize().

void CEGUI::Window::setWindowPosition const UVector2 pos  )  [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
pos UVector2 describing the new position (top-left corner) of the window area.

Definition at line 3221 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::URect::getSize(), and CEGUI::Window::setWindowArea_impl().

Referenced by CEGUI::FrameWindow::offsetPixelPosition(), and CEGUI::Window::setPosition().

void CEGUI::Window::setWindowSize const UVector2 size  )  [inherited]
 

Set the window's size.

Sets the size of the area occupied by this window.

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
size UVector2 describing the new size of the window area.

Definition at line 3236 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::URect::getPosition(), and CEGUI::Window::setWindowArea_impl().

Referenced by CEGUI::Window::setSize().

void CEGUI::Window::setWindowWidth const UDim width  )  [inherited]
 

Set the window's width.

Sets the width of the area occupied by this window.

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
width UDim describing the new width of the window area.

Definition at line 3241 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::UVector2::d_y, CEGUI::URect::getPosition(), CEGUI::URect::getSize(), and CEGUI::Window::setWindowArea_impl().

void CEGUI::Window::setWindowXPosition const UDim x  )  [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
x UDim describing the new x position of the window area.

Definition at line 3226 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::URect::d_min, CEGUI::UVector2::d_y, CEGUI::URect::getSize(), and CEGUI::Window::setWindowArea_impl().

void CEGUI::Window::setWindowYPosition const UDim y  )  [inherited]
 

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).

Note:
This method makes use of "Unified Dimensions". These contain both parent relative and absolute pixel components, which are used in determining the final value used.
Parameters:
y UDim describing the new y position of the window area.

Definition at line 3231 of file CEGUIWindow.cpp.

References CEGUI::Window::d_area, CEGUI::URect::d_min, CEGUI::UVector2::d_x, CEGUI::URect::getSize(), and CEGUI::Window::setWindowArea_impl().

void CEGUI::Window::setXPosition MetricsMode  mode,
float  x
[inherited]
 

set the x position of the window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
x float value that specifies the x position of the Window relative to it's parent, using the specified MetricsMode.
Returns:
Nothing.

Definition at line 2607 of file CEGUIWindow.cpp.

References CEGUI::Window::getYPosition(), and CEGUI::Window::setPosition().

void CEGUI::Window::setXPosition float  x  )  [inherited]
 

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.

Parameters:
x float value that specifies the new x postion of the Window, in units consistent with the current metrics mode.
Returns:
Nothing

Definition at line 897 of file CEGUIWindow.cpp.

References CEGUI::Window::getYPosition(), and CEGUI::Window::setPosition().

Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), and CEGUI::Thumb::setHorzRange().

void CEGUI::Window::setYPosition MetricsMode  mode,
float  y
[inherited]
 

set the y position of the window using the specified metrics system.

Parameters:
mode One of the MetricsMode enumerated values specifying the metrics system to be used for the return value.
y float value that specifies the y position of the Window relative to it's parent, using the specified MetricsMode.
Returns:
Nothing.

Definition at line 2616 of file CEGUIWindow.cpp.

References CEGUI::Window::getXPosition(), and CEGUI::Window::setPosition().

void CEGUI::Window::setYPosition float  y  )  [inherited]
 

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.

Parameters:
y float value that specifies the new y postion of the Window, in units consistent with the current metrics mode.
Returns:
Nothing

Definition at line 908 of file CEGUIWindow.cpp.

References CEGUI::Window::getXPosition(), and CEGUI::Window::setPosition().

Referenced by CEGUI::TabControl::calculateTabButtonSizePosition(), and CEGUI::Thumb::setVertRange().

void CEGUI::Window::setZOrderingEnabled bool  setting  )  [inherited]
 

Set whether z-order changes are enabled or disabled for this Window.

Parameters:
setting 
  • true if z-order changes are enabled for this window. moveToFront/moveToBack work normally as expected.
  • false: z-order changes are disabled for this window. moveToFront/moveToBack are ignored for this window.
Returns:
Nothing.

Definition at line 2807 of file CEGUIWindow.cpp.

References CEGUI::Window::d_zOrderingEnabled.

void CEGUI::Window::show void   )  [inline, inherited]
 

show the Window

Returns:
Nothing

Definition at line 1333 of file CEGUIWindow.h.

Referenced by configureScrollbars(), CEGUI::MultiLineEditbox::configureScrollbars(), CEGUI::MultiColumnList::configureScrollbars(), CEGUI::Listbox::configureScrollbars(), CEGUI::PopupMenu::openPopupMenu(), CEGUI::Combobox::showDropList(), and CEGUI::Tooltip::switchToFadeInState().

Event::Connection CEGUI::EventSet::subscribeEvent const String name,
Event::Group  group,
Event::Subscriber  subscriber
[virtual, inherited]
 

Subscribes the specified group of the named Event.

Parameters:
name String object containing the name of the Event to subscribe to.
group Group which is to be subscribed to. Subscription groups are called in ascending order.
subscriber Function or object that is to be subscribed to the Event.
Returns:
Connection object that can be used to check the status of the Event connection and to disconnect (unsubscribe) from the Event.
Exceptions:
UnknownObjectException Thrown if an Event named name is not in the EventSet

Reimplemented in CEGUI::GlobalEventSet.

Definition at line 145 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::d_events.

Event::Connection CEGUI::EventSet::subscribeEvent const String name,
Event::Subscriber  subscriber
[virtual, inherited]
 

Subscribes the named Event.

Parameters:
name String object containing the name of the Event to subscribe to.
subscriber Function or object that is to be subscribed to the Event.
Returns:
Connection object that can be used to check the status of the Event connection and to disconnect (unsubscribe) from the Event.
Exceptions:
UnknownObjectException Thrown if an Event named name is not in the EventSet

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(), 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().

Event::Connection CEGUI::EventSet::subscribeScriptedEvent const String name,
Event::Group  group,
const String subscriber_name
[virtual, inherited]
 

Subscribes the specified group of the named Event to a scripted funtion.

Parameters:
name String object containing the name of the Event to subscribe to.
group Group which is to be subscribed to. Subscription groups are called in ascending order.
subscriber_name String object containing the name of the script funtion that is to be subscribed to the Event.
Returns:
Connection object that can be used to check the status of the Event connection and to disconnect (unsubscribe) from the Event.
Exceptions:
UnknownObjectException Thrown if an Event named name is not in the EventSet

Definition at line 120 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::subscribeEvent().

Event::Connection CEGUI::EventSet::subscribeScriptedEvent const String name,
const String subscriber_name
[virtual, inherited]
 

Subscribes the named Event to a scripted funtion.

Parameters:
name String object containing the name of the Event to subscribe to.
subscriber_name String object containing the name of the script funtion that is to be subscribed to the Event.
Returns:
Connection object that can be used to check the status of the Event connection and to disconnect (unsubscribe) from the Event.
Exceptions:
UnknownObjectException Thrown if an Event named name is not in the EventSet

Definition at line 111 of file CEGUIEventSet.cpp.

References CEGUI::EventSet::subscribeEvent().

bool CEGUI::Window::testClassName const String class_name  )  const [inline, inherited]
 

Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.

Parameters:
class_name The class name that is to be checked.
Returns:
true if this window was inherited from class_name. false if not.

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().

virtual bool CEGUI::StaticText::testClassName_impl const String class_name  )  const [inline, protected, virtual]
 

Return whether this window was inherited from the given class name at some point in the inheritance heirarchy.

Parameters:
class_name The class name that is to be checked.
Returns:
true if this window was inherited from class_name. false if not.

Reimplemented from CEGUI::Static.

Definition at line 335 of file CEGUIStaticText.h.

References CEGUI::Static::testClassName_impl().

Rect CEGUI::Window::unifiedToAbsolute const URect val  )  const [inherited]
 

Convert the given area from unfied to absolute metrics.

Parameters:
val URect object describing the area specified in unified dimensions relative to this Window.
Returns:
A Rect object describing an absolute metric area that is equivalent to val, given the Window objects current size.

Definition at line 1711 of file CEGUIWindow.cpp.

References CEGUI::URect::asAbsolute(), and CEGUI::Window::d_pixelSize.

Vector2 CEGUI::Window::unifiedToAbsolute const UVector2 val  )  const [inherited]
 

Convert the given UVector2 value from unified to absolute metrics.

Parameters:
val UVector2 object that describes a position specified in unified dimensions relative to this Window (so {{0, 0}, {0, 0}) is this windows top-left corner).
Returns:
A Vector2 object describing a absolute metric point that is equivalent to val, given the Window objects current size.

Definition at line 1703 of file CEGUIWindow.cpp.

References CEGUI::UVector2::asAbsolute(), and CEGUI::Window::d_pixelSize.

float CEGUI::Window::unifiedToAbsoluteX const UDim val  )  const [inherited]
 

Convert the given X co-ordinate from unified to absolute metrics.

Parameters:
val X co-ordinate specified as a UDim relative to this Window (so {0, 0} is this windows left edge).
Returns:
An absolute metric value that is equivalent to val, given the Window objects current width.

Definition at line 1687 of file CEGUIWindow.cpp.

References CEGUI::UDim::asAbsolute(), CEGUI::Window::d_pixelSize, and CEGUI::Size::d_width.

float CEGUI::Window::unifiedToAbsoluteY const UDim val  )  const [inherited]
 

Convert the given Y co-ordinate from unified to absolute metrics.

Parameters:
val Y co-ordinate specified in as a UDim relative to this Window (so {0, 0} is this windows top edge).
Returns:
An absolute metric value that is equivalent to val, given the Window objects current height.

Definition at line 1695 of file CEGUIWindow.cpp.

References CEGUI::UDim::asAbsolute(), CEGUI::Size::d_height, and CEGUI::Window::d_pixelSize.

Rect CEGUI::Window::unifiedToRelative const URect val  )  const [inherited]
 

Convert the given area from unfied to relative metrics.

Parameters:
val URect object describing the area specified in unified dimensions relative to this Window.
Returns:
A Rect object describing a relative metric area that is equivalent to val, given the Window objects current size.

Definition at line 1679 of file CEGUIWindow.cpp.

References CEGUI::URect::asRelative(), and CEGUI::Window::d_pixelSize.

Vector2 CEGUI::Window::unifiedToRelative const UVector2 val  )  const [inherited]
 

Convert the given UVector2 value from unified to relative metrics.

Parameters:
val UVector2 object that describes a position specified in unified dimensions relative to this Window (so {{0, 0}, {0, 0}) is this windows top-left corner).
Returns:
A Vector2 object describing a relative metric point that is equivalent to val, given the Window objects current size.

Definition at line 1671 of file CEGUIWindow.cpp.

References CEGUI::UVector2::asRelative(), and CEGUI::Window::d_pixelSize.

float CEGUI::Window::unifiedToRelativeX const UDim val  )  const [inherited]
 

Convert the given X co-ordinate from unified to relative metrics.

Parameters:
val X co-ordinate specified as a UDim relative to this Window (so {0, 0} is this windows left edge).
Returns:
A relative metric value that is equivalent to val, given the Window objects current width.

Definition at line 1655 of file CEGUIWindow.cpp.

References CEGUI::UDim::asRelative(), CEGUI::Window::d_pixelSize, and CEGUI::Size::d_width.

float CEGUI::Window::unifiedToRelativeY const UDim val  )  const [inherited]
 

Convert the given Y co-ordinate from unified to relative metrics.

Parameters:
val Y co-ordinate specified in as a UDim relative to this Window (so {0, 0} is this windows top edge).
Returns:
A relative metric value that is equivalent to val, given the Window objects current height.

Definition at line 1663 of file CEGUIWindow.cpp.

References CEGUI::UDim::asRelative(), CEGUI::Size::d_height, and CEGUI::Window::d_pixelSize.

void CEGUI::Window::update float  elapsed  )  [inherited]
 

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.

Note:
The update order is such that 'this' window is updated prior to any child windows, this is so that child windows that access the parent in their update code get the correct updated state.
Parameters:
elapsed float value indicating the number of seconds passed since the last update.
Returns:
Nothing.

Definition at line 2921 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::Window::getChildCount(), and CEGUI::Window::updateSelf().

Referenced by CEGUI::System::injectTimePulse().

void CEGUI::Static::updateRenderableFrameColours void   )  [protected, inherited]
 

update the internal RenderableFrame with currently set colours and alpha settings.

Definition at line 263 of file CEGUIStatic.cpp.

References CEGUI::Static::calculateModulatedAlphaColour(), CEGUI::ColourRect::d_bottom_left, CEGUI::ColourRect::d_bottom_right, CEGUI::Static::d_frame, CEGUI::Static::d_frameCols, CEGUI::ColourRect::d_top_left, CEGUI::ColourRect::d_top_right, CEGUI::Window::getEffectiveAlpha(), and CEGUI::RenderableElement::setColours().

Referenced by CEGUI::Static::onAlphaChanged(), and CEGUI::Static::setFrameColours().

void CEGUI::Window::updateSelf float  elapsed  )  [protected, virtual, inherited]
 

Perform actual update processing for this Window.

Parameters:
elapsed float value indicating the number of seconds elapsed since the last update call.
Returns:
Nothing.

Reimplemented in CEGUI::PopupMenu, and CEGUI::Tooltip.

Definition at line 2940 of file CEGUIWindow.cpp.

References CEGUI::Window::d_autoRepeat, CEGUI::Window::d_repeatButton, CEGUI::Window::d_repeatDelay, CEGUI::Window::d_repeatElapsed, CEGUI::Window::d_repeating, CEGUI::Window::d_repeatRate, CEGUI::Window::generateAutoRepeatEvent(), and CEGUI::NoButton.

Referenced by CEGUI::Window::update(), CEGUI::Tooltip::updateSelf(), and CEGUI::PopupMenu::updateSelf().

bool CEGUI::Window::wantsMultiClickEvents void   )  const [inherited]
 

Return whether this window will receive multi-click events or multiple 'down' events instead.

Returns:
  • true if the Window will receive double-click and triple-click events.
  • false if the Window will receive multiple mouse button down events instead of double/triple click events.

Definition at line 2821 of file CEGUIWindow.cpp.

References CEGUI::Window::d_wantsMultiClicks.

Referenced by CEGUI::System::injectMouseButtonDown().

Rect CEGUI::Window::windowToScreen const URect rect  )  const [inherited]
 

Convert a window area, specified as a URect, to a screen area.

Parameters:
rect URect object describing the area to be converted
Returns:
Rect object describing a screen area that is equivalent to window area rect.

Definition at line 1800 of file CEGUIWindow.cpp.

References CEGUI::URect::asAbsolute(), CEGUI::Size::d_height, CEGUI::Window::d_horzAlign, CEGUI::Window::d_parent, CEGUI::Window::d_pixelSize, CEGUI::Window::d_vertAlign, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getAbsolutePosition(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::Rect::offset(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and CEGUI::Window::windowToScreen().

Vector2 CEGUI::Window::windowToScreen const UVector2 vec  )  const [inherited]
 

Convert a window co-ordinate point, specified as a UVector2, to a screen relative pixel co-ordinate point.

Parameters:
vec UVector2 object describing the point to be converted
Returns:
Vector2 object describing a screen co-ordinate position that is equivalent to window based UVector2 vec.

Definition at line 1766 of file CEGUIWindow.cpp.

References CEGUI::UVector2::asAbsolute(), CEGUI::Size::d_height, CEGUI::Window::d_horzAlign, CEGUI::Window::d_parent, CEGUI::Window::d_pixelSize, CEGUI::Window::d_vertAlign, CEGUI::Size::d_width, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getAbsolutePosition(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and CEGUI::Window::windowToScreen().

Rect CEGUI::Window::windowToScreen const Rect rect  )  const [inherited]
 

Convert a window area, specified in whichever metrics mode is active, to a screen area.

Parameters:
rect Rect object describing the area to be converted
Returns:
Rect object describing a screen area that is equivalent to window area rect.

Definition at line 1507 of file CEGUIWindow.cpp.

References CEGUI::Window::d_horzAlign, CEGUI::Window::d_parent, CEGUI::Window::d_vertAlign, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getAbsoluteXPosition(), CEGUI::Window::getAbsoluteYPosition(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::Rect::offset(), CEGUI::Relative, CEGUI::Window::relativeToAbsolute(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and CEGUI::Window::windowToScreen().

Size CEGUI::Window::windowToScreen const Size sze  )  const [inherited]
 

Convert a window size value, specified in whichever metrics mode is active, to a size in pixels.

Parameters:
sze Size object describing the size to be converted
Returns:
Size object describing describing a size in pixels that is equivalent to the window based size sze.

Definition at line 1489 of file CEGUIWindow.cpp.

References CEGUI::Size::d_height, CEGUI::Size::d_width, CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getMetricsMode(), and CEGUI::Relative.

Point CEGUI::Window::windowToScreen const Point pt  )  const [inherited]
 

Convert a window co-ordinate position, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate position.

Parameters:
pt Point object describing the position to be converted
Returns:
Point object describing a screen co-ordinate position that is equivalent to window co-ordinate position pt.

Definition at line 1438 of file CEGUIWindow.cpp.

References CEGUI::Window::d_horzAlign, CEGUI::Window::d_parent, CEGUI::Window::d_vertAlign, CEGUI::Vector2::d_x, CEGUI::Vector2::d_y, CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getAbsoluteXPosition(), CEGUI::Window::getAbsoluteYPosition(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::Relative, CEGUI::Window::relativeToAbsolute(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and CEGUI::Window::windowToScreen().

Referenced by CEGUI::Window::getUnclippedPixelRect(), and CEGUI::Window::windowToScreen().

float CEGUI::Window::windowToScreenX const UDim x  )  const [inherited]
 

Convert a window co-ordinate value, specified as a UDim, to a screen relative pixel co-ordinate.

Parameters:
x UDim x co-ordinate value to be converted
Returns:
float value describing a pixel screen co-ordinate that is equivalent to window UDim co-ordinate x.

Definition at line 1720 of file CEGUIWindow.cpp.

References CEGUI::UDim::asAbsolute(), CEGUI::Window::d_horzAlign, CEGUI::Window::d_parent, CEGUI::Window::d_pixelSize, CEGUI::Size::d_width, CEGUI::Window::getAbsoluteXPosition(), CEGUI::Window::getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, and CEGUI::Window::windowToScreenX().

float CEGUI::Window::windowToScreenX float  x  )  const [inherited]
 

Convert a window co-ordinate value, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate.

Parameters:
x x co-ordinate value to be converted
Returns:
float value describing a pixel screen co-ordinate that is equivalent to window co-ordinate x.

Definition at line 1362 of file CEGUIWindow.cpp.

References CEGUI::Window::d_horzAlign, CEGUI::Window::d_parent, CEGUI::Window::getAbsoluteWidth(), CEGUI::Window::getAbsoluteXPosition(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getParentWidth(), CEGUI::HA_CENTRE, CEGUI::HA_RIGHT, CEGUI::Relative, CEGUI::Window::relativeToAbsoluteX(), and CEGUI::Window::windowToScreenX().

Referenced by CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowX(), and CEGUI::Window::windowToScreenX().

float CEGUI::Window::windowToScreenY const UDim y  )  const [inherited]
 

Convert a window co-ordinate value, specified as a UDim, to a screen relative pixel co-ordinate.

Parameters:
y UDim y co-ordinate value to be converted
Returns:
float value describing a screen co-ordinate that is equivalent to window UDim co-ordinate y.

Definition at line 1743 of file CEGUIWindow.cpp.

References CEGUI::UDim::asAbsolute(), CEGUI::Size::d_height, CEGUI::Window::d_parent, CEGUI::Window::d_pixelSize, CEGUI::Window::d_vertAlign, CEGUI::Window::getAbsoluteYPosition(), CEGUI::Window::getParentHeight(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and CEGUI::Window::windowToScreenY().

float CEGUI::Window::windowToScreenY float  y  )  const [inherited]
 

Convert a window co-ordinate value, specified in whichever metrics mode is active, to a screen relative pixel co-ordinate.

Parameters:
y y co-ordinate value to be converted
Returns:
float value describing a screen co-ordinate that is equivalent to window co-ordinate y.

Definition at line 1400 of file CEGUIWindow.cpp.

References CEGUI::Window::d_parent, CEGUI::Window::d_vertAlign, CEGUI::Window::getAbsoluteHeight(), CEGUI::Window::getAbsoluteYPosition(), CEGUI::Window::getMetricsMode(), CEGUI::Window::getParentHeight(), CEGUI::Relative, CEGUI::Window::relativeToAbsoluteY(), CEGUI::VA_BOTTOM, CEGUI::VA_CENTRE, and CEGUI::Window::windowToScreenY().

Referenced by CEGUI::Window::screenToWindow(), CEGUI::Window::screenToWindowY(), and CEGUI::Window::windowToScreenY().

int CEGUI::Window::writeChildWindowsXML OutStream out_stream  )  const [protected, virtual, inherited]
 

Reimplemented in CEGUI::TabControl.

Definition at line 3457 of file CEGUIWindow.cpp.

References CEGUI::Window::d_children, CEGUI::String::find(), CEGUI::Window::getChildCount(), CEGUI::Window::getName(), CEGUI::String::npos, and CEGUI::Window::writeXMLToStream().

Referenced by CEGUI::TabControl::writeChildWindowsXML(), and CEGUI::Window::writeXMLToStream().

int CEGUI::Window::writePropertiesXML OutStream out_stream  )  const [protected, virtual, inherited]
 

Reimplemented in CEGUI::MultiColumnList.

Definition at line 3437 of file CEGUIWindow.cpp.

References CEGUI::PropertySet::getIterator().

Referenced by CEGUI::MultiColumnList::writePropertiesXML(), and CEGUI::Window::writeXMLToStream().

void CEGUI::Window::writeXMLToStream OutStream out_stream  )  const [virtual, inherited]
 

Writes an xml representation of this window object to out_stream.

Parameters:
out_stream Stream where xml data should be output.
Returns:
Nothing.

Definition at line 3417 of file CEGUIWindow.cpp.

References CEGUI::WindowManager::GeneratedWindowNameBase, CEGUI::Window::getName(), CEGUI::Window::getType(), CEGUI::Window::writeChildWindowsXML(), and CEGUI::Window::writePropertiesXML().

Referenced by CEGUI::Window::writeChildWindowsXML(), CEGUI::TabControl::writeChildWindowsXML(), and CEGUI::WindowManager::writeWindowLayoutToStream().


Friends And Related Function Documentation

friend class System [friend, inherited]
 

Definition at line 3047 of file CEGUIWindow.h.


Member Data Documentation

WindowProperties::AbsoluteHeight CEGUI::Window::d_absHeightProperty [static, protected, inherited]
 

Definition at line 49 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AbsoluteMaxSize CEGUI::Window::d_absMaxSizeProperty [static, protected, inherited]
 

Definition at line 50 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AbsoluteMinSize CEGUI::Window::d_absMinSizeProperty [static, protected, inherited]
 

Definition at line 51 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AbsolutePosition CEGUI::Window::d_absPositionProperty [static, protected, inherited]
 

Definition at line 52 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AbsoluteRect CEGUI::Window::d_absRectProperty [static, protected, inherited]
 

Definition at line 53 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AbsoluteSize CEGUI::Window::d_absSizeProperty [static, protected, inherited]
 

Definition at line 54 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AbsoluteWidth CEGUI::Window::d_absWidthProperty [static, protected, inherited]
 

Definition at line 55 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AbsoluteXPosition CEGUI::Window::d_absXPosProperty [static, protected, inherited]
 

Definition at line 56 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AbsoluteYPosition CEGUI::Window::d_absYPosProperty [static, protected, inherited]
 

Definition at line 57 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::Window::d_active [protected, inherited]
 

true when Window is the active Window (receiving inputs).

Definition at line 3712 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getActiveChild(), CEGUI::Window::isActive(), CEGUI::Window::onActivated(), CEGUI::Window::onDeactivated(), and CEGUI::Window::Window().

float CEGUI::Window::d_alpha [protected, inherited]
 

Alpha transparency setting for the Window.

Definition at line 3692 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getEffectiveAlpha(), CEGUI::DragContainer::initialiseDragging(), CEGUI::PopupMenu::onAlphaChanged(), CEGUI::DragContainer::onAlphaChanged(), CEGUI::DragContainer::onDragAlphaChanged(), CEGUI::Window::setAlpha(), and CEGUI::Window::Window().

WindowProperties::Alpha CEGUI::Window::d_alphaProperty [static, protected, inherited]
 

Definition at line 58 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::Window::d_alwaysOnTop [protected, inherited]
 

true if Window will be drawn on top of all other Windows

Definition at line 3715 of file CEGUIWindow.h.

Referenced by CEGUI::Window::setAlwaysOnTop(), and CEGUI::Window::Window().

WindowProperties::AlwaysOnTop CEGUI::Window::d_alwaysOnTopProperty [static, protected, inherited]
 

Definition at line 59 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

URect CEGUI::Window::d_area [protected, inherited]
 

This Window objects area as defined by a URect.

Definition at line 3693 of file CEGUIWindow.h.

Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::Window::getWindowArea(), CEGUI::Window::getWindowHeight(), CEGUI::Window::getWindowPosition(), CEGUI::Window::getWindowSize(), CEGUI::Window::getWindowWidth(), CEGUI::Window::getWindowXPosition(), CEGUI::Window::getWindowYPosition(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::FrameWindow::offsetPixelPosition(), CEGUI::Window::onParentSized(), CEGUI::Window::setWindowArea_impl(), CEGUI::Window::setWindowHeight(), CEGUI::Window::setWindowMaxSize(), CEGUI::Window::setWindowMinSize(), CEGUI::Window::setWindowPosition(), CEGUI::Window::setWindowSize(), CEGUI::Window::setWindowWidth(), CEGUI::Window::setWindowXPosition(), CEGUI::Window::setWindowYPosition(), and CEGUI::Window::Window().

bool CEGUI::Window::d_autoRepeat [protected, inherited]
 

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 CEGUI::Window::isMouseAutoRepeatEnabled(), CEGUI::Window::onMouseButtonDown(), CEGUI::Window::setMouseAutoRepeatEnabled(), CEGUI::Window::updateSelf(), and CEGUI::Window::Window().

WindowProperties::AutoRepeatDelay CEGUI::Window::d_autoRepeatDelayProperty [static, protected, inherited]
 

Definition at line 90 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::MouseButtonDownAutoRepeat CEGUI::Window::d_autoRepeatProperty [static, protected, inherited]
 

Definition at line 89 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::AutoRepeatRate CEGUI::Window::d_autoRepeatRateProperty [static, protected, inherited]
 

Definition at line 91 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

const Image* CEGUI::Static::d_background [protected, inherited]
 

Image to use for widget background.

Definition at line 412 of file CEGUIStatic.h.

Referenced by CEGUI::Static::getBackgroundImage(), CEGUI::Static::populateRenderCache(), and CEGUI::Static::setBackgroundImage().

ColourRect CEGUI::Static::d_backgroundCols [protected, inherited]
 

Colours to use when drawing background.

Definition at line 411 of file CEGUIStatic.h.

Referenced by CEGUI::Static::populateRenderCache(), and CEGUI::Static::setBackgroundColours().

bool CEGUI::Static::d_backgroundEnabled [protected, inherited]
 

true when the background is enabled.

Definition at line 410 of file CEGUIStatic.h.

Referenced by CEGUI::Static::populateRenderCache(), CEGUI::Static::setBackgroundColours(), CEGUI::Static::setBackgroundEnabled(), and CEGUI::Static::setBackgroundImage().

float CEGUI::Static::d_bottom_height [protected, inherited]
 

Height of the bottom edge image for the current frame.

Definition at line 418 of file CEGUIStatic.h.

Referenced by getTextRenderArea(), CEGUI::Static::getUnclippedInnerRect(), CEGUI::Static::populateRenderCache(), CEGUI::Static::setFrameImages(), and CEGUI::Static::setImageForFrameLocation().

Window * CEGUI::Window::d_captureWindow = NULL [static, protected, inherited]
 

Window that has captured inputs.

Definition at line 112 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::activate(), CEGUI::Window::captureInput(), and CEGUI::Window::releaseInput().

ChildList CEGUI::Window::d_children [protected, inherited]
 

The list of child Window objects attached to this.

Definition at line 3681 of file CEGUIWindow.h.

Referenced by CEGUI::Window::addChild_impl(), CEGUI::Window::cleanupChildren(), CEGUI::Window::getChild(), CEGUI::Window::isChild(), CEGUI::Window::onAlphaChanged(), CEGUI::Window::onDeactivated(), CEGUI::Window::onDisabled(), CEGUI::Window::onEnabled(), CEGUI::Window::onSized(), CEGUI::Window::onZChange_impl(), CEGUI::Window::removeChild_impl(), CEGUI::Window::removeChildWindow(), CEGUI::Window::setRestoreCapture(), CEGUI::Window::update(), and CEGUI::Window::writeChildWindowsXML().

bool CEGUI::Window::d_clippedByParent [protected, inherited]
 

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(), CEGUI::Window::setClippedByParent(), and CEGUI::Window::Window().

WindowProperties::ClippedByParent CEGUI::Window::d_clippedByParentProperty [static, protected, inherited]
 

Definition at line 60 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

Tooltip* CEGUI::Window::d_customTip [protected, inherited]
 

Possible custom Tooltip for this window.

Definition at line 3733 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getTooltip(), CEGUI::Window::getTooltipType(), CEGUI::Window::isUsingDefaultTooltip(), CEGUI::Window::setTooltip(), CEGUI::Window::setTooltipType(), and CEGUI::Window::Window().

bool CEGUI::Window::d_destroyedByParent [protected, inherited]
 

true when Window will be auto-destroyed by parent.

Definition at line 3714 of file CEGUIWindow.h.

Referenced by CEGUI::Window::setDestroyedByParent(), and CEGUI::Window::Window().

WindowProperties::DestroyedByParent CEGUI::Window::d_destroyedByParentProperty [static, protected, inherited]
 

Definition at line 61 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::Disabled CEGUI::Window::d_disabledProperty [static, protected, inherited]
 

Definition at line 62 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::Window::d_distCapturedInputs [protected, inherited]
 

true if unhandled captured inputs should be distributed to child windows.

Definition at line 3720 of file CEGUIWindow.h.

Referenced by CEGUI::Window::distributesCapturedInputs(), CEGUI::Window::setDistributesCapturedInputs(), and CEGUI::Window::Window().

WindowProperties::DistributeCapturedInputs CEGUI::Window::d_distInputsProperty [static, protected, inherited]
 

Definition at line 92 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

ChildList CEGUI::Window::d_drawList [protected, inherited]
 

Child window objects arranged in rendering order.

Definition at line 3682 of file CEGUIWindow.h.

Referenced by CEGUI::Window::addWindowToDrawList(), CEGUI::Window::getActiveChild(), CEGUI::Window::getActiveSibling(), CEGUI::Window::getChildAtPosition(), CEGUI::Window::removeWindowFromDrawList(), and CEGUI::Window::render().

bool CEGUI::Window::d_enabled [protected, inherited]
 

true when Window is enabled

Definition at line 3710 of file CEGUIWindow.h.

Referenced by CEGUI::Window::isDisabled(), CEGUI::Window::onDisabled(), CEGUI::DragContainer::onDragPositionChanged(), CEGUI::Window::onEnabled(), CEGUI::Window::setEnabled(), and CEGUI::Window::Window().

bool CEGUI::StaticText::d_enableHorzScrollbar [protected]
 

true if horizontal scroll bar is enabled.

Definition at line 386 of file CEGUIStaticText.h.

Referenced by configureScrollbars(), isHorizontalScrollbarEnabled(), and setHorizontalScrollbarEnabled().

bool CEGUI::StaticText::d_enableVertScrollbar [protected]
 

true if vertical scroll bar is enabled.

Definition at line 385 of file CEGUIStaticText.h.

Referenced by configureScrollbars(), isVerticalScrollbarEnabled(), and setVerticalScrollbarEnabled().

EventMap CEGUI::EventSet::d_events [protected, inherited]
 

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().

String CEGUI::Window::d_falagardType [protected, inherited]
 

Type name of the window as defined in a Falagard mapping.

Definition at line 3939 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getType(), and CEGUI::Window::setLookNFeel().

const Font* CEGUI::Window::d_font [protected, inherited]
 

Holds pointer to the Window objects current Font.

Definition at line 3689 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getFont(), CEGUI::Window::setFont(), and CEGUI::Window::Window().

WindowProperties::Font CEGUI::Window::d_fontProperty [static, protected, inherited]
 

Definition at line 63 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

RenderableFrame CEGUI::Static::d_frame [protected, inherited]
 

Frame object used for rendering a frame for the static element.

Definition at line 409 of file CEGUIStatic.h.

Referenced by CEGUI::Static::getImageForFrameLocation(), CEGUI::Static::onSized(), CEGUI::Static::populateRenderCache(), CEGUI::Static::setFrameImages(), CEGUI::Static::setImageForFrameLocation(), and CEGUI::Static::updateRenderableFrameColours().

ColourRect CEGUI::Static::d_frameCols [protected, inherited]
 

Used to store frame colours.

Definition at line 408 of file CEGUIStatic.h.

Referenced by CEGUI::Static::setFrameColours(), and CEGUI::Static::updateRenderableFrameColours().

bool CEGUI::Static::d_frameEnabled [protected, inherited]
 

True when the frame is enabled.

Definition at line 407 of file CEGUIStatic.h.

Referenced by getTextRenderArea(), CEGUI::Static::getUnclippedInnerRect(), CEGUI::Static::populateRenderCache(), CEGUI::Static::setFrameColours(), CEGUI::Static::setFrameEnabled(), and CEGUI::Static::setFrameImages().

WindowProperties::Height CEGUI::Window::d_heightProperty [static, protected, inherited]
 

Definition at line 64 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

HorizontalAlignment CEGUI::Window::d_horzAlign [protected, inherited]
 

Specifies the base for horizontal alignment.

Definition at line 3702 of file CEGUIWindow.h.

Referenced by CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::Window::setHorizontalAlignment(), CEGUI::Window::Window(), CEGUI::Window::windowToScreen(), and CEGUI::Window::windowToScreenX().

WindowProperties::HorizontalAlignment CEGUI::Window::d_horzAlignProperty [static, protected, inherited]
 

Definition at line 98 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

HorzFormatting CEGUI::StaticText::d_horzFormatting [protected]
 

Horizontal formatting to be applied to the text.

Definition at line 380 of file CEGUIStaticText.h.

Referenced by configureScrollbars(), populateRenderCache(), setFormatting(), and setHorizontalFormatting().

Scrollbar* CEGUI::StaticText::d_horzScrollbar [protected]
 

Widget used as horizontal scrollbar;.

Definition at line 384 of file CEGUIStaticText.h.

Referenced by configureScrollbars(), getTextRenderArea(), initialise(), onMouseWheel(), and populateRenderCache().

uint CEGUI::Window::d_ID [protected, inherited]
 

User ID assigned to this Window.

Definition at line 3691 of file CEGUIWindow.h.

Referenced by CEGUI::Window::setID(), and CEGUI::Window::Window().

WindowProperties::ID CEGUI::Window::d_IDProperty [static, protected, inherited]
 

Definition at line 65 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::Window::d_inheritsAlpha [protected, inherited]
 

true if the Window inherits alpha from the parent Window

Definition at line 3716 of file CEGUIWindow.h.

Referenced by CEGUI::Window::setInheritsAlpha(), and CEGUI::Window::Window().

WindowProperties::InheritsAlpha CEGUI::Window::d_inheritsAlphaProperty [static, protected, inherited]
 

Definition at line 66 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::Window::d_inheritsTipText [protected, inherited]
 

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 CEGUI::Window::getTooltipText(), CEGUI::Window::inheritsTooltipText(), CEGUI::Window::setInheritsTooltipText(), and CEGUI::Window::Window().

WindowProperties::InheritsTooltipText CEGUI::Window::d_inheritsTooltipProperty [static, protected, inherited]
 

Definition at line 95 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

float CEGUI::Static::d_left_width [protected, inherited]
 

Width of the left edge image for the current frame.

Definition at line 415 of file CEGUIStatic.h.

Referenced by getTextRenderArea(), CEGUI::Static::getUnclippedInnerRect(), CEGUI::Static::populateRenderCache(), CEGUI::Static::setFrameImages(), and CEGUI::Static::setImageForFrameLocation().

String CEGUI::Window::d_lookName [protected, inherited]
 

Name of the Look assigned to this window (if any).

Definition at line 3742 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getLookNFeel(), CEGUI::Window::performChildWindowLayout(), and CEGUI::Window::setLookNFeel().

UVector2 CEGUI::Window::d_maxSize [protected, inherited]
 

current maximum size for the window.

Definition at line 3707 of file CEGUIWindow.h.

Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::Window::getMaximumSize(), CEGUI::Window::getWindowMaxSize(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::setWindowArea_impl(), CEGUI::Window::setWindowMaxSize(), and CEGUI::Window::Window().

MetricsMode CEGUI::Window::d_metricsMode [protected, inherited]
 

Holds the active metrics mode for this window.

Definition at line 3685 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getMetricsMode(), CEGUI::Window::setMetricsMode(), and CEGUI::Window::Window().

WindowProperties::MetricsMode CEGUI::Window::d_metricsModeProperty [static, protected, inherited]
 

Definition at line 67 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

UVector2 CEGUI::Window::d_minSize [protected, inherited]
 

current minimum size for the window.

Definition at line 3706 of file CEGUIWindow.h.

Referenced by CEGUI::ListHeaderSegment::doDragSizing(), CEGUI::Window::getMinimumSize(), CEGUI::Window::getWindowMinSize(), CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveLeftEdge(), CEGUI::FrameWindow::moveRightEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::setWindowArea_impl(), CEGUI::Window::setWindowMinSize(), and CEGUI::Window::Window().

const Image* CEGUI::Window::d_mouseCursor [protected, inherited]
 

Holds pointer to the Window objects current mouse cursor image.

Definition at line 3695 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getMouseCursor(), CEGUI::Window::setMouseCursor(), and CEGUI::Window::Window().

WindowProperties::MouseCursorImage CEGUI::Window::d_mouseCursorProperty [static, protected, inherited]
 

Definition at line 68 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::EventSet::d_muted [protected, inherited]
 

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().

const String CEGUI::Window::d_name [protected, inherited]
 

The name of the window (GUI system unique).

Definition at line 3938 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getChild(), CEGUI::ScrollablePane::initialise(), and CEGUI::Window::setLookNFeel().

bool CEGUI::Window::d_needsRedraw [mutable, protected, inherited]
 

true if window image cache needs to be regenerated.

Definition at line 3739 of file CEGUIWindow.h.

Referenced by CEGUI::Window::drawSelf(), CEGUI::Window::requestRedraw(), and CEGUI::Window::Window().

Window* CEGUI::Window::d_oldCapture [protected, inherited]
 

The Window that previously had capture (used for restoreOldCapture mode).

Definition at line 3687 of file CEGUIWindow.h.

Referenced by CEGUI::Window::captureInput(), CEGUI::Window::onCaptureLost(), and CEGUI::Window::releaseInput().

Window* CEGUI::Window::d_parent [protected, inherited]
 

Holds pointer to the parent window.

Definition at line 3688 of file CEGUIWindow.h.

Referenced by CEGUI::RadioButton::deselectOtherButtonsInGroup(), CEGUI::Window::destroy(), CEGUI::Window::doRiseOnClick(), CEGUI::Window::getActiveSibling(), CEGUI::Window::getEffectiveAlpha(), CEGUI::Window::getInheritedMetricsMode(), CEGUI::Window::getInnerRect(), CEGUI::Window::getParentHeight(), CEGUI::Window::getParentSize(), CEGUI::Window::getParentWidth(), CEGUI::Window::getPixelRect(), CEGUI::RadioButton::getSelectedButtonInGroup(), CEGUI::Window::getTooltipText(), CEGUI::ScrolledContainer::getUnclippedInnerRect(), CEGUI::Window::isActive(), CEGUI::Window::isAncestor(), CEGUI::Window::isDisabled(), CEGUI::Window::isVisible(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront_impl(), CEGUI::Titlebar::onFontChanged(), CEGUI::Titlebar::onMouseButtonDown(), CEGUI::Titlebar::onMouseDoubleClicked(), CEGUI::Titlebar::onMouseMove(), CEGUI::Thumb::onMouseMove(), CEGUI::Window::onZChange_impl(), CEGUI::Window::setAlwaysOnTop(), CEGUI::Window::setEnabled(), CEGUI::Window::setParent(), CEGUI::Tooltip::switchToInactiveState(), CEGUI::Window::Window(), CEGUI::Window::windowToScreen(), CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY().

Size CEGUI::Window::d_pixelSize [protected, inherited]
 

Current constrained pixel size of the window.

Definition at line 3694 of file CEGUIWindow.h.

Referenced by CEGUI::TextItem::populateRenderCache(), CEGUI::Window::setWindowArea_impl(), CEGUI::Window::unifiedToAbsolute(), CEGUI::Window::unifiedToAbsoluteX(), CEGUI::Window::unifiedToAbsoluteY(), CEGUI::Window::unifiedToRelative(), CEGUI::Window::unifiedToRelativeX(), CEGUI::Window::unifiedToRelativeY(), CEGUI::Window::Window(), CEGUI::Window::windowToScreen(), CEGUI::Window::windowToScreenX(), and CEGUI::Window::windowToScreenY().

WindowProperties::Position CEGUI::Window::d_positionProperty [static, protected, inherited]
 

Definition at line 69 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::Rect CEGUI::Window::d_rectProperty [static, protected, inherited]
 

Definition at line 70 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativeHeight CEGUI::Window::d_relHeightProperty [static, protected, inherited]
 

Definition at line 71 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativeMaxSize CEGUI::Window::d_relMaxSizeProperty [static, protected, inherited]
 

Definition at line 72 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativeMinSize CEGUI::Window::d_relMinSizeProperty [static, protected, inherited]
 

Definition at line 73 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativePosition CEGUI::Window::d_relPositionProperty [static, protected, inherited]
 

Definition at line 74 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativeRect CEGUI::Window::d_relRectProperty [static, protected, inherited]
 

Definition at line 75 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativeSize CEGUI::Window::d_relSizeProperty [static, protected, inherited]
 

Definition at line 76 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativeWidth CEGUI::Window::d_relWidthProperty [static, protected, inherited]
 

Definition at line 77 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativeXPosition CEGUI::Window::d_relXPosProperty [static, protected, inherited]
 

Definition at line 78 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::RelativeYPosition CEGUI::Window::d_relYPosProperty [static, protected, inherited]
 

Definition at line 79 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

RenderCache CEGUI::Window::d_renderCache [protected, inherited]
 

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(), CEGUI::Window::drawSelf(), CEGUI::TextItem::populateRenderCache(), populateRenderCache(), CEGUI::StaticImage::populateRenderCache(), CEGUI::Static::populateRenderCache(), CEGUI::MultiColumnList::populateRenderCache(), and CEGUI::Listbox::populateRenderCache().

MouseButton CEGUI::Window::d_repeatButton [protected, inherited]
 

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 CEGUI::Window::onCaptureLost(), CEGUI::Window::onMouseButtonDown(), CEGUI::Window::onMouseButtonUp(), CEGUI::Window::setMouseAutoRepeatEnabled(), CEGUI::Window::updateSelf(), and CEGUI::Window::Window().

float CEGUI::Window::d_repeatDelay [protected, inherited]
 

seconds before first repeat event is fired

Definition at line 3725 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getAutoRepeatDelay(), CEGUI::Window::setAutoRepeatDelay(), CEGUI::Window::updateSelf(), and CEGUI::Window::Window().

float CEGUI::Window::d_repeatElapsed [protected, inherited]
 

implements repeating - tracks time elapsed.

Definition at line 3728 of file CEGUIWindow.h.

Referenced by CEGUI::Window::onMouseButtonDown(), and CEGUI::Window::updateSelf().

bool CEGUI::Window::d_repeating [protected, inherited]
 

implements repeating - is true after delay has elapsed,

Definition at line 3727 of file CEGUIWindow.h.

Referenced by CEGUI::Window::onMouseButtonDown(), CEGUI::Window::updateSelf(), and CEGUI::Window::Window().

float CEGUI::Window::d_repeatRate [protected, inherited]
 

secons between further repeats after delay has expired.

Definition at line 3726 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getAutoRepeatRate(), CEGUI::Window::setAutoRepeatRate(), CEGUI::Window::updateSelf(), and CEGUI::Window::Window().

bool CEGUI::Window::d_restoreOldCapture [protected, inherited]
 

true if the Window restores capture to the previous window when it releases capture.

Definition at line 3717 of file CEGUIWindow.h.

Referenced by CEGUI::Window::captureInput(), CEGUI::Window::onCaptureLost(), CEGUI::Window::releaseInput(), CEGUI::Window::setRestoreCapture(), and CEGUI::Window::Window().

WindowProperties::RestoreOldCapture CEGUI::Window::d_restoreOldCaptureProperty [static, protected, inherited]
 

Definition at line 80 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

float CEGUI::Static::d_right_width [protected, inherited]
 

Width of the right edge image for the current frame.

Definition at line 416 of file CEGUIStatic.h.

Referenced by getTextRenderArea(), CEGUI::Static::getUnclippedInnerRect(), CEGUI::Static::populateRenderCache(), CEGUI::Static::setFrameImages(), and CEGUI::Static::setImageForFrameLocation().

bool CEGUI::Window::d_riseOnClick [protected, inherited]
 

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 CEGUI::Window::doRiseOnClick(), and CEGUI::Window::Window().

WindowProperties::RiseOnClick CEGUI::Window::d_riseOnClickProperty [static, protected, inherited]
 

Definition at line 96 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::Size CEGUI::Window::d_sizeProperty [static, protected, inherited]
 

Definition at line 81 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

String CEGUI::Window::d_text [protected, inherited]
 

Holds the text / label / caption for this Window.

Definition at line 3690 of file CEGUIWindow.h.

Referenced by CEGUI::MultiLineEditbox::cacheTextLines(), 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(), populateRenderCache(), CEGUI::MultiLineEditbox::setCaratIndex(), CEGUI::Editbox::setCaratIndex(), CEGUI::MultiLineEditbox::setMaxTextLength(), CEGUI::Editbox::setMaxTextLength(), CEGUI::MultiLineEditbox::setSelection(), CEGUI::Editbox::setSelection(), and CEGUI::Window::setText().

ColourRect CEGUI::StaticText::d_textCols [protected]
 

Colours used when rendering the text.

Definition at line 382 of file CEGUIStaticText.h.

Referenced by populateRenderCache(), and setTextColours().

WindowProperties::Text CEGUI::Window::d_textProperty [static, protected, inherited]
 

Definition at line 82 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::Tooltip CEGUI::Window::d_tooltipProperty [static, protected, inherited]
 

Definition at line 94 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

String CEGUI::Window::d_tooltipText [protected, inherited]
 

Text string used as tip for this window.

Definition at line 3732 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getTooltipText(), and CEGUI::Window::setTooltipText().

WindowProperties::CustomTooltipType CEGUI::Window::d_tooltipTypeProperty [static, protected, inherited]
 

Definition at line 93 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

float CEGUI::Static::d_top_height [protected, inherited]
 

Height of the top edge image for the current frame.

Definition at line 417 of file CEGUIStatic.h.

Referenced by getTextRenderArea(), CEGUI::Static::getUnclippedInnerRect(), CEGUI::Static::populateRenderCache(), CEGUI::Static::setFrameImages(), and CEGUI::Static::setImageForFrameLocation().

const String CEGUI::Window::d_type [protected, inherited]
 

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 CEGUI::Window::getType().

WindowProperties::UnifiedAreaRect CEGUI::Window::d_unifiedAreaRectProperty [static, protected, inherited]
 

Definition at line 99 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::UnifiedHeight CEGUI::Window::d_unifiedHeightProperty [static, protected, inherited]
 

Definition at line 105 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::UnifiedMaxSize CEGUI::Window::d_unifiedMaxSizeProperty [static, protected, inherited]
 

Definition at line 107 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::UnifiedMinSize CEGUI::Window::d_unifiedMinSizeProperty [static, protected, inherited]
 

Definition at line 106 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::UnifiedPosition CEGUI::Window::d_unifiedPositionProperty [static, protected, inherited]
 

Definition at line 100 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::UnifiedSize CEGUI::Window::d_unifiedSizeProperty [static, protected, inherited]
 

Definition at line 103 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::UnifiedWidth CEGUI::Window::d_unifiedWidthProperty [static, protected, inherited]
 

Definition at line 104 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::UnifiedXPosition CEGUI::Window::d_unifiedXPositionProperty [static, protected, inherited]
 

Definition at line 101 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::UnifiedYPosition CEGUI::Window::d_unifiedYPositionProperty [static, protected, inherited]
 

Definition at line 102 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

void* CEGUI::Window::d_userData [protected, inherited]
 

Holds pointer to some user assigned data.

Definition at line 3696 of file CEGUIWindow.h.

Referenced by CEGUI::Window::Window().

UserStringMap CEGUI::Window::d_userStrings [protected, inherited]
 

Holds a collection of named user string values.

Definition at line 3699 of file CEGUIWindow.h.

Referenced by CEGUI::Window::getUserString(), CEGUI::Window::isUserStringDefined(), and CEGUI::Window::setUserString().

VerticalAlignment CEGUI::Window::d_vertAlign [protected, inherited]
 

Specifies the base for vertical alignment.

Definition at line 3703 of file CEGUIWindow.h.

Referenced by CEGUI::FrameWindow::moveBottomEdge(), CEGUI::FrameWindow::moveTopEdge(), CEGUI::Window::setVerticalAlignment(), CEGUI::Window::Window(), CEGUI::Window::windowToScreen(), and CEGUI::Window::windowToScreenY().

WindowProperties::VerticalAlignment CEGUI::Window::d_vertAlignProperty [static, protected, inherited]
 

Definition at line 97 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

VertFormatting CEGUI::StaticText::d_vertFormatting [protected]
 

Vertical formatting to be applied to the text.

Definition at line 381 of file CEGUIStaticText.h.

Referenced by populateRenderCache(), setFormatting(), and setVerticalFormatting().

Scrollbar* CEGUI::StaticText::d_vertScrollbar [protected]
 

Widget used as vertical scrollbar;.

Definition at line 383 of file CEGUIStaticText.h.

Referenced by configureScrollbars(), getTextRenderArea(), initialise(), onMouseWheel(), and populateRenderCache().

bool CEGUI::Window::d_visible [protected, inherited]
 

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 CEGUI::Window::isVisible(), CEGUI::Window::setVisible(), and CEGUI::Window::Window().

WindowProperties::Visible CEGUI::Window::d_visibleProperty [static, protected, inherited]
 

Definition at line 83 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::Window::d_wantsMultiClicks [protected, inherited]
 

true if the Window wishes to hear about multi-click mouse events.

Definition at line 3719 of file CEGUIWindow.h.

Referenced by CEGUI::Window::setWantsMultiClickEvents(), CEGUI::Window::wantsMultiClickEvents(), and CEGUI::Window::Window().

WindowProperties::WantsMultiClickEvents CEGUI::Window::d_wantsMultiClicksProperty [static, protected, inherited]
 

Definition at line 88 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::Window::d_weOwnTip [protected, inherited]
 

true if this Window created the custom Tooltip.

Definition at line 3734 of file CEGUIWindow.h.

Referenced by CEGUI::Window::setTooltip(), CEGUI::Window::setTooltipType(), and CEGUI::Window::Window().

WindowProperties::Width CEGUI::Window::d_widthProperty [static, protected, inherited]
 

Definition at line 84 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::XPosition CEGUI::Window::d_xPosProperty [static, protected, inherited]
 

Definition at line 85 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::YPosition CEGUI::Window::d_yPosProperty [static, protected, inherited]
 

Definition at line 86 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

WindowProperties::ZOrderChangeEnabled CEGUI::Window::d_zOrderChangeProperty [static, protected, inherited]
 

Definition at line 87 of file CEGUIWindow.cpp.

Referenced by CEGUI::Window::addStandardProperties().

bool CEGUI::Window::d_zOrderingEnabled [protected, inherited]
 

true if the Window responds to z-order change requests.

Definition at line 3718 of file CEGUIWindow.h.

Referenced by CEGUI::Window::isZOrderingEnabled(), CEGUI::Window::moveToBack(), CEGUI::Window::moveToFront_impl(), CEGUI::Window::setZOrderingEnabled(), and CEGUI::Window::Window().

const String CEGUI::Window::EventActivated [static, inherited]
 

Window has been activated (has input focus).

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onActivated().

const String CEGUI::Window::EventAlphaChanged [static, inherited]
 

Alpha blend value for the Window has changed.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onAlphaChanged().

const String CEGUI::Window::EventAlwaysOnTopChanged [static, inherited]
 

Always on top mode has been modified.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onAlwaysOnTopChanged().

const String CEGUI::Window::EventCharacterKey [static, inherited]
 

A text character was typed on the keyboard.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onCharacter().

const String CEGUI::Window::EventChildAdded [static, inherited]
 

A child Window has been added.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onChildAdded().

const String CEGUI::Window::EventChildRemoved [static, inherited]
 

A child window has been removed.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onChildRemoved().

const String CEGUI::Window::EventClippedByParentChanged [static, inherited]
 

Clipping by parent mode has been modified.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onClippingChanged().

const String CEGUI::Window::EventDeactivated [static, inherited]
 

Window has been deactivated (loses input focus).

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDeactivated().

const String CEGUI::Window::EventDestroyedByParentChanged [static, inherited]
 

Destruction by parent mode has been modified.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onParentDestroyChanged().

const String CEGUI::Window::EventDestructionStarted [static, inherited]
 

Destruction of the Window is about to begin.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDestructionStarted().

const String CEGUI::Window::EventDisabled [static, inherited]
 

Window has been disabled (interaction is no longer possible).

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDisabled().

const String CEGUI::Window::EventDragDropItemDropped [static, inherited]
 

A DragContainer was dropped on this Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDragDropItemDropped().

const String CEGUI::Window::EventDragDropItemEnters [static, inherited]
 

A DragContainer has been dragged over this window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDragDropItemEnters().

const String CEGUI::Window::EventDragDropItemLeaves [static, inherited]
 

A DragContainer has left this window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onDragDropItemLeaves().

const String CEGUI::Window::EventEnabled [static, inherited]
 

Window has been enabled (interaction is possible).

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onEnabled().

const String CEGUI::Window::EventFontChanged [static, inherited]
 

Font object for the Window has been changed.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onFontChanged().

const String CEGUI::Window::EventHidden [static, inherited]
 

Window has been hidden from view.

Referenced by CEGUI::Window::addStandardEvents(), CEGUI::Combobox::initialise(), and CEGUI::Window::onHidden().

const String CEGUI::Window::EventHorizontalAlignmentChanged [static, inherited]
 

The vertical alignment of the window has changed.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onHorizontalAlignmentChanged().

const String CEGUI::Window::EventIDChanged [static, inherited]
 

Client assigned ID code for the Window has changed.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onIDChanged().

const String CEGUI::Window::EventInheritsAlphaChanged [static, inherited]
 

Alpha inherited from parent mode has been modified.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onInheritsAlphaChanged().

const String CEGUI::Window::EventInputCaptureGained [static, inherited]
 

Window has captured all inputs.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onCaptureGained().

const String CEGUI::Window::EventInputCaptureLost [static, inherited]
 

Window has lost it's capture on inputs.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onCaptureLost().

const String CEGUI::Window::EventKeyDown [static, inherited]
 

A key on the keyboard was pressed.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onKeyDown().

const String CEGUI::Window::EventKeyUp [static, inherited]
 

A key on the keyboard was released.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onKeyUp().

const String CEGUI::Window::EventMetricsModeChanged [static, inherited]
 

Active metrics mode has been modified.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMetricsChanged().

const String CEGUI::Window::EventMouseButtonDown [static, inherited]
 

A mouse button was pressed down within the Window.

Referenced by CEGUI::Window::addStandardEvents(), CEGUI::Spinner::initialise(), CEGUI::Scrollbar::initialise(), CEGUI::Combobox::initialise(), and CEGUI::Window::onMouseButtonDown().

const String CEGUI::Window::EventMouseButtonUp [static, inherited]
 

A mouse button was released within the Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseButtonUp().

const String CEGUI::Window::EventMouseClick [static, inherited]
 

A mouse button was clicked (down then up) within the Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseClicked().

const String CEGUI::Window::EventMouseDoubleClick [static, inherited]
 

A mouse button was double-clicked within the Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseDoubleClicked().

const String CEGUI::Window::EventMouseEnters [static, inherited]
 

Mouse cursor has entered the Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseEnters().

const String CEGUI::Window::EventMouseLeaves [static, inherited]
 

Mouse cursor has left the Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseLeaves().

const String CEGUI::Window::EventMouseMove [static, inherited]
 

Mouse cursor was moved within the area of the Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseMove().

const String CEGUI::Window::EventMouseTripleClick [static, inherited]
 

A mouse button was triple-clicked within the Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseTripleClicked().

const String CEGUI::Window::EventMouseWheel [static, inherited]
 

Mouse wheel was scrolled within the Window.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onMouseWheel().

const String CEGUI::Window::EventMoved [static, inherited]
 

Window position has changed.

Referenced by CEGUI::Window::addStandardEvents(), CEGUI::ScrolledContainer::onChildAdded(), and CEGUI::Window::onMoved().

const String CEGUI::StaticText::EventNamespace [static]
 

Namespace for global events.

Reimplemented from CEGUI::Static.

const String CEGUI::Window::EventParentSized [static, inherited]
 

Parent of this Window has been re-sized.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onParentSized().

const String CEGUI::Window::EventRenderingEnded [static, inherited]
 

Rendering for the Window has finished.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onRenderingEnded().

const String CEGUI::Window::EventRenderingStarted [static, inherited]
 

Rendering of the Window has started.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onRenderingStarted().

const String CEGUI::Window::EventShown [static, inherited]
 

Window has been made visible.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onShown().

const String CEGUI::Window::EventSized [static, inherited]
 

Window size has changed.

Referenced by CEGUI::Window::addStandardEvents(), CEGUI::ScrolledContainer::onChildAdded(), and CEGUI::Window::onSized().

const String CEGUI::Window::EventTextChanged [static, inherited]
 

Text string for the Window has changed.

Referenced by CEGUI::Window::addStandardEvents(), CEGUI::TabControl::addTab(), CEGUI::Spinner::initialise(), CEGUI::Combobox::initialise(), and CEGUI::Window::onTextChanged().

const String CEGUI::Window::EventVerticalAlignmentChanged [static, inherited]
 

The vertical alignment of the window has changed.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onVerticalAlignmentChanged().

const String CEGUI::Window::EventZOrderChanged [static, inherited]
 

The z-order of the window has changed.

Referenced by CEGUI::Window::addStandardEvents(), and CEGUI::Window::onZChanged().


The documentation for this class was generated from the following files:
Generated on Wed Sep 7 10:09:30 2005 for Crazy Eddies GUI System by  doxygen 1.4.3