Main Page | Class Hierarchy | Class List | File List | Class Members

aedRadioButtonGroup Class Reference

#include <aedRadioButtonGroup.h>

List of all members.

Public Member Functions

void addButton (const std::string &caption)
void removeButton (unsigned int index)
int getSelectedButton () const
void selectButton (unsigned int index)
int wm_lbuttondown (Uint16 x, Uint16 y)
int wm_lostfocus ()


Detailed Description

Implements radio buttons (radio button groups, as we call them).


Member Function Documentation

void aedRadioButtonGroup::addButton const std::string &  caption  ) 
 

Add a button to the group.

Parameters:
caption caption of the button to add

int aedRadioButtonGroup::getSelectedButton  )  const [inline]
 

Get the index of currently selected button.

void aedRadioButtonGroup::removeButton unsigned int  index  ) 
 

Remove a button from the group.

Parameters:
index index of the button in the group (first button has index 0)

void aedRadioButtonGroup::selectButton unsigned int  index  ) 
 

Select a button.

Parameters:
index index of the button to be selected


The documentation for this class was generated from the following file:
Generated on Mon Mar 1 19:56:18 2004 for aedGUI by doxygen 1.3.6