Planeshift
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes

PawsManager Class Reference

Main PlaneShift Window manager. More...

#include <pawsmanager.h>

List of all members.

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.
pawsWidgetCreateWidget (const char *factoryName)
 Create a new widget.
pawsWidgetCreateWidget (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.
MathEnvironmentExtraScriptVars ()
pawsWidgetFindWidget (const char *name, bool complain=true)
 Locate a widget by name.
pawsWidgetGetCurrentFocusedWidget ()
 Returns the widget that is focused.
pawsWidgetGetDragDropWidget ()
 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.
psLocalizationGetLocalization ()
 Returns the psLocalization object:
pawsMainWidgetGetMainWidget ()
 Returns the main widget.
pawsWidgetGetModalWidget ()
 Returns modal widget.
pawsMouseGetMouse ()
 Returns the mouse.
iObjectRegistry * GetObjectRegistry ()
 Returns the object registry.
pawsPrefManagerGetPrefs ()
 Returns the prefrence manager.
iPawsImageGetResizeImage ()
 Returns the resize button image.
iSoundManager * GetSoundManager ()
 Gets the soundManager.
pawsTextureManagerGetTextureManager ()
 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.
pawsWidgetLoadWidget (iDocumentNode *widgetNode)
 Loads a widget from given XML node.
pawsWidgetLoadWidgetFromString (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

pawsWidgetcurrentFocusedWidget
 The last widget that the mouse clicked on. ( Hence the focused one ).
pawsWidgetdragDropWidget
 The widget that is drag'n'dropped across the screen by the mouse.
MathEnvironment extraScriptVars
csPDelArray< pawsWidgetFactoryfactories
 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.
pawsWidgetlastfadeWidget
 The actual widget that was last faded.
psLocalizationlocalization
 Localized file object registry.
pawsMainWidgetmainWidget
 The main handler widget.
pawsWidgetmodalWidget
 Current modal widget.
pawsMousemouse
 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.
pawsWidgetmouseoverWidget
 The last widget that the mouse moved over. ( For alpha fade effects ).
csEventID MouseUp
 Shortcut for event mouse up.
pawsWidgetmovingWidget
 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;.
pawsPrefManagerprefs
 The preference/default manager.
bool render2texture
 Whether to use r2t for the gui.
csRef< iPawsImageresizeImg
 Resized image.
int resizingFlags
 The resize flags.
pawsWidgetresizingWidget
 Holds the widget that is being resized.
csRef< iSoundManager > soundManager
 planeshift's sound manager
pawsStylesstyles
 PAWS style definitions.
PAWSSubscriptionsHash subscriptions
 Table of subscriptions.
pawsTextureManagertextureManager
 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.

Detailed Description

Main PlaneShift Window manager.

Definition at line 82 of file pawsmanager.h.


Constructor & Destructor Documentation

PawsManager::PawsManager ( iObjectRegistry *  objectReg,
const char *  skin,
const char *  skinBase = NULL 
)
virtual PawsManager::~PawsManager ( ) [virtual]

Member Function Documentation

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.

See also:
pawsstyles.h
void PawsManager::CreateWarningBox ( const char *  message,
pawsWidget notify = NULL,
bool  modal = true 
)

Creates a warning box with the supplied text.

Parameters:
messageThe warning.
notifyThe widget which recevies event notifications ( i.e. Button Pressed ).
modalIf 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.

Parameters:
factoryNameThe name of the factory that is used to create a widget.
originThe original widget that will be used by copy constructor.
Returns:
A new instance of a widget if the factory was found. NULL if the widget could not be found.
pawsWidget* PawsManager::CreateWidget ( const char *  factoryName)

Create a new widget.

This creates a new widget based on the factory that is passed in.

Parameters:
factoryNameThe name of the factory that is used to create a widget.
Returns:
A new instance of a widget if the factory was found. NULL if the widget could not be found.
void PawsManager::CreateYesNoBox ( const char *  message,
pawsWidget notify = NULL,
bool  modal = true,
bool  translate = true 
)

Creates a YesNo box with the supplied text.

Parameters:
messageThe warning.
notifyThe Widget which recives event notifications (i.e. Button Pressed).
modalThe box shold be modal.
translateWhathever 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.

Parameters:
nameThe name of the widget.
complainIf 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.

Returns:
The widget being dragged.
Remarks:
Ownership of the widget goes to psPawsManager. This means that this widget must not be already owned (e.g. be child of another widget). Parameter can be NULL.
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.

Returns:
the factor for the fontsize.

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.

int PawsManager::getTooltipsColors ( int  element) [inline]

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.

Parameters:
datacsMouseEventData containing the mouse event data.
Returns:
Results of OnDoubleClick or FALSE.
bool PawsManager::HandleEvent ( iEvent &  event)

Process mouse and keyboard events.

Parameters:
eventiEvent 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.

Parameters:
eventiEvent to process.
Returns:
TRUE if a widget has focus AND the current event type is key up while hadKeyDown was set OR if OnKeyDown returns TRUE when called on the focused widget.
Remarks:
Sets hadKeyDown to result of OnKeyDown call.
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.

Parameters:
datacsMouseEventData containing the mouse event data.
Returns:
TRUE if event stops moving or resizing.
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.

Parameters:
datacsMouseEventData containing the mouse event data.
Returns:
TRUE if it moves, resizes or fades in a widget.
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.

Parameters:
datacsMouseEventData containing the mouse event data.
Returns:
Results of OnMouseUp or FALSE.
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.

Parameters:
widgetFileThe standard path of the widget to load.
loadedWidgetsAn array which will be cleared and then filled with any widgets loaded.
Returns:
False if an error occured. Note that some widgets may be loaded even if an error occurs.
See also:
psLocalization::FindLocalizedFile()
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.

Returns:
NULL on failure.
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.

Parameters:
widgetFileThe standard path of the widget to load.
See also:
psLocalization::FindLocalizedFile()
Returns:
True if the widget was loaded properly.
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.

Parameters:
widgetDefinitionThe xml, either from a file or constructed on the fly.
See also:
psLocalization::FindLocalizedFile()
Returns:
True if the widget was loaded properly.
psPoint PawsManager::MouseLocation ( iEvent &  ev) [protected]
void PawsManager::MovingWidget ( pawsWidget moving)

Let the window manager know that a widget is being moved.

Parameters:
movingThe 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.

Returns:
NULL on failure.
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.

void PawsManager::Publish ( const csString &  dataname,
unsigned int  datavalue 
)

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.

Parameters:
factoryThe 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.

Parameters:
widgetNameThe name of the widget to look for.
complainIf true it will show errors if the widget wasn't found.
Returns:
a boolean stating if the widget was found (and so removed)
void PawsManager::ResizingWidget ( pawsWidget widget,
int  flags 
)

Let the manager know that a widget is being resized.

Parameters:
widgetThe widget that is being resized.
flagsThe resize flags that this widget should be resized with.
void PawsManager::SetCurrentFocusedWidget ( pawsWidget widget)

Give this widget focus.

Parameters:
widgetThe widget to focus.
void PawsManager::SetDragDropWidget ( pawsWidget dragDropWidget)

Sets the widget that is being drag'n'dropped over screen with the mouse.

Parameters:
dragDropWidgetThe widget to drag.
Remarks:
Ownership of the widget goes to psPawsManager. This means that this widget must not be already owned (e.g. be child of another widget).
void PawsManager::SetMainWidget ( pawsMainWidget widg)

Establish main widget.

void PawsManager::SetModalWidget ( pawsWidget widget)

Make this widget modal.

Parameters:
widgetThe 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.

void PawsManager::setTooltipsColors ( int  element,
int  param 
) [inline]

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.


Member Data Documentation

The last widget that the mouse clicked on. ( Hence the focused one ).

Definition at line 496 of file pawsmanager.h.

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.

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.

Does the currentFocusedWidget take focus from the control system?

Definition at line 499 of file pawsmanager.h.

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.

The actual widget that was last faded.

Definition at line 505 of file pawsmanager.h.

Localized file object registry.

Definition at line 490 of file pawsmanager.h.

The main handler widget.

Definition at line 615 of file pawsmanager.h.

Current modal widget.

Definition at line 517 of file pawsmanager.h.

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.

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.

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.

Array of paws object view widgets;.

Definition at line 618 of file pawsmanager.h.

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.

The resize flags.

Definition at line 523 of file pawsmanager.h.

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.

PAWS style definitions.

Definition at line 672 of file pawsmanager.h.

Table of subscriptions.

Definition at line 675 of file pawsmanager.h.

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.

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.


The documentation for this class was generated from the following file: