#include <radiobutton.h>
Definition at line 32 of file radiobutton.h.
Public Member Functions | |
RadioButton (const std::string &caption, const std::string &group, bool marked=false) | |
~RadioButton () | |
Destructor. | |
void | drawBox (gcn::Graphics *graphics) |
Draws the radiobutton, not the caption. | |
void | draw (gcn::Graphics *graphics) |
Implementation of the draw methods. | |
Static Private Attributes | |
static int | instances = 0 |
static float | mAlpha = 1.0 |
static Image * | radioNormal |
static Image * | radioChecked |
static Image * | radioDisabled |
static Image * | radioDisabledChecked |
RadioButton::RadioButton | ( | const std::string & | caption, | |
const std::string & | group, | |||
bool | marked = false | |||
) |
Definition at line 37 of file radiobutton.cpp.
RadioButton::~RadioButton | ( | ) |
void RadioButton::drawBox | ( | gcn::Graphics * | graphics | ) |
void RadioButton::draw | ( | gcn::Graphics * | graphics | ) |
Implementation of the draw methods.
Thus, avoiding the rhomb around the radio button.
Definition at line 99 of file radiobutton.cpp.
int RadioButton::instances = 0 [static, private] |
Definition at line 58 of file radiobutton.h.
float RadioButton::mAlpha = 1.0 [static, private] |
Definition at line 59 of file radiobutton.h.
Image * RadioButton::radioNormal [static, private] |
Definition at line 60 of file radiobutton.h.
Image * RadioButton::radioChecked [static, private] |
Definition at line 61 of file radiobutton.h.
Image * RadioButton::radioDisabled [static, private] |
Definition at line 62 of file radiobutton.h.
Image * RadioButton::radioDisabledChecked [static, private] |
Definition at line 63 of file radiobutton.h.