MGUI::DLG_SELECT_MULTI Class Reference

Dialog to display a set of togglebutton choices to select from. More...

#include <mgui/dlgselectmulti.h>

Inheritance diagram for MGUI::DLG_SELECT_MULTI:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DLG_SELECT_MULTI (const MISTRING &dlgtitle, const MISTRING &prompt, HELPID helpid=HELPID__None)
 DLG_SELECT_MULTI (const MISTRING &dlgtitle, HELPID helpid=HELPID__None)
 ~DLG_SELECT_MULTI ()
void AddChoice (MGUI::ID id, const MISTRING &string, bool selected, bool canchange=true)
bool IsSelectedID (MGUI::ID id) const

Detailed Description

Dialog to display a set of togglebutton choices to select from.


Constructor & Destructor Documentation

MGUI::DLG_SELECT_MULTI::DLG_SELECT_MULTI ( const MISTRING dlgtitle,
HELPID  helpid = HELPID__None 
) [explicit]

Construct with title.

Parameters:
dlgtitle Text for title
helpid Help ID
MGUI::DLG_SELECT_MULTI::DLG_SELECT_MULTI ( const MISTRING dlgtitle,
const MISTRING prompt,
HELPID  helpid = HELPID__None 
)

Constructor with title and prompt string.

Parameters:
dlgtitle Text for title
prompt Text for prompt
helpid Help ID
MGUI::DLG_SELECT_MULTI::~DLG_SELECT_MULTI (  ) 

Destructor.


Member Function Documentation

void MGUI::DLG_SELECT_MULTI::AddChoice ( MGUI::ID  id,
const MISTRING string,
bool  selected,
bool  canchange = true 
)

Add choice, must be used before the call to DoModal().

Parameters:
id MGUI::ID to assign to the item
string The string to show
selected Initially selected or not
canchange Allow selection to be changed
bool MGUI::DLG_SELECT_MULTI::IsSelectedID ( MGUI::ID  id  )  const

Determine if choice is selected (toggled on) or not.

Parameters:
id MGUI::ID of item

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

Generated on Sun Oct 7 21:35:48 2012 for TNTsdk 2012 by  doxygen 1.6.1