Planeshift
Public Member Functions | Protected Attributes

pawsTabWindow Class Reference

This window is supposed to be a generic widget for using tabs to show and hide subwindows automatically. More...

#include <pawstabwindow.h>

List of all members.

Public Member Functions

bool FlashButtonFor (pawsWidget *widget)
pawsWidgetGetActiveTab ()
virtual bool OnButtonPressed (int mouseButton, int keyModifier, pawsWidget *widget)
 Called whenever a button is pressed.
 pawsTabWindow (const pawsTabWindow &origin)
 pawsTabWindow ()
virtual bool PostSetup ()
 This is called after the widget and all of it's children have been created.
void SetTab (const csString &name)
void SetTab (int id)

Protected Attributes

pawsWidgetactiveTab
pawsButtonlastButton

Detailed Description

This window is supposed to be a generic widget for using tabs to show and hide subwindows automatically.

Definition at line 33 of file pawstabwindow.h.


Constructor & Destructor Documentation

pawsTabWindow::pawsTabWindow ( ) [inline]

Definition at line 36 of file pawstabwindow.h.

pawsTabWindow::pawsTabWindow ( const pawsTabWindow origin)

Member Function Documentation

bool pawsTabWindow::FlashButtonFor ( pawsWidget widget) [inline]

Definition at line 53 of file pawstabwindow.h.

pawsWidget* pawsTabWindow::GetActiveTab ( ) [inline]

Definition at line 48 of file pawstabwindow.h.

virtual bool pawsTabWindow::OnButtonPressed ( int  button,
int  keyModifier,
pawsWidget widget 
) [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 from pawsWidget.

virtual bool pawsTabWindow::PostSetup ( ) [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 from pawsWidget.

void pawsTabWindow::SetTab ( int  id)
void pawsTabWindow::SetTab ( const csString &  name)

Member Data Documentation

Definition at line 67 of file pawstabwindow.h.

Definition at line 68 of file pawstabwindow.h.


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