Mana
|
A container for the contents of a tab in the setup window. More...
#include <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. | |
![]() | |
Container () | |
~Container () override | |
void | drawFrame (gcn::Graphics *graphics) override |
Protected Member Functions | |
void | setName (const std::string &name) |
Sets the name displayed on the tab. | |
![]() | |
Layout & | getLayout () |
Gets the layout handler for this container. | |
LayoutCell & | place (int x, int y, gcn::Widget *wg, int w=1, int h=1) |
Adds a widget to the container and sets it at given cell. | |
ContainerPlacer | getPlacer (int x, int y) |
Returns a proxy for adding widgets in an inner table of the layout. | |
Private Attributes | |
std::string | mName |
A container for the contents of a tab in the setup window.
Definition at line 31 of file setuptab.h.
SetupTab::SetupTab | ( | ) |
Definition at line 24 of file setuptab.cpp.
|
pure virtual |
Called when the Apply button is pressed in the setup window.
Implemented in Setup_Audio, Setup_Colors, Setup_Interface, Setup_Joystick, Setup_Keyboard, Setup_Players, and Setup_Video.
|
pure virtual |
Called when the Cancel button is pressed in the setup window.
Implemented in Setup_Audio, Setup_Colors, Setup_Interface, Setup_Joystick, Setup_Keyboard, Setup_Players, and Setup_Video.
|
inline |
Definition at line 36 of file setuptab.h.
|
inlineprotected |
Sets the name displayed on the tab.
Should be set in the constructor of a subclass.
Definition at line 54 of file setuptab.h.
|
private |
Definition at line 58 of file setuptab.h.