#include <Gump_ToggleButton.h>
Inheritance diagram for Gump_ToggleButton:
Public Member Functions | |
Gump_ToggleButton (Gump *par, int px, int py, int shapenum, int selectionnum, int numsel) | |
virtual void | activate () |
int | getselection () const |
virtual void | toggle (int state)=0 |
Private Attributes | |
int | numselections |
Definition at line 29 of file Gump_ToggleButton.h.
Gump_ToggleButton::Gump_ToggleButton | ( | Gump * | par, | |
int | px, | |||
int | py, | |||
int | shapenum, | |||
int | selectionnum, | |||
int | numsel | |||
) | [inline] |
Definition at line 32 of file Gump_ToggleButton.h.
References ShapeID::set_frame().
Here is the call graph for this function:
void Gump_ToggleButton::activate | ( | ) | [virtual] |
Implements Gump_button.
Definition at line 27 of file Gump_ToggleButton.cc.
References ShapeID::get_framenum(), Game_singletons::gwin, numselections, Gump_button::paint(), ShapeID::set_frame(), Game_window::set_painted(), and toggle().
Here is the call graph for this function:
int Gump_ToggleButton::getselection | ( | ) | const [inline] |
Definition at line 42 of file Gump_ToggleButton.h.
References ShapeID::get_framenum().
Here is the call graph for this function:
virtual void Gump_ToggleButton::toggle | ( | int | state | ) | [pure virtual] |
Referenced by activate().
int Gump_ToggleButton::numselections [private] |