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

pawsWidget Class Reference

The main base widget that all other widgets should inherit from. More...

#include <pawswidget.h>

List of all members.

Classes

class  iWidgetData
 A class that can be inherited to store extra data in a widget. More...

Public Member Functions

void AddChild (pawsWidget *widget)
 Add a child widget to this widget.
void AddChild (size_t Index, pawsWidget *widget)
 Add a child widget to this widget at a specified position.
virtual void BringToTop (pawsWidget *widget)
 Move this widget up the z order to the top.
virtual double CalcFunction (MathEnvironment *env, const char *functionName, const double *params)
virtual void CenterTo (int x, int y)
 Move this widget so that its center is at given location.
virtual void CenterToMouse ()
 Move this widget so that its center is at mouse pointer, but it is fully on screen.
void ChangeFontSize (float newSize)
 Change font to new size and reload font to make it take effect.
virtual bool CheckButtonPressed (int button, int modifiers, pawsWidget *pressedWidget)
 Test button for activity.
virtual bool CheckButtonReleased (int button, int modifiers, pawsWidget *pressedWidget)
 Test button for activity.
virtual bool CheckKeyHandled (int)
 Allow pawsButton to simulate button pushes based on keypresses.
void ClearBackgroundColor ()
void ClearMaskingImage ()
 Clears the masking image.
csRect ClipRect ()
 This returns the current clipping rectangle.
void ClipToParent (bool allowForBackgroundBorder)
 Determines clipping area to use.
virtual void Close ()
 Simply calls Hide() unless overidden.
virtual bool Contains (int x, int y)
 Determines if the coordinates are within this widget.
virtual void CreateWidgetConfigWindow ()
 Creates a popup window that the user can use to adjust the settings of this window.
virtual void DeleteChild (pawsWidget *widget)
 Removes the widget from list of children and destructs it.
void DeleteYourself ()
 Removes and destructs itself.
virtual void DestroyWidgetConfigWindow ()
 Called by ApplyAlphaOnChildren to remove the config window to prevent weird stuff.
virtual void Draw ()
 Draws the widget and all of it's children.
virtual void Draw3D (iGraphics3D *)
virtual void DrawBackground ()
 Draws the background with a color or an image.
virtual void DrawChildren ()
 Draws all children marked visible.
void DrawForeground ()
 Does the second part of the drawing drawing the background of the window.
virtual void DrawMask ()
 Draws the mask picture.
virtual void DrawToolTip (int x, int y)
 This draws the tool tip if a widget is visible and a tool tip is available.
void DrawWidgetText (const char *text, int x, int y, int style=-1)
 Draw text in the widget at specified location.
bool DrawWindow ()
 Does the first part of the drawing.
virtual void Dump (csString tab="")
 Prints the widget names for the widget and all it's children.
const char * FindDefaultWidgetStyle (const char *factoryName)
pawsWidgetFindWidget (const char *name, bool complain=true)
 Find a child widget of this widget.
pawsWidgetFindWidget (int id, bool complain=true)
 Find a child widget of this widget.
pawsWidgetFindWidgetXMLBinding (const char *xmlbinding)
 Find a child widget of this widget with the given XML binding.
void FormatToolTip (const char *fmt,...)
 Changes the format of a tool tip.
int GetActualHeight (int myValue=-1)
 Returns the actual Height assuming the passed value was in 800x600 resolution.
int GetActualWidth (int myValue=-1)
 Returns the actual width assuming the passed value was in 800x600 resolution.
csString GetBackground ()
 Retrieve the background image name.
virtual pawsBorderGetBorder ()
 This returns the border created by UseBorder().
virtual int GetBorderColour (int which)
 Get the color for this widgets border.
virtual int GetBorderStyle ()
 This returns the BORDER_BUMP style.
pawsWidgetGetChild (size_t i)
 Used if you need to loop through the children of a widget.
size_t GetChildrenCount ()
 Used if you need to loop through the children of a widget.
const char * GetCloseName ()
 Returns the closeName of this widget.
virtual csRect GetDefaultFrame ()
 Returns the default csRect.
iWidgetDataGetExtraData ()
 Grabs extra data stored in the widget.
float GetFadeSpeed ()
 Gets the fading speed.
int GetFadeVal ()
 Gets the fade value of this widget.
const char * GetFilename ()
 Returns the filename.
virtual bool GetFocusOverridesControls () const
 Test if the widget should intercept all key presses.
iFont * GetFont (bool scaled=true)
 Gets the current font as an iFont.
virtual int GetFontColour ()
 Gets the current font color.
int GetFontShadowColour ()
 Gets the current shadow color.
float GetFontSize ()
 Gets the current font size.
int GetFontStyle ()
 Gets the current font style.
int GetID ()
 Gets the id of a widget.
int GetLogicalHeight (int myValue)
int GetLogicalWidth (int myValue)
int GetMaxAlpha ()
 Gets the maximum alpha value of this widget.
int GetMinAlpha ()
 Gets the minimim alpha value of this widget.
void GetMinSize (int &width, int &height)
const char * GetName ()
 Get the name of this widget.
pawsWidgetGetParent ()
 Get this widget's parent.
csString GetPathInWidgetTree ()
 Returns textual description of path to our widget through the widget tree.
virtual double GetProperty (MathEnvironment *env, const char *ptr)
virtual csRect GetScreenFrame ()
 Returns the csRect that defines widget area.
csString & GetToolTip ()
 Gets the text from a tool tip.
const char * GetType ()
 Gets the current factory type.
csRect GetWidgetTextRect (const char *text, int x, int y, int style=-1)
 Get the rectangle containing the text DrawWidgetText will produce.
virtual const csString & GetXMLBinding ()
 Get the xml nodes of this widget.
virtual bool HasFocus ()
 Test focus of the widget.
virtual void Hide ()
 Makes widget invisible and removes focus if widget has current focus.
virtual void Ignore (bool ig)
bool Includes (pawsWidget *widget)
 Returns true if widget equals this, or widget is a child of this.
bool IsAlwaysOnTop ()
 Tests value of this widgets alwaysOnTop flag.
bool IsChildOf (pawsWidget *someParent)
 Returns true, if this widget is the child of 'someParent'.
bool IsConfigurable ()
 Tests if widget settings (alpha, fade, etc) are configurable.
bool isFadeEnabled ()
 Gets the fade status of this widget.
bool IsIndirectChild (pawsWidget *widget)
 Returns true, if 'widget' is child of our widget, even if it is indirect.
bool IsResizable ()
 Test widget to see if it is resizable.
bool isScalingFont ()
 Returns whether or not font is being auto-scaled.
bool IsVisible ()
 Is the widget currently set visible?
virtual bool Load (iDocumentNode *node)
 Load a widget based on its <widget></widget> tag.
virtual bool LoadAttributes (iDocumentNode *node)
 Load standard widget attributes based on its <widget></widget> tag.
virtual bool LoadChildren (iDocumentNode *node)
 Load widget children based on subtags of its <widget></widget> tag.
virtual bool LoadEventScripts (iDocumentNode *node)
 Load event scripts for this widget.
bool LoadFromFile (const csString &fileName)
 Parses XML file 'fileName', finds first widget tag and Load()s itself from this tag.
virtual csRect LoadPositions ()
 Get the position of this widget that was stored in a cfg file.
virtual void LoadSettings ()
 Loads current widget settings from an XML file.
void MakeFullyVisible ()
 If some part of the widget is not within the rectangle of its parent, then the widget is moved inside (if it is small enough).
virtual void MouseOver (bool value)
 Sets hasMouseFocus.
virtual void MoveDelta (int dx, int dy)
 Move a widget by a delta amount.
virtual void MoveTo (int x, int y)
 Moves this widget and all of its children to a new screen location.
bool NeedsRender () const
 Whether we need to r2t.
virtual void NewSubscription (const char *dataname)
virtual bool OnButtonPressed (int button, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
virtual bool OnButtonReleased (int button, int keyModifier, pawsWidget *widget)
 Called whenever a button is released.
virtual bool OnChange (pawsWidget *widget)
 Called whenever a widget is selected.
virtual bool OnChildMouseEnter (pawsWidget *child)
 Called when mouse enters a child widget.
virtual bool OnChildMouseExit (pawsWidget *child)
 Called when a mouse exits a child widget.
virtual bool OnClipboard (const csString &content)
 Process Clipboard content, as a response to RequestClipboardContent.
virtual bool OnDoubleClick (int button, int modifiers, int x, int y)
 Manage mouse double click event.
virtual bool OnGainFocus (bool=true)
 Changes hasFocus to TRUE and reports status to parent.
virtual bool OnJoypadDown (int key, int modifiers)
 Process joypadDown messages.
virtual bool OnKeyDown (utf32_char keyCode, utf32_char keyChar, int modifiers)
 Process keydown messages.
virtual void OnListAction (pawsListBox *selected, int status)
 Called whenever an item in a child list box is selected.
virtual void OnLostFocus ()
 Sets hasFocus false and notifys parent.
virtual bool OnMenuAction (pawsWidget *widget, const pawsMenuAction &action)
 Called whenever a menu action occurs.
virtual bool OnMouseDown (int button, int modifiers, int x, int y)
 Manage mouse down event to test for and apply window changes.
virtual bool OnMouseEnter ()
 Called whenever the mouse enters this widget.
virtual bool OnMouseExit ()
 Called whenever the mouse leaves this widget.
virtual bool OnMouseUp (int button, int modifiers, int x, int y)
 Manage mouse up event.
virtual void OnResize ()
 Sets the new position of the close button.
virtual bool OnScroll (int scrollDirection, pawsScrollBar *widget)
 Called whenever a window is scrolled.
virtual bool OnSelected (pawsWidget *widget)
 Called whenever a widget is selected.
virtual void OnUpdateData (const char *, PAWSData &)
virtual bool ParentDraw () const
 Whether to draw via the parent-child draw tree.
 pawsWidget ()
 pawsWidget (const pawsWidget &origin)
virtual void PerformAction (const char *action)
 Does an action based on this string.
virtual bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void RecalcScreenPositions ()
 This re-calculates a widget's on screen position to draw based on it's relative position and parent screen location.
void ReloadWidget ()
 Reloads widget from XML file.
void RemoveChild (pawsWidget *widget)
 Removes the widget from list of children but does NOT destruct it.
void RemoveTitle ()
virtual void ResetToDefaultFrame ()
 Resets the position, width and height to the default position.
virtual void Resize (int dx, int dy, int flags)
 Resize a widget by a delta amount.
virtual void Resize (int flags)
 Resize a widget based on the current mouse position.
virtual void Resize ()
 Resize a widget based on it's parent's size.
void RunScriptEvent (PAWS_WIDGET_SCRIPT_EVENTS event)
 Executes any pawsScript associated with the given event.
virtual void SavePosition ()
 Saves the position of this widget to the config file.
virtual void SaveSettings ()
 Saves current widget settings to an XML file.
virtual bool SelfPopulate (iDocumentNode *node)
 This function allows a widget to fill in its own contents from an xml node supplied and calls the same function for all children.
virtual bool SelfPopulateXML (const char *xmlstr)
 This function parses the xml string and calls SelfPopulate with the resulting DOM structure if valid.
virtual void SendToBottom (pawsWidget *widget)
 Move this widget down the z order to the bottom.
void SetAlwaysOnTop (bool value)
 Sets value of this widgets alwaysOnTop flag.
virtual void SetAttachFlags (int flags)
 Modify attachFlags to control widget construction.
virtual void SetBackground (const char *imageName)
 Sets the background image, logs error if NULL.
virtual void SetBackgroundAlpha (int alphaValue)
 Sets the alpha level of the background.
void SetBackgroundColor (int r, int g, int b)
 Sets the background color.
void SetColour (int newColour=-2)
 Set text color.
void SetContextMenu (const csString &fileName)
 Sets name of the PAWS xml-file that describes context menu of our widget.
void SetDefaultToolTip ()
 Sets the tool tip to the one defined in the XML.
void SetExtraData (iWidgetData *data)
 Stores extra data into this widget.
void SetFactory (const char *myfactory)
 Sets the type of factory.
void SetFade (bool value)
 Used to control the fading feature of the widget.
void SetFadeSpeed (float speed)
 Sets the fading speed.
void SetFilename (const char *name)
 Changes filename to the name provided.
void SetFont (const char *fontName, int Size=0)
 Set font to use programmatically.
void SetFontScaling (bool value)
 Used to control the font scaling of the widget.
void SetFontStyle (int style)
 Sets the current font style.
virtual void SetForceSize (int newWidth, int newHeight)
 Same as above, but does not resize children.
void SetID (int newID)
 Change the id of a widget.
void SetMaskingImage (const char *image)
 Sets a masking image which will be drawn after the normal stuff.
void SetMaxAlpha (int value)
 Sets the maximum alpha of this widget.
void SetMaxSize (int width, int height)
 Set the max size for height and width.
void SetMinAlpha (int value)
 Sets the minimim alpha of this widget.
void SetMinSize (int width, int height)
 Set the minimum height and width to protect the widget from negatives.
void SetModalState (bool isModal)
 Registers mode with the windowManager.
void SetMovable (bool value)
 Makes a widget movable.
void SetName (const char *newName)
 Set the name of this widget.
void SetNeedsRender (bool needs)
 Marks that we need to r2t.
void SetParent (pawsWidget *widget)
 Set the owner of this widget.
virtual void SetProperty (const char *ptr, double value)
virtual void SetRelativeFrame (int x, int y, int width, int height)
 Set the size of this widget and it's position relative to the parent.
virtual void SetRelativeFramePos (int x, int y)
 Set the position of this widget relative to the parent.
virtual void SetRelativeFrameSize (int width, int height)
 Sets defaultFrame and screenFrame size attributes.
void SetResizeShow (bool v)
 Sets the showResize flag, controlling if the resize widget should be drawn.
virtual void SetSize (int newWidth, int newHeight)
 Set the size of a particlar widget.
void SetTitle (const char *title)
 Sets the border title of this widget.
bool SetTitle (const char *text, const char *image, const char *align, const char *close_button, const bool shadowTitle=true)
 Sets up the title bar for the widget.
void SetToolTip (const char *text)
 Changes the text for a tool tip.
virtual bool Setup (iDocumentNode *)
 Setup this widget.
void SetVisibility (bool visible)
 Make the widget visible or hides it.
virtual void SetXMLBinding (csString &xmlbinding)
 Sets the xml nodes of this widget.
virtual void Show ()
 Makes widget visible and brings it to the front.
virtual void ShowBehind ()
 Makes widget visible and brings it to the front but behind widget with current focus.
virtual void StopResize ()
 Called once the mouse up is done after resizing a widget.
const char * ToString ()
virtual void UseBorder (const char *style=0)
 Creates a new border and links it to the widget.
virtual pawsWidgetWidgetAt (int x, int y)
 Locate a widget that is at these screen coordindates.
virtual ~pawsWidget ()

Public Attributes

csArray< csString > publishList

Protected Member Functions

int CalcChildPosition (pawsWidget *child)
 Calculates the right position in array of children for a given child (depends on always-on-top state).
bool CreateContextMenu ()
 Creates context menu from file ('contextMenuFile' attribute)
int GetAttachFlag (const char *flag)
 Convert from string flag to int flag.
void LoadBorderColours (iDocumentNode *node)
 Loads custom border color preferences.
bool ReadDefaultWidgetStyles (iDocumentNode *node)
int ResizeFlags (int mouseX, int mouseY)
 This will check to see if the mouse is over the resize hot spot.
void SetCloseButtonPos ()
 Gets button from widget and sets it's location.

Protected Attributes

int alpha
 The original background alpha.
int alphaMin
 The minimum background alpha.
bool alwaysOnTop
 Is this windows painted on top of other windows.
int attachFlags
 The attachpoints for when a resize takes place.
int bgColour
 Stores the bgColour for this widget.
csRef< iPawsImagebgImage
 Background image.
pawsBorderborder
 border created by GetBorder().
int borderColours [5]
 Custom border colors for this window.
bool borderTitleShadow
 whether the title in the border should be shadow font
csArray< pawsWidget * > children
 The child widgets.
csRect clipRect
 Current clipping rectangle.
pawsButtonclose_widget
 Used in SetTitle() for the new close button.
csString closeName
 Old name of the widget with "_close" appended by SetName().
bool configurable
 Determines if the settings (alpha, fade, etc) of this widget are configurable.
pawsMenucontextMenu
 Existing context menu of the widget.
csString contextMenuFile
 Path to the file that describes context menu of our widget (invoked by mouse right-click).
int defaultFontColour
 Optional color to use when drawing text with this widget.
int defaultFontShadowColour
 Optional color to use when doing text dropshadows.
float defaultFontSize
 Default font size.
csRect defaultFrame
 The default frame for the widget.
csString defaultToolTip
 Default tool tip string for the widget.
csHash< csString, csString > defaultWidgetStyles
iWidgetDataextraData
 Holds any extra data the widget may need.
csString factory
 factory name
bool fade
 Set to false to disable fading.
float fadeSpeed
 The speed of the fading process.
float fadeVal
 The direction and percentage of current fade in progress.
csString filename
 filename to load from or save to.
csString fontName
 Name of currently selected font.
float fontSize
 Current font size.
int fontStyle
 Current font style.
csRef< iGraphics2D > graphics2D
 The 2D graphics interface.
bool hasBorderColours
 Flag to indicate using custom border colors.
bool hasFocus
 Flag for widget focus.
bool hasMouseFocus
 Flag for mouse over behavior.
int id
 The id of the widget.
bool ignore
 Flag determines if WidgetAT() ignores this widget.
bool isResizable
 Determines if this widget can be resized by user.
bool keepaspect
 Enforce keeping the default aspect ratio when resizing.
int margin
 Stores margin value. Used in LoadAttributes().
csRef< iPawsImagemaskImage
 Masking image, used for nice-looking stuff.
int max_height
 Defines the maximum height that the widget can be.
int max_width
 Defines the maximum width that the widget can be.
int min_height
 Defines the minimum height that the widget can be.
int min_width
 Defines the minimum width that the widget can be.
bool movable
 Determines if this widget is movable.
csRef< iFont > myFont
 Optional font to use when drawing this widget.
csString name
 The name of this widget.
bool needsRender
 Whether we need to do a r2t update.
pawsWidgetonEnter
 Widget to call if enter is pressed.
bool overwrite_subscription
 Flag of whether OnUpdateData should overwrite the previous value or add to it.
pawsWidgetparent
 This widget's parent.
bool parentDraw
 Whether to draw this widget (different from visible, used to decide if Draw() is called via parent-child tree).
bool resizeToScreen
 Determines if this widget should be auto resized with screen resolution.
bool saveWidgetPositions
 Determines if this widget should write/load it's position from a config file.
bool scaleFont
 Determines whether or not to scale font when a widget it resized.
csRect screenFrame
 The screen area of the widget.
pawsScriptscriptEvents [PW_SCRIPT_EVENT_COUNT]
bool showOnMouseOver
 Stores status of showOnMouseOver.
csString showOnMouseOver_image
 Stores the bgimage name if showOnMouseOver is true.
bool showResize
 If the resize widget should be drawn.
csString subscribedVar
 The variable that this widget is subscribed to.
csString subscription_format
csArray< pawsWidget * > taborder
 Contains the children for tabbing.
pawsTitletitleBar
 reference to titleBar object, if any
csString toolTip
 Tooltip to be displayed.
bool visible
 Flag to determine visiblity.
csString xmlbinding
 Used in the SelfPopulate functions to map to xml nodes for each widget.

Detailed Description

The main base widget that all other widgets should inherit from.

Definition at line 116 of file pawswidget.h.


Constructor & Destructor Documentation

pawsWidget::pawsWidget ( )
pawsWidget::pawsWidget ( const pawsWidget origin)
virtual pawsWidget::~pawsWidget ( ) [virtual]

Member Function Documentation

void pawsWidget::AddChild ( pawsWidget widget)

Add a child widget to this widget.

This widget is then responsible for deleting this child.

Parameters:
widgetThe child to add.
void pawsWidget::AddChild ( size_t  Index,
pawsWidget widget 
)

Add a child widget to this widget at a specified position.

This widget is then responsible for deleting this child.

Parameters:
widgetThe child to add.
virtual void pawsWidget::BringToTop ( pawsWidget widget) [virtual]

Move this widget up the z order to the top.

If the widget is alwaysOnTop, it will be placed in position 0. If the widget is not alwaysOnTop, it will be placed after the last alwaysOnTop widget. Will also recurse up through the parents to bring it up as well.

Parameters:
widgetWidget to bring forward.

Reimplemented in pawsNpcDialogWindow.

int pawsWidget::CalcChildPosition ( pawsWidget child) [protected]

Calculates the right position in array of children for a given child (depends on always-on-top state).

virtual double pawsWidget::CalcFunction ( MathEnvironment env,
const char *  functionName,
const double *  params 
) [virtual]

Implements iScriptableVar.

Reimplemented in pawsSketchWindow, and pawsMusicWindow.

virtual void pawsWidget::CenterTo ( int  x,
int  y 
) [virtual]

Move this widget so that its center is at given location.

Parameters:
xScreen coordinate X.
yScreen coordinage Y.
virtual void pawsWidget::CenterToMouse ( ) [virtual]

Move this widget so that its center is at mouse pointer, but it is fully on screen.

void pawsWidget::ChangeFontSize ( float  newSize)

Change font to new size and reload font to make it take effect.

Parameters:
newSizeThe font size to change to.
virtual bool pawsWidget::CheckButtonPressed ( int  button,
int  modifiers,
pawsWidget pressedWidget 
) [virtual]

Test button for activity.

Parameters:
buttonThe button to test.
modifiersModifier to use.
pressedWidgetThe widget with the event.
Returns:
TRUE if pressed, FALSE otherwise
virtual bool pawsWidget::CheckButtonReleased ( int  button,
int  modifiers,
pawsWidget pressedWidget 
) [virtual]

Test button for activity.

Parameters:
buttonThe button to test.
modifiersModifier to use.
pressedWidgetThe widget with the event.
Returns:
TRUE if pressed, FALSE otherwise
virtual bool pawsWidget::CheckKeyHandled ( int  ) [inline, virtual]

Allow pawsButton to simulate button pushes based on keypresses.

Return true if key is handled.

Reimplemented in pawsDnDButton, and pawsButton.

Definition at line 499 of file pawswidget.h.

void pawsWidget::ClearBackgroundColor ( ) [inline]

Definition at line 1785 of file pawswidget.h.

void pawsWidget::ClearMaskingImage ( )

Clears the masking image.

csRect pawsWidget::ClipRect ( ) [inline]

This returns the current clipping rectangle.

Returns:
csRect clipRect

Definition at line 1560 of file pawswidget.h.

void pawsWidget::ClipToParent ( bool  allowForBackgroundBorder)

Determines clipping area to use.

If a widget is the top level it clips to the canvas. If it has a parent it calculates the intersection between either it's border or screenframe and parent clip. Updates clipRect for future drawing.

virtual void pawsWidget::Close ( ) [inline, virtual]
virtual bool pawsWidget::Contains ( int  x,
int  y 
) [virtual]

Determines if the coordinates are within this widget.

Typically the border or screenFrame.

Parameters:
xThe x screen position.
yThe y screen position.
Returns:
TRUE if yes otherwise FALSE

Reimplemented in pawsControlWindow.

bool pawsWidget::CreateContextMenu ( ) [protected]

Creates context menu from file ('contextMenuFile' attribute)

virtual void pawsWidget::CreateWidgetConfigWindow ( ) [virtual]

Creates a popup window that the user can use to adjust the settings of this window.

virtual void pawsWidget::DeleteChild ( pawsWidget widget) [virtual]

Removes the widget from list of children and destructs it.

Parameters:
widgetThe child to delete.

Reimplemented in psMainWidget.

void pawsWidget::DeleteYourself ( ) [inline]

Removes and destructs itself.

Definition at line 531 of file pawswidget.h.

virtual void pawsWidget::DestroyWidgetConfigWindow ( ) [virtual]

Called by ApplyAlphaOnChildren to remove the config window to prevent weird stuff.

virtual void pawsWidget::Draw ( ) [virtual]
virtual void pawsWidget::Draw3D ( iGraphics3D *  ) [inline, virtual]

Reimplemented in pawsObjectView.

Definition at line 758 of file pawswidget.h.

virtual void pawsWidget::DrawBackground ( ) [virtual]

Draws the background with a color or an image.

Remarks:
Uses focus status to apply appropriate fading.

Reimplemented in pawsNpcDialogWindow.

virtual void pawsWidget::DrawChildren ( ) [virtual]

Draws all children marked visible.

Reimplemented in psMainWidget.

void pawsWidget::DrawForeground ( )

Does the second part of the drawing drawing the background of the window.

virtual void pawsWidget::DrawMask ( ) [virtual]

Draws the mask picture.

Remarks:
Uses focus status to apply appropriate fading.

Reimplemented in pawsDnDButton.

virtual void pawsWidget::DrawToolTip ( int  x,
int  y 
) [virtual]

This draws the tool tip if a widget is visible and a tool tip is available.

Parameters:
xThe x screen position.
yThe y screen position.
void pawsWidget::DrawWidgetText ( const char *  text,
int  x,
int  y,
int  style = -1 
)

Draw text in the widget at specified location.

Parameters:
textThe text to draw.
xThe x screen position.
yThe x screen position.
styleWhen set at -1 causes widget to call GetFontStyle().
Remarks:
Font style selected by precedence, this, parent and DFFAULT_FONT_STYLE
bool pawsWidget::DrawWindow ( )

Does the first part of the drawing.

It draws the background of the window.

Returns:
TRUE if the widget can be drawn.
virtual void pawsWidget::Dump ( csString  tab = "") [virtual]

Prints the widget names for the widget and all it's children.

Parameters:
tabString to set tab format.
const char* pawsWidget::FindDefaultWidgetStyle ( const char *  factoryName)
pawsWidget* pawsWidget::FindWidget ( const char *  name,
bool  complain = true 
)

Find a child widget of this widget.

Recurses down through the children as well looking for widget.

Parameters:
nameThe name of the widget to look for.
complainIf true, print an error message if widget is not found.
Returns:
A pointer to the widget if found. NULL otherwise.
pawsWidget* pawsWidget::FindWidget ( int  id,
bool  complain = true 
)

Find a child widget of this widget.

Recurses down through the children as well looking for widget.

Parameters:
idThe id of the widget to look for.
complainIf true, print an error message if widget is not found.
Returns:
A pointer to the widget if found. NULL otherwise.
pawsWidget* pawsWidget::FindWidgetXMLBinding ( const char *  xmlbinding)

Find a child widget of this widget with the given XML binding.

Recurses down through the children as well looking for widget.

Parameters:
xmlbindingThe xmlbinding of the widget to look for.
Returns:
A pointer to the widget if found. NULL otherwise.
void pawsWidget::FormatToolTip ( const char *  fmt,
  ... 
)

Changes the format of a tool tip.

Parameters:
fmtThe format string.
...These define the new format.
int pawsWidget::GetActualHeight ( int  myValue = -1) [inline]

Returns the actual Height assuming the passed value was in 800x600 resolution.

Definition at line 1412 of file pawswidget.h.

int pawsWidget::GetActualWidth ( int  myValue = -1) [inline]

Returns the actual width assuming the passed value was in 800x600 resolution.

Definition at line 1390 of file pawswidget.h.

int pawsWidget::GetAttachFlag ( const char *  flag) [protected]

Convert from string flag to int flag.

csString pawsWidget::GetBackground ( )

Retrieve the background image name.

Returns:
csString resourceName or "" if not found.
virtual pawsBorder* pawsWidget::GetBorder ( ) [inline, virtual]

This returns the border created by UseBorder().

Definition at line 1137 of file pawswidget.h.

virtual int pawsWidget::GetBorderColour ( int  which) [virtual]

Get the color for this widgets border.

Parameters:
whichThe index value in borderColor to get.
Returns:
It's own border color if it has one, if it doesn't have it's own then the parent's, or if no parent it returns the default for the window manager.
virtual int pawsWidget::GetBorderStyle ( ) [inline, virtual]

This returns the BORDER_BUMP style.

Remarks:
Other styles available include: BORDER_RAISED, BORDER_SUNKEN and BORDER_ETCHED.

Reimplemented in pawsKeySelectBox, pawsTextBox, pawsMessageTextBox, pawsEditTextBox, and pawsMultilineEditTextBox.

Definition at line 1148 of file pawswidget.h.

pawsWidget* pawsWidget::GetChild ( size_t  i) [inline]

Used if you need to loop through the children of a widget.

Parameters:
iID of the child

Definition at line 549 of file pawswidget.h.

size_t pawsWidget::GetChildrenCount ( ) [inline]

Used if you need to loop through the children of a widget.

Returns:
Count of the children

Definition at line 559 of file pawswidget.h.

const char* pawsWidget::GetCloseName ( ) [inline]

Returns the closeName of this widget.

Definition at line 1059 of file pawswidget.h.

virtual csRect pawsWidget::GetDefaultFrame ( ) [inline, virtual]

Returns the default csRect.

Returns:
defaultFrame

Definition at line 416 of file pawswidget.h.

iWidgetData* pawsWidget::GetExtraData ( ) [inline]

Grabs extra data stored in the widget.

Returns:
The extra data stored in this widget.

Definition at line 1822 of file pawswidget.h.

float pawsWidget::GetFadeSpeed ( ) [inline]

Gets the fading speed.

Definition at line 1706 of file pawswidget.h.

int pawsWidget::GetFadeVal ( ) [inline]

Gets the fade value of this widget.

Definition at line 1674 of file pawswidget.h.

const char* pawsWidget::GetFilename ( )

Returns the filename.

virtual bool pawsWidget::GetFocusOverridesControls ( ) const [inline, virtual]

Test if the widget should intercept all key presses.

Remarks:
False by default, should be true for text entry widgets

Reimplemented in pawsFingeringWindow, pawsSketchWindow, pawsKeySelectBox, pawsEditTextBox, and pawsMultilineEditTextBox.

Definition at line 1015 of file pawswidget.h.

iFont* pawsWidget::GetFont ( bool  scaled = true)

Gets the current font as an iFont.

Returns:
It's own font if it has one, if not then the parent's, or if it doesn't have a parent it returns windowManager DEFAULT_FONT.
virtual int pawsWidget::GetFontColour ( ) [virtual]

Gets the current font color.

Returns:
defaultFontColour if it is != -1, if it has a parent use parent->GetFontColour(), if it doesn't have a parent it returns windowManager GetDefaultFontColour().

Reimplemented in pawsTextBox.

int pawsWidget::GetFontShadowColour ( )

Gets the current shadow color.

Returns:
default if myFont, if not then the parent's, or if it doesn't have a parent it returns black.
float pawsWidget::GetFontSize ( )

Gets the current font size.

Returns:
It's own size if it has one, if not then the parent's, or if it doesn't have a parent it returns DEFAULT_FONT_SIZE
int pawsWidget::GetFontStyle ( )

Gets the current font style.

Returns:
fontStyle if myFont, if not then the parent's, or if it doesn't have a parent it returns DEFAULT_FONT_STYLE.
int pawsWidget::GetID ( ) [inline]

Gets the id of a widget.

Returns:
id The widget id.

Reimplemented in pawsObjectView.

Definition at line 1265 of file pawswidget.h.

int pawsWidget::GetLogicalHeight ( int  myValue) [inline]

Definition at line 1441 of file pawswidget.h.

int pawsWidget::GetLogicalWidth ( int  myValue) [inline]

Definition at line 1430 of file pawswidget.h.

int pawsWidget::GetMaxAlpha ( ) [inline]

Gets the maximum alpha value of this widget.

Definition at line 1666 of file pawswidget.h.

int pawsWidget::GetMinAlpha ( ) [inline]

Gets the minimim alpha value of this widget.

Definition at line 1658 of file pawswidget.h.

void pawsWidget::GetMinSize ( int width,
int height 
) [inline]

Definition at line 1508 of file pawswidget.h.

const char* pawsWidget::GetName ( ) [inline]

Get the name of this widget.

Reimplemented in pawsDnDButton.

Definition at line 1041 of file pawswidget.h.

pawsWidget* pawsWidget::GetParent ( ) [inline]

Get this widget's parent.

Returns:
parent

Reimplemented in pawsTreeNode.

Definition at line 650 of file pawswidget.h.

csString pawsWidget::GetPathInWidgetTree ( )

Returns textual description of path to our widget through the widget tree.

(direct and indirect parents)

virtual double pawsWidget::GetProperty ( MathEnvironment env,
const char *  ptr 
) [virtual]

Implements iScriptableVar.

Reimplemented in pawsCheckBox.

virtual csRect pawsWidget::GetScreenFrame ( ) [virtual]

Returns the csRect that defines widget area.

Returns:
screenFrame
csString& pawsWidget::GetToolTip ( ) [inline]

Gets the text from a tool tip.

Returns:
csString The tool tip text.

Definition at line 1318 of file pawswidget.h.

const char* pawsWidget::GetType ( ) [inline]

Gets the current factory type.

Returns:
factory The current factory type.

Definition at line 1381 of file pawswidget.h.

csRect pawsWidget::GetWidgetTextRect ( const char *  text,
int  x,
int  y,
int  style = -1 
)

Get the rectangle containing the text DrawWidgetText will produce.

Parameters:
textThe text.
xThe x screen position.
yThe x screen position.
styleWhen set at -1 causes widget to call GetFontStyle().
Remarks:
Font style selected by precedence, this, parent and DFFAULT_FONT_STYLE
virtual const csString& pawsWidget::GetXMLBinding ( ) [inline, virtual]

Get the xml nodes of this widget.

Returns:
xmlbinding

Definition at line 630 of file pawswidget.h.

virtual bool pawsWidget::HasFocus ( ) [inline, virtual]

Test focus of the widget.

Returns:
hasFocus Current status of the widget.

Definition at line 1005 of file pawswidget.h.

virtual void pawsWidget::Hide ( ) [virtual]

Makes widget invisible and removes focus if widget has current focus.

Sets visible FALSE, hides border if present and then if focused when called it calls SetCurrentFocusedWidget(NULL).

Reimplemented in pawsActiveMagicWindow, pawsFingeringWindow, pawsConfigSound, pawsControlWindow, pawsControlledWindow, pawsCreditsWindow, pawsGameBoard, pawsGlyphWindow, pawsGuildWindow, pawsSketchWindow, pawsInteractWindow, pawsLoadWindow, pawsLoginWindow, pawsMusicWindow, pawsNpcDialogWindow, pawsPetStatWindow, pawsSkillWindow, pawsListBoxRow, and pawsYesNoBox.

virtual void pawsWidget::Ignore ( bool  ig) [inline, virtual]

Definition at line 392 of file pawswidget.h.

bool pawsWidget::Includes ( pawsWidget widget)

Returns true if widget equals this, or widget is a child of this.

If widget is null, false is returned.

bool pawsWidget::IsAlwaysOnTop ( ) [inline]

Tests value of this widgets alwaysOnTop flag.

Returns:
bool alwaysOnTop.

Definition at line 1275 of file pawswidget.h.

bool pawsWidget::IsChildOf ( pawsWidget someParent)

Returns true, if this widget is the child of 'someParent'.

Parameters:
someParentThe parent to check for.
bool pawsWidget::IsConfigurable ( ) [inline]

Tests if widget settings (alpha, fade, etc) are configurable.

Returns:
bool

Definition at line 1832 of file pawswidget.h.

bool pawsWidget::isFadeEnabled ( ) [inline]

Gets the fade status of this widget.

Definition at line 1698 of file pawswidget.h.

bool pawsWidget::IsIndirectChild ( pawsWidget widget)

Returns true, if 'widget' is child of our widget, even if it is indirect.

Parameters:
widgetThe widget to test.
bool pawsWidget::IsResizable ( ) [inline]

Test widget to see if it is resizable.

Returns:
isResizable Flag to set a widget resizable.
Remarks:
This is set by marking the resizable attribute yes or no in the widget's xml data.

Definition at line 794 of file pawswidget.h.

bool pawsWidget::isScalingFont ( ) [inline]

Returns whether or not font is being auto-scaled.

Definition at line 1722 of file pawswidget.h.

bool pawsWidget::IsVisible ( ) [inline]

Is the widget currently set visible?

Returns:
bool

Definition at line 426 of file pawswidget.h.

virtual bool pawsWidget::Load ( iDocumentNode *  node) [virtual]

Load a widget based on its <widget></widget> tag.

Parameters:
nodeThe xml data for the widget.
Remarks:
Recursivly loads all child widgets.

Reimplemented in pawsMenuItem, pawsTreeNode, pawsWidgetTreeNode, pawsSeqTreeNode, and pawsSimpleTreeNode.

virtual bool pawsWidget::LoadAttributes ( iDocumentNode *  node) [virtual]

Load standard widget attributes based on its <widget></widget> tag.

Parameters:
nodeThe xml data for the widget.
void pawsWidget::LoadBorderColours ( iDocumentNode *  node) [protected]

Loads custom border color preferences.

virtual bool pawsWidget::LoadChildren ( iDocumentNode *  node) [virtual]

Load widget children based on subtags of its <widget></widget> tag.

Parameters:
nodeThe xml data for the widget.

Reimplemented in pawsTree.

virtual bool pawsWidget::LoadEventScripts ( iDocumentNode *  node) [virtual]

Load event scripts for this widget.

Parameters:
nodeThe xml node for the widget.
bool pawsWidget::LoadFromFile ( const csString &  fileName)

Parses XML file 'fileName', finds first widget tag and Load()s itself from this tag.

'fileName' is standard path of the XML file to load.

See also:
psLocalization::FindLocalizedFile()
virtual csRect pawsWidget::LoadPositions ( ) [virtual]

Get the position of this widget that was stored in a cfg file.

Returns:
A csrect that is the new position. Or return the position that is in the XML file.
virtual void pawsWidget::LoadSettings ( ) [virtual]

Loads current widget settings from an XML file.

void pawsWidget::MakeFullyVisible ( )

If some part of the widget is not within the rectangle of its parent, then the widget is moved inside (if it is small enough).

virtual void pawsWidget::MouseOver ( bool  value) [virtual]

Sets hasMouseFocus.

Parameters:
valueTRUE causes widget to react to mouse focus.
Remarks:
hasMouseFocus is used by DrawBackground() to fade the background in. Disabled by default.

Reimplemented in pawsDnDButton.

virtual void pawsWidget::MoveDelta ( int  dx,
int  dy 
) [virtual]

Move a widget by a delta amount.

This will recurse through all the children calling MoveDelta on each.

Parameters:
dxDelta x
dyDelta y

Reimplemented in pawsTitle.

virtual void pawsWidget::MoveTo ( int  x,
int  y 
) [virtual]

Moves this widget and all of its children to a new screen location.

Parameters:
xnew x
ynew y

Reimplemented in pawsTitle.

bool pawsWidget::NeedsRender ( ) const [inline]

Whether we need to r2t.

Definition at line 1875 of file pawswidget.h.

virtual void pawsWidget::NewSubscription ( const char *  dataname) [inline, virtual]

Implements iPAWSSubscriber.

Definition at line 1838 of file pawswidget.h.

virtual bool pawsWidget::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [inline, virtual]

Called whenever a button is pressed.

Parameters:
buttonThe button pressed.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented in pawsAttackBookWindow, pawsBartenderWindow, pawsChatWindow, pawsInventoryWindow, pawsBankWindow, pawsBookReadingWindow, pawsCharBirth, pawsCreationMain, pawsCharDescription, pawsCharParents, pawsCharacterPickerWindow, pawsChildhoodWindow, pawsConfigActiveMagic, pawsConfigAutoexec, pawsConfigCamera, pawsConfigChatBubbles, pawsConfigChatFont, pawsConfigChatLogs, pawsConfigChatTabCompletion, pawsConfigDetails, pawsConfigEntityLabels, pawsConfigKeys, pawsFingeringWindow, pawsConfigMouse, pawsConfigShadows, pawsConfigShortcut, pawsConfigSound, pawsConfigSpellChecker, pawsConfigTextPage, pawsConfigTooltips, pawsContainerDescWindow, pawsCraftCancelWindow, pawsCreditsWindow, pawsDetailWindow, pawsExchangeWindow, pawsGlyphWindow, pawsGMActionWindow, pawsGMSpawnWindow, pawsGuildWindow, pawsIgnoreWindow, pawsInfoWindow, pawsInteractWindow, pawsItemDescriptionWindow, pawsLifeEventWindow, pawsLoginWindow, pawsLootWindow, pawsMerchantWindow, pawsMusicWindow, pawsNpcDialogWindow, pawsPetStatWindow, pawsQuestRewardWindow, pawsQuestListWindow, pawsQuitInfoBox, pawsScriptHiredNPCWindow, pawsScrollMenu, pawsSkillWindow, pawsSpellBookWindow, pawsSpellCancelWindow, pawsStorageWindow, pawsTutorialNotifyWindow, pawsWritingWindow, pawsShortcutWindow, pawsCheckBox, pawsColorPromptWindow, pawsComboBox, pawsComboPromptWindow, pawsScrollBar, pawsFileNavigation, pawsMenu, pawsMeterPromptWindow, pawsNumberPromptWindow, pawsOkBox, pawsRadioButton, pawsRadioButtonGroup, pawsSelectorBox, pawsSpinBox, pawsTabWindow, WidgetConfigWindow, EEditCameraToolbox, EEditEditEffectToolbox, EEditErrorToolbox, EEditFPSToolbox, EEditLoadEffectToolbox, EEditLoadMapToolbox, EEditParticleListToolbox, EEditPositionToolbox, EEditRenderToolbox, EEditSelectEditAnchor, EEditSelectEditAnchorKeyFrame, EEditSelectFloat, EEditSelectList, EEditSelectNewAnchor, EEditSelectNewAnchorKeyFrame, EEditSelectString, EEditSelectVec3, EEditSelectYesNo, EEditShortcutsToolbox, EEditTargetToolbox, pawsEEdit, pawsLauncherWindow, peEditableWidget, peMenu, and peSkinSelector.

Definition at line 1190 of file pawswidget.h.

virtual bool pawsWidget::OnButtonReleased ( int  button,
int  keyModifier,
pawsWidget widget 
) [inline, virtual]

Called whenever a button is released.

Parameters:
buttonThe button released.
keyModifierModifier key in effect.
widgetThe widget the button belongs to.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented in pawsBuddyWindow, pawsCharacterPickerWindow, pawsConfigWindow, pawsControlWindow, pawsGmGUIWindow, pawsGuildWindow, pawsPathWindow, pawsPetitionGMWindow, pawsPetitionWindow, pawsQuestListWindow, pawsScrollMenu, pawsSummaryWindow, pawsShortcutWindow, pawsScrollBar, pawsSpinBox, pawsStringPromptWindow, pawsYesNoBox, and EEditParticleListToolbox.

Definition at line 1205 of file pawswidget.h.

virtual bool pawsWidget::OnChange ( pawsWidget widget) [virtual]
virtual bool pawsWidget::OnChildMouseEnter ( pawsWidget child) [virtual]

Called when mouse enters a child widget.

If child wants to inform parent.

Parameters:
childThe child widget.
Returns:
true

Reimplemented in pawsChatWindow, and pawsControlWindow.

virtual bool pawsWidget::OnChildMouseExit ( pawsWidget child) [virtual]

Called when a mouse exits a child widget.

If child wants to inform parent.

Parameters:
childThe child widget.
Returns:
bool Parent's result or TRUE if no parent.

Reimplemented in pawsChatWindow, and pawsControlWindow.

virtual bool pawsWidget::OnClipboard ( const csString &  content) [virtual]

Process Clipboard content, as a response to RequestClipboardContent.

Parameters:
contentThe content of the clipboard
Returns:
bool TRUE for success FALSE if no action.

Reimplemented in pawsEditTextBox, and pawsMultilineEditTextBox.

virtual bool pawsWidget::OnDoubleClick ( int  button,
int  modifiers,
int  x,
int  y 
) [virtual]

Manage mouse double click event.

Returns:
bool Parent's result or FALSE if no parent.
Remarks:
Acts recursively on it's parents.

Reimplemented in pawsChatWindow, pawsGameTile, pawsItemTree, psMainWidget, pawsListBoxRow, and pawsMainWidget.

virtual bool pawsWidget::OnGainFocus ( bool  = true) [inline, virtual]

Changes hasFocus to TRUE and reports status to parent.

Returns:
bool
Remarks:
Acts recursively on it's parents. If the widget cannot be focused, this function needs be overridden.

Reimplemented in pawsScrollBar, pawsTextBox, pawsMultiLineTextBox, and pawsMultiPageTextBox.

Definition at line 823 of file pawswidget.h.

virtual bool pawsWidget::OnJoypadDown ( int  key,
int  modifiers 
) [virtual]

Process joypadDown messages.

Parameters:
keyThe key pressed.
modifiersUsed to modify behavior.
Returns:
bool TRUE for success FALSE if no action.
virtual bool pawsWidget::OnKeyDown ( utf32_char  keyCode,
utf32_char  keyChar,
int  modifiers 
) [virtual]

Process keydown messages.

Parameters:
keyCodeThe code for the pressed key.
keyCharThe key pressed.
modifiersUsed to modify tab behavior.
Returns:
bool TRUE for success FALSE if no action.
Remarks:
If you override this, be sure to also override GetFocusOverridesControls() as returning true

Reimplemented in pawsChatWindow, pawsBookReadingWindow, pawsFingeringWindow, pawsSketchWindow, pawsNpcDialogWindow, pawsScrollMenu, psMainWidget, pawsButton, pawsColorPromptWindow, pawsFileNavigation, pawsKeySelectBox, pawsListBoxRow, pawsListBox, pawsMainWidget, pawsStringPromptWindow, pawsMessageTextBox, pawsEditTextBox, pawsMultilineEditTextBox, and pawsTree.

virtual void pawsWidget::OnListAction ( pawsListBox selected,
int  status 
) [inline, virtual]
virtual void pawsWidget::OnLostFocus ( ) [inline, virtual]

Sets hasFocus false and notifys parent.

Reimplemented in pawsChatWindow, pawsThumb, and pawsSpinBox.

Definition at line 834 of file pawswidget.h.

virtual bool pawsWidget::OnMenuAction ( pawsWidget widget,
const pawsMenuAction action 
) [virtual]

Called whenever a menu action occurs.

Parameters:
widgetThe widget acted upon.
actionThe action to take.
Returns:
TRUE on menu destroy and FALSE on configure

Reimplemented in pawsChatWindow, and pawsGroupWindow.

virtual bool pawsWidget::OnMouseDown ( int  button,
int  modifiers,
int  x,
int  y 
) [virtual]

Manage mouse down event to test for and apply window changes.

Parameters:
buttonType of button: 1 resizable or movable, 2 context menu or config window.
modifiersUsed with PAWS_CONSTRUCTION.
xUsed to test for resize.
yUsed to test for resize.
Returns:
bool TRUE if movable or resizable.
Remarks:
calls OnMouseDown on it's parent.

Reimplemented in pawsChatWindow, pawsInventoryWindow, pawsBookReadingWindow, pawsConfigChatBubbles, pawsFingeringWindow, pawsDnDButton, pawsGameTile, pawsGlyphWindow, pawsSketchWindow, pawsInteractWindow, pawsInventoryDollView, pawsNpcDialogWindow, pawsScrollMenu, pawsSheetLine, pawsSlot, psMainWidget, pawsShortcutWindow, pawsButton, pawsScrollBar, pawsListBoxRow, pawsListBox, pawsMainWidget, pawsMenu, pawsObjectView, pawsMessageTextBox, pawsEditTextBox, pawsMultiLineTextBox, pawsMultiPageTextBox, pawsMultilineEditTextBox, and pawsTree.

virtual bool pawsWidget::OnMouseEnter ( ) [virtual]

Called whenever the mouse enters this widget.

Returns:
bool Parent's result or TRUE if no parent.
Remarks:
Acts recursively on it's parents.

Reimplemented in pawsControlWindow, and pawsButton.

virtual bool pawsWidget::OnMouseExit ( ) [virtual]

Called whenever the mouse leaves this widget.

Returns:
bool Parent's result or TRUE if no parent.

Reimplemented in pawsControlWindow, pawsButton, pawsScrollBar, and pawsObjectView.

virtual bool pawsWidget::OnMouseUp ( int  button,
int  modifiers,
int  x,
int  y 
) [virtual]

Manage mouse up event.

Returns:
bool Parent's result or FALSE if no parent.
Remarks:
Acts recursively on it's parents.

Reimplemented in pawsDnDButton, pawsSketchWindow, psMainWidget, pawsButton, pawsThumb, pawsScrollBar, pawsMainWidget, pawsObjectView, and pawsMultilineEditTextBox.

virtual void pawsWidget::OnResize ( ) [virtual]
virtual bool pawsWidget::OnScroll ( int  scrollDirection,
pawsScrollBar widget 
) [inline, virtual]

Called whenever a window is scrolled.

Parameters:
scrollDirectionThe direction to move.
widgetThe scrollbar widget being manipulated.
Returns:
bool Parent's result or FALSE if no parent.

Reimplemented in pawsConfigActiveMagic, pawsConfigChatBubbles, pawsConfigChatFont, pawsConfigDetails, pawsConfigHPandMana, pawsConfigShortcut, pawsConfigSound, pawsInfoWindow, pawsMusicWindow, pawsShortcutWindow, pawsColorPromptWindow, pawsListBox, pawsNumberPromptWindow, pawsMessageTextBox, pawsMultiLineTextBox, pawsMultiPageTextBox, pawsMultilineEditTextBox, pawsTree, WidgetConfigWindow, and EEditParticleListToolbox.

Definition at line 1219 of file pawswidget.h.

virtual bool pawsWidget::OnSelected ( pawsWidget widget) [virtual]

Called whenever a widget is selected.

Parameters:
widgetThe selected widget.
Returns:
bool

Reimplemented in pawsConfigWindow, pawsCraftWindow, pawsGMSpawnWindow, pawsHelp, EEditEditEffectToolbox, and peWidgetTree.

virtual void pawsWidget::OnUpdateData ( const char *  ,
PAWSData  
) [inline, virtual]
virtual bool pawsWidget::ParentDraw ( ) const [inline, virtual]

Whether to draw via the parent-child draw tree.

Definition at line 782 of file pawswidget.h.

virtual void pawsWidget::PerformAction ( const char *  action) [virtual]

Does an action based on this string.

Parameters:
actionThe action to perform.

Reimplemented in pawsChatWindow.

virtual bool pawsWidget::PostSetup ( ) [inline, virtual]

This is called after the widget and all of it's children have been created.

Remarks:
This can be useful for widgets that want to get pointers to some of it's children for quick access.

Reimplemented in pawsAttackBookWindow, pawsBartenderWindow, pawsChatWindow, pawsInventoryWindow, pawsActionLocationWindow, pawsActiveMagicWindow, pawsBankWindow, pawsBookReadingWindow, pawsBuddyWindow, pawsCharBirth, pawsCreationMain, pawsCharDescription, pawsCharParents, pawsCharacterPickerWindow, pawsChildhoodWindow, pawsConfigActiveMagic, pawsConfigAutoexec, pawsConfigChat, pawsConfigChatBubbles, pawsConfigChatFilter, pawsConfigChatFont, pawsConfigChatLogs, pawsConfigChatTabCompletion, pawsConfigChatTabs, pawsConfigDetails, pawsConfigEntityInteraction, pawsConfigHPandMana, pawsFingeringWindow, pawsConfigMarriage, pawsConfigPopup, pawsConfigPvP, pawsConfigShadows, pawsConfigShortcut, pawsConfigSound, pawsConfigSpellChecker, pawsConfigTextPage, pawsConfigTooltips, pawsConfigWindow, pawsContainerDescWindow, pawsControlWindow, pawsCraftWindow, pawsCraftCancelWindow, pawsCreditsWindow, pawsDetailWindow, pawsExchangeWindow, pawsGameBoard, pawsGlyphWindow, pawsGMActionWindow, pawsGmGUIWindow, pawsGMSpawnWindow, pawsGroupWindow, pawsGuildWindow, pawsHelp, pawsIgnoreWindow, pawsSketchWindow, pawsInfoWindow, pawsInteractWindow, pawsItemDescriptionWindow, pawsLifeEventWindow, pawsLoadWindow, pawsLoginWindow, pawsLootWindow, pawsMerchantWindow, pawsModsWindow, pawsMoney, pawsMusicWindow, pawsNpcDialogWindow, pawsPathWindow, pawsPetitionGMWindow, pawsPetitionWindow, pawsPetStatWindow, pawsQuestRewardWindow, pawsQuestListWindow, pawsQuitInfoBox, pawsScriptHiredNPCWindow, pawsScrollMenu, pawsSheetLine, pawsSkillWindow, pawsSmallInventoryWindow, pawsSpellBookWindow, pawsSpellCancelWindow, pawsSplashWindow, pawsStorageWindow, pawsSummaryWindow, pawsTutorialNotifyWindow, pawsTutorialWindow, pawsWritingWindow, pawsShortcutWindow, pawsColorPromptWindow, pawsComboBox, ComboWrapper, pawsComboPromptWindow, pawsScrollBar, pawsFileNavigation, pawsListBox, pawsMenu, pawsMeterPromptWindow, pawsNumberPromptWindow, pawsOkBox, pawsPromptWindow, pawsTabWindow, pawsMessageTextBox, pawsMultiLineTextBox, pawsMultiPageTextBox, pawsTitle, pawsTree, pawsYesNoBox, WidgetConfigWindow, EEditCameraToolbox, EEditEditEffectToolbox, EEditErrorToolbox, EEditFPSToolbox, EEditLoadEffectToolbox, EEditLoadMapToolbox, EEditParticleListToolbox, EEditPositionToolbox, EEditRenderToolbox, EEditRequestCombo, EEditSelectEditAnchor, EEditSelectEditAnchorKeyFrame, EEditSelectFloat, EEditSelectList, EEditSelectNewAnchor, EEditSelectNewAnchorKeyFrame, EEditSelectString, EEditSelectVec3, EEditSelectYesNo, EEditShortcutsToolbox, EEditTargetToolbox, pawsEEdit, pawsLauncherWindow, peEditableWidget, peMenu, peSkinSelector, and peWidgetTree.

Definition at line 709 of file pawswidget.h.

bool pawsWidget::ReadDefaultWidgetStyles ( iDocumentNode *  node) [protected]
void pawsWidget::RecalcScreenPositions ( )

This re-calculates a widget's on screen position to draw based on it's relative position and parent screen location.

void pawsWidget::ReloadWidget ( )

Reloads widget from XML file.

void pawsWidget::RemoveChild ( pawsWidget widget)

Removes the widget from list of children but does NOT destruct it.

Parameters:
widgetThe widget to remove.
Remarks:
Ownership goes to the caller.
void pawsWidget::RemoveTitle ( )
virtual void pawsWidget::ResetToDefaultFrame ( ) [inline, virtual]

Resets the position, width and height to the default position.

Definition at line 874 of file pawswidget.h.

virtual void pawsWidget::Resize ( int  flags) [virtual]

Resize a widget based on the current mouse position.

This will recurse through all the children calling Resize() on each.

Parameters:
flagsThe resize direction.
virtual void pawsWidget::Resize ( int  dx,
int  dy,
int  flags 
) [virtual]

Resize a widget by a delta amount.

This will recurse through all the children calling Resize() on each.

Parameters:
dxDelta x
dyDelta y
flagsThe resize direction.
virtual void pawsWidget::Resize ( ) [virtual]

Resize a widget based on it's parent's size.

Reimplemented in pawsListBox, pawsMessageTextBox, pawsMultiLineTextBox, pawsMultiPageTextBox, pawsDocumentView, pawsMultiPageDocumentView, and pawsTitle.

int pawsWidget::ResizeFlags ( int  mouseX,
int  mouseY 
) [protected]

This will check to see if the mouse is over the resize hot spot.

void pawsWidget::RunScriptEvent ( PAWS_WIDGET_SCRIPT_EVENTS  event)

Executes any pawsScript associated with the given event.

virtual void pawsWidget::SavePosition ( ) [virtual]

Saves the position of this widget to the config file.

This is done if the savedWindowPos is set to true, this can be done inside the xml file as savepositions="yes"

virtual void pawsWidget::SaveSettings ( ) [virtual]

Saves current widget settings to an XML file.

virtual bool pawsWidget::SelfPopulate ( iDocumentNode *  node) [virtual]

This function allows a widget to fill in its own contents from an xml node supplied and calls the same function for all children.

Parameters:
nodeThe xml data for the widget.
Returns:
bool TRUE if no children, FALSE if there are problems with a node.
Remarks:
User should overload this function to populate different types of widgets. Call this base class function to populate children. This is NOT the same as Setup(), which is defining height, width, styles, etc. This is data.

Reimplemented in pawsDnDButton, pawsScrollMenu, pawsSlot, pawsButton, pawsCheckBox, pawsListBox, pawsTextBox, pawsMessageTextBox, pawsEditTextBox, and pawsMultilineEditTextBox.

virtual bool pawsWidget::SelfPopulateXML ( const char *  xmlstr) [virtual]

This function parses the xml string and calls SelfPopulate with the resulting DOM structure if valid.

Parameters:
xmlstrThe xml string to process.
Remarks:
This is NOT the same thing as Setup, which is defining the widget structure. This is for data.
virtual void pawsWidget::SendToBottom ( pawsWidget widget) [virtual]

Move this widget down the z order to the bottom.

Parameters:
widgetWidget to bring forward.
void pawsWidget::SetAlwaysOnTop ( bool  value) [inline]

Sets value of this widgets alwaysOnTop flag.

Parameters:
valueTrue to set always on top.
Remarks:
Will cause the parent to bring this widget to the top.

Definition at line 1286 of file pawswidget.h.

virtual void pawsWidget::SetAttachFlags ( int  flags) [inline, virtual]

Modify attachFlags to control widget construction.

Parameters:
flagsThe new value for attachFlags.
Remarks:
attachFlags is 0 by default.

Definition at line 903 of file pawswidget.h.

virtual void pawsWidget::SetBackground ( const char *  imageName) [virtual]

Sets the background image, logs error if NULL.

Parameters:
imageNameThe new background image.
Remarks:
Loads image description and gets initial alpha level.
virtual void pawsWidget::SetBackgroundAlpha ( int  alphaValue) [virtual]

Sets the alpha level of the background.

Parameters:
alphaValueThe new alpha level.
Remarks:
Updates current alpha level sets alpha and alphaMin to alphaValue.
void pawsWidget::SetBackgroundColor ( int  r,
int  g,
int  b 
)

Sets the background color.

Parameters:
rRed
gGreen
bBlue
void pawsWidget::SetCloseButtonPos ( ) [protected]

Gets button from widget and sets it's location.

void pawsWidget::SetColour ( int  newColour = -2)

Set text color.

Parameters:
newColourThe colour to use from now on for this widget. If it's -1 it will make the selection at runtime (by checking first the parent then the default colour) If it's -2 (default) it will make the choice upon this call by setting the default color.
void pawsWidget::SetContextMenu ( const csString &  fileName) [inline]

Sets name of the PAWS xml-file that describes context menu of our widget.

Definition at line 1529 of file pawswidget.h.

void pawsWidget::SetDefaultToolTip ( ) [inline]

Sets the tool tip to the one defined in the XML.

Definition at line 1334 of file pawswidget.h.

void pawsWidget::SetExtraData ( iWidgetData data) [inline]

Stores extra data into this widget.

Parameters:
dataThe extra data to store.
Remarks:
The widget takes ownership of the data.

Definition at line 1811 of file pawswidget.h.

void pawsWidget::SetFactory ( const char *  myfactory) [inline]

Sets the type of factory.

Parameters:
myfactoryThe new factory type.

Definition at line 1371 of file pawswidget.h.

void pawsWidget::SetFade ( bool  value)

Used to control the fading feature of the widget.

Parameters:
valueTrue if fading feature should be on.
void pawsWidget::SetFadeSpeed ( float  speed) [inline]

Sets the fading speed.

Definition at line 1714 of file pawswidget.h.

void pawsWidget::SetFilename ( const char *  name)

Changes filename to the name provided.

void pawsWidget::SetFont ( const char *  fontName,
int  Size = 0 
)

Set font to use programmatically.

void pawsWidget::SetFontScaling ( bool  value)

Used to control the font scaling of the widget.

Parameters:
valueTrue if font scaling should be enabled.
void pawsWidget::SetFontStyle ( int  style)

Sets the current font style.

virtual void pawsWidget::SetForceSize ( int  newWidth,
int  newHeight 
) [virtual]

Same as above, but does not resize children.

void pawsWidget::SetID ( int  newID) [inline]

Change the id of a widget.

Parameters:
newIDThe id number to change to.

Definition at line 1255 of file pawswidget.h.

void pawsWidget::SetMaskingImage ( const char *  image)

Sets a masking image which will be drawn after the normal stuff.

Parameters:
imageThe image resource name.

Reimplemented in pawsDnDButton.

void pawsWidget::SetMaxAlpha ( int  value) [inline]

Sets the maximum alpha of this widget.

Definition at line 1690 of file pawswidget.h.

void pawsWidget::SetMaxSize ( int  width,
int  height 
) [inline]

Set the max size for height and width.

Remarks:
Default is screen height and width.

Definition at line 1519 of file pawswidget.h.

void pawsWidget::SetMinAlpha ( int  value) [inline]

Sets the minimim alpha of this widget.

Definition at line 1682 of file pawswidget.h.

void pawsWidget::SetMinSize ( int  width,
int  height 
) [inline]

Set the minimum height and width to protect the widget from negatives.

Definition at line 1502 of file pawswidget.h.

void pawsWidget::SetModalState ( bool  isModal)

Registers mode with the windowManager.

Parameters:
isModalset TRUE to make the widget modal.
void pawsWidget::SetMovable ( bool  value) [inline]

Makes a widget movable.

Parameters:
valueTrue if movable.

Definition at line 1298 of file pawswidget.h.

void pawsWidget::SetName ( const char *  newName) [inline]

Set the name of this widget.

Definition at line 1049 of file pawswidget.h.

void pawsWidget::SetNeedsRender ( bool  needs) [inline]

Marks that we need to r2t.

Definition at line 1864 of file pawswidget.h.

void pawsWidget::SetParent ( pawsWidget widget)

Set the owner of this widget.

Parameters:
widgetThe owner of this widget.
virtual void pawsWidget::SetProperty ( const char *  ptr,
double  value 
) [virtual]

Reimplemented in pawsCheckBox.

virtual void pawsWidget::SetRelativeFrame ( int  x,
int  y,
int  width,
int  height 
) [virtual]

Set the size of this widget and it's position relative to the parent.

Parameters:
xThe offset from the parent's minimum x value.
yThe offset from the parent's minimum y value.
widthValue to be used for default width.
heightValue to be used for default height.

Reimplemented in pawsDnDButton.

virtual void pawsWidget::SetRelativeFramePos ( int  x,
int  y 
) [virtual]

Set the position of this widget relative to the parent.

Parameters:
xThe offset from the parent's minimum x value.
yThe offset from the parent's minimum y value.
Remarks:
Recalculates the screen positions of all of it's children.
virtual void pawsWidget::SetRelativeFrameSize ( int  width,
int  height 
) [virtual]

Sets defaultFrame and screenFrame size attributes.

Parameters:
widthValue to be used for default width.
heightValue to be used for default height.
Remarks:
Recalculates the screen positions of all of it's children.
void pawsWidget::SetResizeShow ( bool  v) [inline]

Sets the showResize flag, controlling if the resize widget should be drawn.

Parameters:
vValue

Definition at line 804 of file pawswidget.h.

virtual void pawsWidget::SetSize ( int  newWidth,
int  newHeight 
) [virtual]

Set the size of a particlar widget.

This will also call Resize() all of the children widgets to adjust to the new parent size.

Parameters:
newWidthThe new width of this widget.
newHeightThe new height of this widget.
void pawsWidget::SetTitle ( const char *  title)

Sets the border title of this widget.

bool pawsWidget::SetTitle ( const char *  text,
const char *  image,
const char *  align,
const char *  close_button,
const bool  shadowTitle = true 
)

Sets up the title bar for the widget.

Parameters:
textThe name that should go in the title.
imageThe name of the backround image for the title.
alignThe alignment of the text.
close_button"yes" means to add a close button to the title bar.
shadowTitleTrue if title should have shadow.
Returns:
true if all was successful.
void pawsWidget::SetToolTip ( const char *  text) [inline]

Changes the text for a tool tip.

Parameters:
textThe new text.

Reimplemented in pawsDnDButton, and pawsSlot.

Definition at line 1308 of file pawswidget.h.

virtual bool pawsWidget::Setup ( iDocumentNode *  ) [inline, virtual]
void pawsWidget::SetVisibility ( bool  visible) [inline]

Make the widget visible or hides it.

Parameters:
visibleTRUE calls Show(), FALSE calls Hide().

Definition at line 436 of file pawswidget.h.

virtual void pawsWidget::SetXMLBinding ( csString &  xmlbinding) [inline, virtual]

Sets the xml nodes of this widget.

Parameters:
xmlbinding

Definition at line 640 of file pawswidget.h.

virtual void pawsWidget::Show ( ) [virtual]
virtual void pawsWidget::ShowBehind ( ) [virtual]

Makes widget visible and brings it to the front but behind widget with current focus.

Sets visible TRUE shows border if present then calls Show() on widget that had focus when ShowBehind() was called.

virtual void pawsWidget::StopResize ( ) [virtual]

Called once the mouse up is done after resizing a widget.

const char* pawsWidget::ToString ( ) [inline, virtual]

Implements iScriptableVar.

Definition at line 1918 of file pawswidget.h.

virtual void pawsWidget::UseBorder ( const char *  style = 0) [virtual]

Creates a new border and links it to the widget.

Parameters:
styleThe style of border to create.
virtual pawsWidget* pawsWidget::WidgetAt ( int  x,
int  y 
) [virtual]

Locate a widget that is at these screen coordindates.

This will recurse through all the children as well looking for the lowest widget that contains these coordinates.

Parameters:
xThe x screen position
yThe y screen position
Returns:
NULL if this widget does not contain these coordinates. this if it contains these coordinates and none of it's children do.

Member Data Documentation

int pawsWidget::alpha [protected]

The original background alpha.

Definition at line 254 of file pawswidget.h.

The minimum background alpha.

Definition at line 257 of file pawswidget.h.

bool pawsWidget::alwaysOnTop [protected]

Is this windows painted on top of other windows.

Definition at line 202 of file pawswidget.h.

The attachpoints for when a resize takes place.

Definition at line 242 of file pawswidget.h.

Stores the bgColour for this widget.

Remarks:
Set to -1 if no colour should be used.

Definition at line 230 of file pawswidget.h.

csRef<iPawsImage> pawsWidget::bgImage [protected]

Background image.

Definition at line 233 of file pawswidget.h.

border created by GetBorder().

Reimplemented in pawsMoney, and pawsMenuItem.

Definition at line 236 of file pawswidget.h.

Custom border colors for this window.

Definition at line 281 of file pawswidget.h.

whether the title in the border should be shadow font

Definition at line 239 of file pawswidget.h.

The child widgets.

Widgets are drawn from the end of this array to the beginning. Children with alwaysOnTop=true are positioned before all other children in this array.

Definition at line 160 of file pawswidget.h.

csRect pawsWidget::clipRect [protected]

Current clipping rectangle.

Definition at line 142 of file pawswidget.h.

Used in SetTitle() for the new close button.

Definition at line 151 of file pawswidget.h.

csString pawsWidget::closeName [protected]

Old name of the widget with "_close" appended by SetName().

Definition at line 220 of file pawswidget.h.

bool pawsWidget::configurable [protected]

Determines if the settings (alpha, fade, etc) of this widget are configurable.

Definition at line 181 of file pawswidget.h.

Existing context menu of the widget.

Remarks:
NULL if there is no menu created at the moment.

Definition at line 278 of file pawswidget.h.

csString pawsWidget::contextMenuFile [protected]

Path to the file that describes context menu of our widget (invoked by mouse right-click).

Remarks:
If blank, then there is no context menu for our widget.

Definition at line 271 of file pawswidget.h.

Optional color to use when drawing text with this widget.

Definition at line 290 of file pawswidget.h.

Optional color to use when doing text dropshadows.

Definition at line 293 of file pawswidget.h.

Default font size.

Definition at line 296 of file pawswidget.h.

csRect pawsWidget::defaultFrame [protected]

The default frame for the widget.

Definition at line 136 of file pawswidget.h.

csString pawsWidget::defaultToolTip [protected]

Default tool tip string for the widget.

Definition at line 320 of file pawswidget.h.

csHash<csString,csString> pawsWidget::defaultWidgetStyles [protected]

Definition at line 360 of file pawswidget.h.

Holds any extra data the widget may need.

Definition at line 336 of file pawswidget.h.

csString pawsWidget::factory [protected]

factory name

Definition at line 124 of file pawswidget.h.

bool pawsWidget::fade [protected]

Set to false to disable fading.

Definition at line 260 of file pawswidget.h.

The speed of the fading process.

Definition at line 263 of file pawswidget.h.

The direction and percentage of current fade in progress.

Definition at line 251 of file pawswidget.h.

csString pawsWidget::filename [protected]

filename to load from or save to.

Reimplemented in pawsQuestListWindow.

Definition at line 148 of file pawswidget.h.

csString pawsWidget::fontName [protected]

Name of currently selected font.

Definition at line 305 of file pawswidget.h.

Current font size.

Definition at line 299 of file pawswidget.h.

Current font style.

Definition at line 308 of file pawswidget.h.

csRef<iGraphics2D> pawsWidget::graphics2D [protected]

The 2D graphics interface.

Definition at line 133 of file pawswidget.h.

bool pawsWidget::hasBorderColours [protected]

Flag to indicate using custom border colors.

Definition at line 284 of file pawswidget.h.

bool pawsWidget::hasFocus [protected]

Flag for widget focus.

Definition at line 245 of file pawswidget.h.

bool pawsWidget::hasMouseFocus [protected]

Flag for mouse over behavior.

Definition at line 248 of file pawswidget.h.

int pawsWidget::id [protected]

The id of the widget.

Definition at line 127 of file pawswidget.h.

bool pawsWidget::ignore [protected]

Flag determines if WidgetAT() ignores this widget.

Remarks:
Default is FALSE. Set during LoadAttributes().

Definition at line 330 of file pawswidget.h.

bool pawsWidget::isResizable [protected]

Determines if this widget can be resized by user.

Definition at line 187 of file pawswidget.h.

bool pawsWidget::keepaspect [protected]

Enforce keeping the default aspect ratio when resizing.

Definition at line 199 of file pawswidget.h.

int pawsWidget::margin [protected]

Stores margin value. Used in LoadAttributes().

Definition at line 333 of file pawswidget.h.

csRef<iPawsImage> pawsWidget::maskImage [protected]

Masking image, used for nice-looking stuff.

Definition at line 323 of file pawswidget.h.

Defines the maximum height that the widget can be.

Definition at line 214 of file pawswidget.h.

Defines the maximum width that the widget can be.

Definition at line 211 of file pawswidget.h.

Defines the minimum height that the widget can be.

Definition at line 208 of file pawswidget.h.

Defines the minimum width that the widget can be.

Definition at line 205 of file pawswidget.h.

bool pawsWidget::movable [protected]

Determines if this widget is movable.

Definition at line 184 of file pawswidget.h.

csRef<iFont> pawsWidget::myFont [protected]

Optional font to use when drawing this widget.

Definition at line 287 of file pawswidget.h.

csString pawsWidget::name [protected]

The name of this widget.

Reimplemented in pawsColorPromptWindow, pawsComboPromptWindow, pawsNumberPromptWindow, and pawsStringPromptWindow.

Definition at line 217 of file pawswidget.h.

bool pawsWidget::needsRender [protected]

Whether we need to do a r2t update.

Definition at line 339 of file pawswidget.h.

Widget to call if enter is pressed.

Definition at line 166 of file pawswidget.h.

Flag of whether OnUpdateData should overwrite the previous value or add to it.

Used by Multi-line edit currently.

Remarks:
TRUE by default because everything else should overwrite.

Definition at line 354 of file pawswidget.h.

This widget's parent.

Reimplemented in pawsTreeNode.

Definition at line 130 of file pawswidget.h.

bool pawsWidget::parentDraw [protected]

Whether to draw this widget (different from visible, used to decide if Draw() is called via parent-child tree).

Definition at line 345 of file pawswidget.h.

Definition at line 1926 of file pawswidget.h.

bool pawsWidget::resizeToScreen [protected]

Determines if this widget should be auto resized with screen resolution.

Definition at line 196 of file pawswidget.h.

Determines if this widget should write/load it's position from a config file.

Definition at line 175 of file pawswidget.h.

bool pawsWidget::scaleFont [protected]

Determines whether or not to scale font when a widget it resized.

Definition at line 302 of file pawswidget.h.

csRect pawsWidget::screenFrame [protected]

The screen area of the widget.

Definition at line 139 of file pawswidget.h.

pawsScript* pawsWidget::scriptEvents[PW_SCRIPT_EVENT_COUNT] [protected]

Definition at line 358 of file pawswidget.h.

bool pawsWidget::showOnMouseOver [protected]

Stores status of showOnMouseOver.

Definition at line 365 of file pawswidget.h.

csString pawsWidget::showOnMouseOver_image [protected]

Stores the bgimage name if showOnMouseOver is true.

Definition at line 368 of file pawswidget.h.

bool pawsWidget::showResize [protected]

If the resize widget should be drawn.

Definition at line 190 of file pawswidget.h.

csString pawsWidget::subscribedVar [protected]

The variable that this widget is subscribed to.

Definition at line 223 of file pawswidget.h.

csString pawsWidget::subscription_format [protected]

Definition at line 356 of file pawswidget.h.

Contains the children for tabbing.

Definition at line 163 of file pawswidget.h.

reference to titleBar object, if any

Definition at line 145 of file pawswidget.h.

csString pawsWidget::toolTip [protected]

Tooltip to be displayed.

Definition at line 317 of file pawswidget.h.

bool pawsWidget::visible [protected]

Flag to determine visiblity.

Definition at line 169 of file pawswidget.h.

csString pawsWidget::xmlbinding [protected]

Used in the SelfPopulate functions to map to xml nodes for each widget.

Definition at line 314 of file pawswidget.h.


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