RadioButton Class Reference

#include <radiobutton.h>

List of all members.


Detailed Description

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 ImageradioNormal
static ImageradioChecked
static ImageradioDisabled
static ImageradioDisabledChecked

Constructor & Destructor Documentation

RadioButton::RadioButton ( const std::string &  caption,
const std::string &  group,
bool  marked = false 
)

Definition at line 37 of file radiobutton.cpp.

RadioButton::~RadioButton (  ) 

Destructor.

Definition at line 57 of file radiobutton.cpp.


Member Function Documentation

void RadioButton::drawBox ( gcn::Graphics *  graphics  ) 

Draws the radiobutton, not the caption.

Definition at line 70 of file radiobutton.cpp.

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.


Member Data Documentation

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.

Definition at line 63 of file radiobutton.h.


The documentation for this class was generated from the following files:

Generated on Sun Apr 26 17:30:44 2009 for The Mana World by  doxygen 1.5.5