Planeshift
|
Main PlaneShift Window manager. More...
#include <pawsmanager.h>
Public Member Functions | |
void | AddObjectView (pawsWidget *widget) |
Adds an object view to the array. | |
bool | ApplyStyle (const char *name, iDocumentNode *target) |
Applies PAWS style to XML node. | |
void | CreateWarningBox (const char *message, pawsWidget *notify=NULL, bool modal=true) |
Creates a warning box with the supplied text. | |
pawsWidget * | CreateWidget (const char *factoryName) |
Create a new widget. | |
pawsWidget * | CreateWidget (const char *factoryName, const pawsWidget *origin) |
Create a new widget using copy constructor. | |
void | CreateYesNoBox (const char *message, pawsWidget *notify=NULL, bool modal=true, bool translate=true) |
Creates a YesNo box with the supplied text. | |
void | Draw () |
Draw the main widget and the mouse last. | |
void | Draw3D () |
Draw 3D parts of the widgets. | |
MathEnvironment & | ExtraScriptVars () |
pawsWidget * | FindWidget (const char *name, bool complain=true) |
Locate a widget by name. | |
pawsWidget * | GetCurrentFocusedWidget () |
Returns the widget that is focused. | |
pawsWidget * | GetDragDropWidget () |
Gets the widget that is being drag'n'dropped over screen with the mouse. | |
iEventNameRegistry * | GetEventNameRegistry () |
Get the event name registry. | |
bool | GetFocusOverridesControls () |
Returns true if the current focused widget needs to override all controls. | |
float | GetFontFactor () |
Gets the factor the font should be adjusted by for proper fontsize based on resolution. | |
iGraphics2D * | GetGraphics2D () |
Returns the 2D renderer. | |
iGraphics3D * | GetGraphics3D () |
Returns the 3D renderer. | |
psLocalization * | GetLocalization () |
Returns the psLocalization object: | |
pawsMainWidget * | GetMainWidget () |
Returns the main widget. | |
pawsWidget * | GetModalWidget () |
Returns modal widget. | |
pawsMouse * | GetMouse () |
Returns the mouse. | |
iObjectRegistry * | GetObjectRegistry () |
Returns the object registry. | |
pawsPrefManager * | GetPrefs () |
Returns the prefrence manager. | |
iPawsImage * | GetResizeImage () |
Returns the resize button image. | |
iSoundManager * | GetSoundManager () |
Gets the soundManager. | |
pawsTextureManager * | GetTextureManager () |
Returns the texture manager. | |
bool | getToolTipEnable () |
returns tooltips enabled/disabled | |
bool | getToolTipEnableBgColor () |
returns tooltips brackground color | |
int | getTooltipsColors (int element) |
returns one element of the TooltipsColors-array | |
csString | getToolTipSkinPath () |
returns the full path to the tooltips.xml in skin.zip | |
csString & | getVFSPathToSkin () |
bool | HandleEvent (iEvent &event) |
Process mouse and keyboard events. | |
csArray< iPAWSSubscriber * > | ListSubscribers (const char *dataname) |
Return a list of all subscribers. | |
bool | LoadChildWidgets (const char *widgetFile, csArray< pawsWidget * > &loadedWidgets) |
Loads widgets from a definition file without assigning a parent. | |
bool | LoadObjectViews () |
bool | LoadSkinDefinition (const char *zip) |
Loads a skin and loades unregistered resources. | |
bool | LoadTooltips (const char *fileName) |
Loads the Tooltips config-file. | |
bool | LoadWidget (const char *widgetFile) |
Loads a widget definition file. | |
pawsWidget * | LoadWidget (iDocumentNode *widgetNode) |
Loads a widget from given XML node. | |
pawsWidget * | LoadWidgetFromString (const char *widgetDefinition) |
Loads a widget definition from a string. | |
void | MovingWidget (pawsWidget *moving) |
Let the window manager know that a widget is being moved. | |
void | OnWidgetDeleted (pawsWidget *widget) |
pawsWidget destructor calls this so PawsManager can NULLify all its links to the widget. | |
void | OnWidgetHidden (pawsWidget *widget) |
Remove focus and mouseover effect from widget if widget is hidden. | |
PawsManager (iObjectRegistry *objectReg, const char *skin, const char *skinBase=NULL) | |
void | Publish (const csString &dataname, float datavalue) |
Publish a float to all subscribers. | |
void | Publish (const csString &dataname, int datavalue) |
Publish an int to all subscribers. | |
void | Publish (const csString &dataname, bool datavalue) |
Publish a boolean value to all subscribers. | |
void | Publish (const csString &dataname) |
Publish nothing to all subscribers. (Used for one-time named signals.) | |
void | Publish (const csString &dataname, const char *datavalue, int color) |
Publish a coloured string to all subscribers. | |
void | Publish (const csString &dataname, unsigned int datavalue) |
Publish an unsigned int to all subscribers. | |
void | Publish (const csString &dataname, PAWSData &data) |
Announce a change in a named element to all subscribers. | |
void | Publish (const csString &dataname, const char *datavalue) |
Publish a string to all subscribers. | |
void | RegisterWidgetFactory (pawsWidgetFactory *factory) |
Add a new factory to the list that the manager knows about. | |
void | RemoveObjectView (pawsWidget *widget) |
Removes an object view from the array. | |
bool | RemoveWidget (const char *widgetName, bool complain) |
Remove the named widget from the mainwidget. | |
void | ResizingWidget (pawsWidget *widget, int flags) |
Let the manager know that a widget is being resized. | |
void | SetCurrentFocusedWidget (pawsWidget *widget) |
Give this widget focus. | |
void | SetDragDropWidget (pawsWidget *dragDropWidget) |
Sets the widget that is being drag'n'dropped over screen with the mouse. | |
void | SetMainWidget (pawsMainWidget *widg) |
Establish main widget. | |
void | SetModalWidget (pawsWidget *widget) |
Make this widget modal. | |
void | setToolTipEnable (bool state) |
changes tooltips enabled/disabled | |
void | setToolTipEnableBgColor (bool state) |
changes tooltips backround enabled/disabled | |
void | setTooltipsColors (int element, int param) |
transfers a value to the TooltipsColors-array | |
void | Subscribe (const char *dataname, iPAWSSubscriber *listener) |
Subscribe to a named piece of data, so updates are received automatically. | |
csString | Translate (const csString &orig) |
A shortcut - translation without need to call GetLocalization(). | |
void | UnSubscribe (iPAWSSubscriber *listener) |
Unsubscribe the given subscriber. | |
void | UseR2T (bool r2t) |
bool | UsingR2T () const |
virtual | ~PawsManager () |
Public Attributes | |
bool | ToolTipEnable |
Sets if the tooltip should be enable. | |
bool | ToolTipEnableBgColor |
Sets if the tooltip should have a bgcolor. | |
int | TooltipsColors [3] |
Array of tooltip colors. | |
Protected Member Functions | |
bool | HandleDoubleClick (csMouseEventData &data) |
Process mouse double click events. | |
bool | HandleKeyDown (iEvent &event) |
Process key down events. | |
bool | HandleMouseDown (csMouseEventData &data) |
Process mouse down events. | |
bool | HandleMouseMove (csMouseEventData &data) |
Process mouse movement events. | |
bool | HandleMouseUp (csMouseEventData &data) |
Process mouse up events. | |
psPoint | MouseLocation (iEvent &ev) |
csPtr< iDocumentNode > | ParseWidgetFile (const char *widgetFile) |
Parses given file and returns the <widget_description> tag of it. | |
void | RegisterFactories () |
Helper function to load standard factories. | |
Protected Attributes | |
pawsWidget * | currentFocusedWidget |
The last widget that the mouse clicked on. ( Hence the focused one ). | |
pawsWidget * | dragDropWidget |
The widget that is drag'n'dropped across the screen by the mouse. | |
MathEnvironment | extraScriptVars |
csPDelArray< pawsWidgetFactory > | factories |
An array of pointers to available factories. | |
bool | focusOverridesControls |
Does the currentFocusedWidget take focus from the control system? | |
float | fontFactor |
The font resizing factor for all widgets. | |
csRef< iGraphics2D > | graphics2D |
Pointer to the Crystal Space iGraphics2D renderer used to display 2D graphics. | |
csRef< iGraphics3D > | graphics3D |
Pointer to the Crystal Space iGraphics3D renderer used to display 3D graphics. | |
csRef< iTextureHandle > | guiTexture |
Render texture for gui rendering. | |
bool | hadKeyDown |
Flag for key down function. | |
csEventID | KeyboardDown |
Shortcut for event key down. | |
csEventID | KeyboardUp |
Shortcut for event key up. | |
pawsWidget * | lastfadeWidget |
The actual widget that was last faded. | |
psLocalization * | localization |
Localized file object registry. | |
pawsMainWidget * | mainWidget |
The main handler widget. | |
pawsWidget * | modalWidget |
Current modal widget. | |
pawsMouse * | mouse |
The mouse pointer. | |
csEventID | MouseDoubleClick |
Shortcut for event mouse double click. | |
csEventID | MouseDown |
Shortcut for event mouse down. | |
csEventID | MouseMove |
Shortcut for event mouse move. | |
pawsWidget * | mouseoverWidget |
The last widget that the mouse moved over. ( For alpha fade effects ). | |
csEventID | MouseUp |
Shortcut for event mouse up. | |
pawsWidget * | movingWidget |
Current widget that is being moved. | |
csRef< iEventNameRegistry > | nameRegistry |
For event parsing. | |
iObjectRegistry * | objectReg |
The object registry. | |
csArray< pawsWidget * > | objectViews |
Array of paws object view widgets;. | |
pawsPrefManager * | prefs |
The preference/default manager. | |
bool | render2texture |
Whether to use r2t for the gui. | |
csRef< iPawsImage > | resizeImg |
Resized image. | |
int | resizingFlags |
The resize flags. | |
pawsWidget * | resizingWidget |
Holds the widget that is being resized. | |
csRef< iSoundManager > | soundManager |
planeshift's sound manager | |
pawsStyles * | styles |
PAWS style definitions. | |
PAWSSubscriptionsHash | subscriptions |
Table of subscriptions. | |
pawsTextureManager * | textureManager |
The texture manager. | |
csTicks | timeOver |
The time mouse has been over the last widget. | |
int | tipDelay |
The time mouse has been over a widget before showing the tooltip. | |
csRef< iVFS > | vfs |
Pointer to the Crystal Space iVFS file system. | |
csString | vfsPathToSkin |
VFS Mount directory mapping to the specified skin zip file. | |
csRef< iDocumentSystem > | xml |
Pointer to the Crystal Space iDocumentSystem. |
Main PlaneShift Window manager.
Definition at line 82 of file pawsmanager.h.
PawsManager::PawsManager | ( | iObjectRegistry * | objectReg, |
const char * | skin, | ||
const char * | skinBase = NULL |
||
) |
virtual PawsManager::~PawsManager | ( | ) | [virtual] |
void PawsManager::AddObjectView | ( | pawsWidget * | widget | ) | [inline] |
Adds an object view to the array.
Definition at line 220 of file pawsmanager.h.
bool PawsManager::ApplyStyle | ( | const char * | name, |
iDocumentNode * | target | ||
) |
Applies PAWS style to XML node.
void PawsManager::CreateWarningBox | ( | const char * | message, |
pawsWidget * | notify = NULL , |
||
bool | modal = true |
||
) |
Creates a warning box with the supplied text.
message | The warning. |
notify | The widget which recevies event notifications ( i.e. Button Pressed ). |
modal | If the widet should be a modal one or not. |
pawsWidget* PawsManager::CreateWidget | ( | const char * | factoryName, |
const pawsWidget * | origin | ||
) |
Create a new widget using copy constructor.
This creates a new widget based on the factory that is passed in.
factoryName | The name of the factory that is used to create a widget. |
origin | The original widget that will be used by copy constructor. |
pawsWidget* PawsManager::CreateWidget | ( | const char * | factoryName | ) |
Create a new widget.
This creates a new widget based on the factory that is passed in.
factoryName | The name of the factory that is used to create a widget. |
void PawsManager::CreateYesNoBox | ( | const char * | message, |
pawsWidget * | notify = NULL , |
||
bool | modal = true , |
||
bool | translate = true |
||
) |
Creates a YesNo box with the supplied text.
message | The warning. |
notify | The Widget which recives event notifications (i.e. Button Pressed). |
modal | The box shold be modal. |
translate | Whathever the message should be translated or not. |
void PawsManager::Draw | ( | ) |
Draw the main widget and the mouse last.
void PawsManager::Draw3D | ( | ) |
Draw 3D parts of the widgets.
MathEnvironment& PawsManager::ExtraScriptVars | ( | ) | [inline] |
Definition at line 463 of file pawsmanager.h.
pawsWidget* PawsManager::FindWidget | ( | const char * | name, |
bool | complain = true |
||
) |
Locate a widget by name.
name | The name of the widget. |
complain | If true it will show errors if the widget wasn't found. |
pawsWidget* PawsManager::GetCurrentFocusedWidget | ( | ) | [inline] |
Returns the widget that is focused.
Definition at line 234 of file pawsmanager.h.
pawsWidget* PawsManager::GetDragDropWidget | ( | ) |
Gets the widget that is being drag'n'dropped over screen with the mouse.
iEventNameRegistry* PawsManager::GetEventNameRegistry | ( | ) | [inline] |
Get the event name registry.
Definition at line 125 of file pawsmanager.h.
bool PawsManager::GetFocusOverridesControls | ( | ) | [inline] |
Returns true if the current focused widget needs to override all controls.
Definition at line 240 of file pawsmanager.h.
float PawsManager::GetFontFactor | ( | ) | [inline] |
Gets the factor the font should be adjusted by for proper fontsize based on resolution.
Definition at line 350 of file pawsmanager.h.
iGraphics2D* PawsManager::GetGraphics2D | ( | ) | [inline] |
Returns the 2D renderer.
Definition at line 107 of file pawsmanager.h.
iGraphics3D* PawsManager::GetGraphics3D | ( | ) | [inline] |
Returns the 3D renderer.
Definition at line 113 of file pawsmanager.h.
psLocalization* PawsManager::GetLocalization | ( | ) | [inline] |
Returns the psLocalization object:
Definition at line 322 of file pawsmanager.h.
pawsMainWidget* PawsManager::GetMainWidget | ( | ) | [inline] |
Returns the main widget.
Definition at line 316 of file pawsmanager.h.
pawsWidget* PawsManager::GetModalWidget | ( | ) | [inline] |
Returns modal widget.
Definition at line 246 of file pawsmanager.h.
pawsMouse* PawsManager::GetMouse | ( | ) | [inline] |
Returns the mouse.
Definition at line 287 of file pawsmanager.h.
iObjectRegistry* PawsManager::GetObjectRegistry | ( | ) | [inline] |
Returns the object registry.
Definition at line 119 of file pawsmanager.h.
pawsPrefManager* PawsManager::GetPrefs | ( | ) | [inline] |
Returns the prefrence manager.
Definition at line 281 of file pawsmanager.h.
iPawsImage* PawsManager::GetResizeImage | ( | ) | [inline] |
Returns the resize button image.
Definition at line 293 of file pawsmanager.h.
iSoundManager* PawsManager::GetSoundManager | ( | ) | [inline] |
Gets the soundManager.
Definition at line 422 of file pawsmanager.h.
pawsTextureManager* PawsManager::GetTextureManager | ( | ) | [inline] |
Returns the texture manager.
Definition at line 131 of file pawsmanager.h.
bool PawsManager::getToolTipEnable | ( | ) | [inline] |
returns tooltips enabled/disabled
Definition at line 388 of file pawsmanager.h.
bool PawsManager::getToolTipEnableBgColor | ( | ) | [inline] |
returns tooltips brackground color
Definition at line 398 of file pawsmanager.h.
returns one element of the TooltipsColors-array
Definition at line 408 of file pawsmanager.h.
csString PawsManager::getToolTipSkinPath | ( | ) |
returns the full path to the tooltips.xml in skin.zip
csString& PawsManager::getVFSPathToSkin | ( | ) | [inline] |
Definition at line 468 of file pawsmanager.h.
bool PawsManager::HandleDoubleClick | ( | csMouseEventData & | data | ) | [protected] |
Process mouse double click events.
Calls OnDoubleClick on the currentFocusedWidget or widget at the event coordinates.
data | csMouseEventData containing the mouse event data. |
bool PawsManager::HandleEvent | ( | iEvent & | event | ) |
Process mouse and keyboard events.
event | iEvent to process. |
bool PawsManager::HandleKeyDown | ( | iEvent & | event | ) | [protected] |
Process key down events.
If a widget has focus it extracts the event keycode, key and modifiers and calls OnKeyDown on the focused widget.
event | iEvent to process. |
bool PawsManager::HandleMouseDown | ( | csMouseEventData & | data | ) | [protected] |
Process mouse down events.
Determines the widget at event coordinates. Calls OnMouseDown() on the currentFocusedWidget or widget at the event coordinates.
data | csMouseEventData containing the mouse event data. |
bool PawsManager::HandleMouseMove | ( | csMouseEventData & | data | ) | [protected] |
Process mouse movement events.
Determines if a widget is moving or being resized. If there is no modal widget it operates on the topmost widget at the event coordinates.
data | csMouseEventData containing the mouse event data. |
bool PawsManager::HandleMouseUp | ( | csMouseEventData & | data | ) | [protected] |
Process mouse up events.
Stops moving or resizing and turns off the corresponding flag. Calls OnMouseUp on the currentFocusedWidget or widget at the event coordinates.
data | csMouseEventData containing the mouse event data. |
csArray<iPAWSSubscriber*> PawsManager::ListSubscribers | ( | const char * | dataname | ) |
Return a list of all subscribers.
bool PawsManager::LoadChildWidgets | ( | const char * | widgetFile, |
csArray< pawsWidget * > & | loadedWidgets | ||
) |
Loads widgets from a definition file without assigning a parent.
This loads multiple widgets from XML and places pointers to the loaded widgets into the array loadedWidgets.
widgetFile | The standard path of the widget to load. |
loadedWidgets | An array which will be cleared and then filled with any widgets loaded. |
bool PawsManager::LoadObjectViews | ( | ) |
bool PawsManager::LoadSkinDefinition | ( | const char * | zip | ) |
Loads a skin and loades unregistered resources.
bool PawsManager::LoadTooltips | ( | const char * | fileName | ) |
Loads the Tooltips config-file.
pawsWidget* PawsManager::LoadWidget | ( | iDocumentNode * | widgetNode | ) |
Loads a widget from given XML node.
bool PawsManager::LoadWidget | ( | const char * | widgetFile | ) |
Loads a widget definition file.
This loads a widget from the specified XML file and adds it to the main widget.
widgetFile | The standard path of the widget to load. |
pawsWidget* PawsManager::LoadWidgetFromString | ( | const char * | widgetDefinition | ) |
Loads a widget definition from a string.
This loads a widget from an XML string and returns it to the caller.
widgetDefinition | The xml, either from a file or constructed on the fly. |
psPoint PawsManager::MouseLocation | ( | iEvent & | ev | ) | [protected] |
void PawsManager::MovingWidget | ( | pawsWidget * | moving | ) |
Let the window manager know that a widget is being moved.
moving | The widget that is currently moving. |
void PawsManager::OnWidgetDeleted | ( | pawsWidget * | widget | ) |
pawsWidget destructor calls this so PawsManager can NULLify all its links to the widget.
void PawsManager::OnWidgetHidden | ( | pawsWidget * | widget | ) |
Remove focus and mouseover effect from widget if widget is hidden.
csPtr<iDocumentNode> PawsManager::ParseWidgetFile | ( | const char * | widgetFile | ) | [protected] |
Parses given file and returns the <widget_description> tag of it.
void PawsManager::Publish | ( | const csString & | dataname, |
bool | datavalue | ||
) |
Publish a boolean value to all subscribers.
void PawsManager::Publish | ( | const csString & | dataname, |
const char * | datavalue | ||
) |
Publish a string to all subscribers.
Publish an unsigned int to all subscribers.
void PawsManager::Publish | ( | const csString & | dataname | ) |
Publish nothing to all subscribers. (Used for one-time named signals.)
void PawsManager::Publish | ( | const csString & | dataname, |
const char * | datavalue, | ||
int | color | ||
) |
Publish a coloured string to all subscribers.
void PawsManager::Publish | ( | const csString & | dataname, |
int | datavalue | ||
) |
Publish an int to all subscribers.
void PawsManager::Publish | ( | const csString & | dataname, |
PAWSData & | data | ||
) |
Announce a change in a named element to all subscribers.
void PawsManager::Publish | ( | const csString & | dataname, |
float | datavalue | ||
) |
Publish a float to all subscribers.
void PawsManager::RegisterFactories | ( | ) | [protected] |
Helper function to load standard factories.
void PawsManager::RegisterWidgetFactory | ( | pawsWidgetFactory * | factory | ) |
Add a new factory to the list that the manager knows about.
Each widget type must have it's own factory so the manager can build it based on it's name.
factory | The widget factory to add to the list. |
void PawsManager::RemoveObjectView | ( | pawsWidget * | widget | ) | [inline] |
Removes an object view from the array.
Definition at line 228 of file pawsmanager.h.
bool PawsManager::RemoveWidget | ( | const char * | widgetName, |
bool | complain | ||
) |
Remove the named widget from the mainwidget.
widgetName | The name of the widget to look for. |
complain | If true it will show errors if the widget wasn't found. |
void PawsManager::ResizingWidget | ( | pawsWidget * | widget, |
int | flags | ||
) |
Let the manager know that a widget is being resized.
widget | The widget that is being resized. |
flags | The resize flags that this widget should be resized with. |
void PawsManager::SetCurrentFocusedWidget | ( | pawsWidget * | widget | ) |
Give this widget focus.
widget | The widget to focus. |
void PawsManager::SetDragDropWidget | ( | pawsWidget * | dragDropWidget | ) |
Sets the widget that is being drag'n'dropped over screen with the mouse.
dragDropWidget | The widget to drag. |
void PawsManager::SetMainWidget | ( | pawsMainWidget * | widg | ) |
Establish main widget.
void PawsManager::SetModalWidget | ( | pawsWidget * | widget | ) |
Make this widget modal.
widget | The modal widget. |
void PawsManager::setToolTipEnable | ( | bool | state | ) | [inline] |
changes tooltips enabled/disabled
Definition at line 393 of file pawsmanager.h.
void PawsManager::setToolTipEnableBgColor | ( | bool | state | ) | [inline] |
changes tooltips backround enabled/disabled
Definition at line 403 of file pawsmanager.h.
transfers a value to the TooltipsColors-array
Definition at line 413 of file pawsmanager.h.
void PawsManager::Subscribe | ( | const char * | dataname, |
iPAWSSubscriber * | listener | ||
) |
Subscribe to a named piece of data, so updates are received automatically.
csString PawsManager::Translate | ( | const csString & | orig | ) |
A shortcut - translation without need to call GetLocalization().
void PawsManager::UnSubscribe | ( | iPAWSSubscriber * | listener | ) |
Unsubscribe the given subscriber.
void PawsManager::UseR2T | ( | bool | r2t | ) | [inline] |
Definition at line 136 of file pawsmanager.h.
bool PawsManager::UsingR2T | ( | ) | const [inline] |
Definition at line 141 of file pawsmanager.h.
pawsWidget* PawsManager::currentFocusedWidget [protected] |
The last widget that the mouse clicked on. ( Hence the focused one ).
Definition at line 496 of file pawsmanager.h.
pawsWidget* PawsManager::dragDropWidget [protected] |
The widget that is drag'n'dropped across the screen by the mouse.
If it is not NULL, it is drawn instead of mouse on its position. This widget has no parent widget (same as with pawsMainWidget)
Definition at line 653 of file pawsmanager.h.
MathEnvironment PawsManager::extraScriptVars [protected] |
Definition at line 482 of file pawsmanager.h.
csPDelArray<pawsWidgetFactory> PawsManager::factories [protected] |
An array of pointers to available factories.
Definition at line 630 of file pawsmanager.h.
bool PawsManager::focusOverridesControls [protected] |
Does the currentFocusedWidget take focus from the control system?
Definition at line 499 of file pawsmanager.h.
float PawsManager::fontFactor [protected] |
The font resizing factor for all widgets.
Definition at line 656 of file pawsmanager.h.
csRef<iGraphics2D> PawsManager::graphics2D [protected] |
Pointer to the Crystal Space iGraphics2D renderer used to display 2D graphics.
Definition at line 603 of file pawsmanager.h.
csRef<iGraphics3D> PawsManager::graphics3D [protected] |
Pointer to the Crystal Space iGraphics3D renderer used to display 3D graphics.
Definition at line 608 of file pawsmanager.h.
csRef<iTextureHandle> PawsManager::guiTexture [protected] |
Render texture for gui rendering.
Definition at line 642 of file pawsmanager.h.
bool PawsManager::hadKeyDown [protected] |
Flag for key down function.
Definition at line 639 of file pawsmanager.h.
csEventID PawsManager::KeyboardDown [protected] |
Shortcut for event key down.
Definition at line 689 of file pawsmanager.h.
csEventID PawsManager::KeyboardUp [protected] |
Shortcut for event key up.
Definition at line 691 of file pawsmanager.h.
pawsWidget* PawsManager::lastfadeWidget [protected] |
The actual widget that was last faded.
Definition at line 505 of file pawsmanager.h.
psLocalization* PawsManager::localization [protected] |
Localized file object registry.
Definition at line 490 of file pawsmanager.h.
pawsMainWidget* PawsManager::mainWidget [protected] |
The main handler widget.
Definition at line 615 of file pawsmanager.h.
pawsWidget* PawsManager::modalWidget [protected] |
Current modal widget.
Definition at line 517 of file pawsmanager.h.
pawsMouse* PawsManager::mouse [protected] |
The mouse pointer.
Definition at line 624 of file pawsmanager.h.
csEventID PawsManager::MouseDoubleClick [protected] |
Shortcut for event mouse double click.
Definition at line 685 of file pawsmanager.h.
csEventID PawsManager::MouseDown [protected] |
Shortcut for event mouse down.
Definition at line 683 of file pawsmanager.h.
csEventID PawsManager::MouseMove [protected] |
Shortcut for event mouse move.
Definition at line 681 of file pawsmanager.h.
pawsWidget* PawsManager::mouseoverWidget [protected] |
The last widget that the mouse moved over. ( For alpha fade effects ).
Definition at line 502 of file pawsmanager.h.
csEventID PawsManager::MouseUp [protected] |
Shortcut for event mouse up.
Definition at line 687 of file pawsmanager.h.
pawsWidget* PawsManager::movingWidget [protected] |
Current widget that is being moved.
Definition at line 514 of file pawsmanager.h.
csRef<iEventNameRegistry> PawsManager::nameRegistry [protected] |
For event parsing.
Definition at line 612 of file pawsmanager.h.
iObjectRegistry* PawsManager::objectReg [protected] |
The object registry.
Definition at line 598 of file pawsmanager.h.
csArray<pawsWidget*> PawsManager::objectViews [protected] |
Array of paws object view widgets;.
Definition at line 618 of file pawsmanager.h.
pawsPrefManager* PawsManager::prefs [protected] |
The preference/default manager.
Definition at line 493 of file pawsmanager.h.
bool PawsManager::render2texture [protected] |
Whether to use r2t for the gui.
Definition at line 645 of file pawsmanager.h.
csRef<iPawsImage> PawsManager::resizeImg [protected] |
Resized image.
Definition at line 627 of file pawsmanager.h.
int PawsManager::resizingFlags [protected] |
The resize flags.
Definition at line 523 of file pawsmanager.h.
pawsWidget* PawsManager::resizingWidget [protected] |
Holds the widget that is being resized.
Definition at line 520 of file pawsmanager.h.
csRef<iSoundManager> PawsManager::soundManager [protected] |
planeshift's sound manager
Definition at line 662 of file pawsmanager.h.
pawsStyles* PawsManager::styles [protected] |
PAWS style definitions.
Definition at line 672 of file pawsmanager.h.
PAWSSubscriptionsHash PawsManager::subscriptions [protected] |
Table of subscriptions.
Definition at line 675 of file pawsmanager.h.
pawsTextureManager* PawsManager::textureManager [protected] |
The texture manager.
Definition at line 621 of file pawsmanager.h.
csTicks PawsManager::timeOver [protected] |
The time mouse has been over the last widget.
Definition at line 508 of file pawsmanager.h.
int PawsManager::tipDelay [protected] |
The time mouse has been over a widget before showing the tooltip.
Definition at line 511 of file pawsmanager.h.
Sets if the tooltip should be enable.
Definition at line 380 of file pawsmanager.h.
Sets if the tooltip should have a bgcolor.
Definition at line 381 of file pawsmanager.h.
Array of tooltip colors.
Definition at line 379 of file pawsmanager.h.
csRef<iVFS> PawsManager::vfs [protected] |
Pointer to the Crystal Space iVFS file system.
Definition at line 633 of file pawsmanager.h.
csString PawsManager::vfsPathToSkin [protected] |
VFS Mount directory mapping to the specified skin zip file.
Definition at line 487 of file pawsmanager.h.
csRef<iDocumentSystem> PawsManager::xml [protected] |
Pointer to the Crystal Space iDocumentSystem.
Definition at line 636 of file pawsmanager.h.