#include <setuptab.h>
Definition at line 32 of file setuptab.h.
Public Member Functions | |
SetupTab () | |
const std::string & | getName () const |
virtual void | apply ()=0 |
Called when the Apply button is pressed in the setup window. | |
virtual void | cancel ()=0 |
Called when the Cancel button is pressed in the setup window. | |
Protected Member Functions | |
void | setName (const std::string &name) |
Sets the name displayed on the tab. | |
Private Attributes | |
std::string | mName |
SetupTab::SetupTab | ( | ) |
Definition at line 24 of file setuptab.cpp.
const std::string& SetupTab::getName | ( | ) | const [inline] |
Definition at line 37 of file setuptab.h.
virtual void SetupTab::apply | ( | ) | [pure virtual] |
Called when the Apply button is pressed in the setup window.
Implemented in Setup_Audio, Setup_Colors, Setup_Joystick, Setup_Keyboard, Setup_Players, and Setup_Video.
virtual void SetupTab::cancel | ( | ) | [pure virtual] |
Called when the Cancel button is pressed in the setup window.
Implemented in Setup_Audio, Setup_Colors, Setup_Joystick, Setup_Keyboard, Setup_Players, and Setup_Video.
void SetupTab::setName | ( | const std::string & | name | ) | [inline, protected] |
Sets the name displayed on the tab.
Should be set in the constructor of a subclass.
Definition at line 55 of file setuptab.h.
std::string SetupTab::mName [private] |
Definition at line 59 of file setuptab.h.