Planeshift
|
This window is supposed to be a generic widget for using tabs to show and hide subwindows automatically. More...
#include <pawstabwindow.h>
Public Member Functions | |
bool | FlashButtonFor (pawsWidget *widget) |
pawsWidget * | GetActiveTab () |
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 | |
pawsWidget * | activeTab |
pawsButton * | lastButton |
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.
pawsTabWindow::pawsTabWindow | ( | ) | [inline] |
Definition at line 36 of file pawstabwindow.h.
pawsTabWindow::pawsTabWindow | ( | const pawsTabWindow & | origin | ) |
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.
button | The button pressed. |
keyModifier | Modifier key in effect. |
widget | The widget the button belongs to. |
Reimplemented from pawsWidget.
virtual bool pawsTabWindow::PostSetup | ( | ) | [virtual] |
This is called after the widget and all of it's children have been created.
Reimplemented from pawsWidget.
void pawsTabWindow::SetTab | ( | int | id | ) |
void pawsTabWindow::SetTab | ( | const csString & | name | ) |
pawsWidget* pawsTabWindow::activeTab [protected] |
Definition at line 67 of file pawstabwindow.h.
pawsButton* pawsTabWindow::lastButton [protected] |
Definition at line 68 of file pawstabwindow.h.