Dialog to display a set of radiobutton choices to select from. More...
#include <mgui/dlgselectradio.h>

Public Member Functions | |
| DLG_SELECT_RADIO (const MISTRING &dlgtitle, const MISTRING &prompt, HELPID helpid=HELPID__None) | |
| DLG_SELECT_RADIO (const MISTRING &dlgtitle, HELPID helpid=HELPID__None) | |
| ~DLG_SELECT_RADIO () | |
| void | AddChoice (MGUI::ID id, const MISTRING &string) |
| MGUI::ID | GetSelectedChoiceID () |
| void | SetDefaultChoiceID (MGUI::ID id) |
Dialog to display a set of radiobutton choices to select from.
| MGUI::DLG_SELECT_RADIO::DLG_SELECT_RADIO | ( | const MISTRING & | dlgtitle, | |
| HELPID | helpid = HELPID__None | |||
| ) | [explicit] |
Construct with title.
| dlgtitle | Text for title | |
| helpid | Help ID |
| MGUI::DLG_SELECT_RADIO::DLG_SELECT_RADIO | ( | const MISTRING & | dlgtitle, | |
| const MISTRING & | prompt, | |||
| HELPID | helpid = HELPID__None | |||
| ) |
Constructor with title and prompt string.
| dlgtitle | Text for title | |
| prompt | Text for prompt | |
| helpid | Help ID |
| MGUI::DLG_SELECT_RADIO::~DLG_SELECT_RADIO | ( | ) |
Destructor.
| MGUI::ID MGUI::DLG_SELECT_RADIO::GetSelectedChoiceID | ( | ) | [inline] |
Get the selected choice ID.
If the dialog is created using FLAG_AllowNone and the user selects <None>, the return value will be EUserCancel
| void MGUI::DLG_SELECT_RADIO::SetDefaultChoiceID | ( | MGUI::ID | id | ) | [inline] |
Set the default choice using the MGUI::ID given in AddChoice().
1.6.1