Public Types | |
enum | select_type { yes_no, ok_cancel } |
Public Member Functions | |
select_box (const std::string &message, const std::string &title, int def_button=0, const select_type &t=yes_no, panel *parent=0) | |
select_box (const std::string &title="Question", int def_button=0, const select_type &t=yes_no, panel *parent=0) | |
bool | operator() () |
bool | result () |
Private Types | |
typedef dialog_box< T > | dialog_type |
Private Member Functions | |
void | init_buttons (int def_button) |
void | set_result (bool val) |
Private Attributes | |
select_type | type_ |
bool | result_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|