iAws Struct Reference
[AWS]
Interface for the window manager.
More...
#include <aws.h>
Inheritance diagram for iAws:

Public Methods | |
virtual iAwsPrefManager * | GetPrefMgr ()=0 |
Get a pointer to the preference manager. | |
virtual iAwsSinkManager * | GetSinkMgr ()=0 |
Get a pointer to the sink manager. | |
virtual void | SetPrefMgr (iAwsPrefManager *pmgr)=0 |
Set the preference manager used by the window system. | |
virtual void | RegisterComponentFactory (iAwsComponentFactory *factory, const char *name)=0 |
Allows a component to register itself for dynamic template instatiation via definition files. | |
virtual iAwsComponentFactory * | FindComponentFactory (const char *name)=0 |
Find a component factory. | |
virtual iAwsComponent * | GetTopComponent ()=0 |
Get the top component. | |
virtual void | SetTopComponent (iAwsComponent *win)=0 |
Set the top component. | |
virtual iAwsComponent * | GetFocusedComponent ()=0 |
Get the focused component. | |
virtual void | SetFocusedComponent (iAwsComponent *_focused)=0 |
Set the focused component. | |
virtual iAwsComponent * | GetKeyboardFocusedComponent ()=0 |
Get the component with the keyboard focus. | |
virtual iAwsComponent * | ComponentAt (int x, int y)=0 |
Finds the smallest visible component which contains the point (x,y). | |
virtual bool | MouseInComponent (int x, int y)=0 |
Returns true if the mouse is inside any of the top-level components. | |
virtual void | Print (iGraphics3D *g3d, uint8 Alpha=0)=0 |
Causes the current view of the window system to be drawn to the given graphics device. | |
virtual void | Redraw ()=0 |
Redraw whatever portions of the screen need it. | |
virtual void | Mark (const csRect &rect)=0 |
Mark a region dirty. | |
virtual void | Unmark (const csRect &rect)=0 |
Mark a section of the screen clean. | |
virtual void | Erase (const csRect &rect)=0 |
Erase a section of the screen next round (only useful if AlwaysEraseWindows flag is set). | |
virtual void | MaskEraser (const csRect &rect)=0 |
Mask off a section that has been marked to erase. | |
virtual void | InvalidateUpdateStore ()=0 |
Tell the system to rebuild the update store. | |
virtual void | CaptureMouse (iAwsComponent *comp)=0 |
Capture all mouse events until release is called, no matter where the mouse is. | |
virtual void | ReleaseMouse ()=0 |
Release the mouse events to go where they normally would. | |
virtual void | SetModal (iAwsComponent *comp)=0 |
Set this compoment to be a modal dialog. | |
virtual void | UnSetModal ()=0 |
Set no active modal dialog. | |
virtual bool | HandleEvent (iEvent &)=0 |
Dispatches events to the proper components. | |
virtual bool | SetupCanvas (iAwsCanvas *newCanvas, iGraphics2D *g2d=0, iGraphics3D *g3d=0)=0 |
Sets up the canvas to draw on. | |
virtual iAwsCanvas * | GetCanvas ()=0 |
Get the current context. | |
virtual iGraphics2D * | G2D ()=0 |
Get the iGraphics2D interface so that components can use it. | |
virtual iGraphics3D * | G3D ()=0 |
Get the iGraphics3D interface so that components can use it. | |
virtual iAwsComponent * | CreateWindowFrom (const char *defname)=0 |
Instantiates a window based on a window definition. | |
virtual iAwsComponent * | CreateEmbeddableComponent ()=0 |
Creates a new embeddable component. | |
virtual iAwsParmList * | CreateParmList ()=0 |
Creates a new parameter list. | |
virtual void | CreateTransition (iAwsComponent *win, unsigned transition_type, csTicks duration=250)=0 |
Creates and enables a transition for a window. | |
virtual void | CreateTransitionEx (iAwsComponent *win, unsigned transition_type, csTicks duration, csRect &user)=0 |
Creates and enables a transition for a window, using a user specified start or finish (transition type defines which). | |
virtual void | SetFlag (unsigned int flags)=0 |
Sets one or more flags for different operating modes. | |
virtual void | ClearFlag (unsigned int flags)=0 |
Clears one or more flags for different operating modes. | |
virtual unsigned int | GetFlags ()=0 |
Returns the current flags flags is a combination of AWSF_*. | |
virtual iObjectRegistry * | GetObjectRegistry ()=0 |
Return object registry. | |
virtual bool | AllWindowsHidden ()=0 |
Returns true if all windows are presently hidden. | |
virtual bool | ComponentIsInTransition (iAwsComponent *win)=0 |
Checks if the specified component is currently going through a transition. |
Detailed Description
Interface for the window manager.
Definition at line 249 of file aws.h.
Member Function Documentation
|
Returns true if all windows are presently hidden.
|
|
Capture all mouse events until release is called, no matter where the mouse is.
|
|
Clears one or more flags for different operating modes.
|
|
Finds the smallest visible component which contains the point (x,y).
|
|
Checks if the specified component is currently going through a transition.
|
|
Creates a new embeddable component.
|
|
Creates a new parameter list.
|
|
Creates and enables a transition for a window.
|
|
Creates and enables a transition for a window, using a user specified start or finish (transition type defines which).
|
|
Instantiates a window based on a window definition.
|
|
Erase a section of the screen next round (only useful if AlwaysEraseWindows flag is set).
|
|
Find a component factory.
|
|
Get the iGraphics2D interface so that components can use it.
|
|
Get the iGraphics3D interface so that components can use it.
|
|
Get the current context.
|
|
Returns the current flags
|
|
Get the focused component.
|
|
Get the component with the keyboard focus.
|
|
Return object registry.
|
|
Get a pointer to the preference manager.
Referenced by awsEmbeddedComponentFactory::RegisterConstant(). |
|
Get a pointer to the sink manager.
|
|
Get the top component.
Referenced by awsEmbeddedComponent::Create(). |
|
Dispatches events to the proper components.
|
|
Tell the system to rebuild the update store.
|
|
Mark a region dirty.
|
|
Mask off a section that has been marked to erase. This part won't be erased. |
|
Returns true if the mouse is inside any of the top-level components.
|
|
Causes the current view of the window system to be drawn to the given graphics device.
|
|
Redraw whatever portions of the screen need it.
|
|
Allows a component to register itself for dynamic template instatiation via definition files.
Referenced by awsEmbeddedComponentFactory::Register(). |
|
Release the mouse events to go where they normally would.
|
|
Sets one or more flags for different operating modes.
|
|
Set the focused component.
|
|
Set this compoment to be a modal dialog.
|
|
Set the preference manager used by the window system.
|
|
Set the top component.
Referenced by awsEmbeddedComponent::Create(). |
|
Sets up the canvas to draw on.
|
|
Mark a section of the screen clean.
|
|
Set no active modal dialog.
|
The documentation for this struct was generated from the following file:
- iaws/aws.h
Generated for Crystal Space by doxygen 1.2.18