#include <alert_box.H>
Inheritance diagram for AlertBox:
Public Types | |
typedef void(* | alert_cb_t )(void *, void *, int, int) |
enum | icon_t { NO_ICON = -1, JOT_ICON = 0, INFO_ICON, QUESTION_ICON, EXCLAMATION_ICON, WARNING_ICON, ICON_NUM } |
Public Member Functions | |
AlertBox () | |
virtual | ~AlertBox () |
virtual bool | set_title (Cstr_ptr &s) |
virtual bool | set_icon (icon_t i) |
virtual bool | set_default (int d) |
virtual bool | add_button (Cstr_ptr &s) |
virtual bool | add_text (Cstr_ptr &s) |
virtual bool | clear_title () |
virtual bool | clear_icon () |
virtual bool | clear_default () |
virtual bool | clear_buttons () |
virtual bool | clear_text () |
virtual str_ptr | get_title () |
virtual icon_t | get_icon () |
virtual int | get_default () |
virtual str_list | get_buttons () |
virtual str_list | get_text () |
virtual bool | is_displaying ()=0 |
virtual bool | display (bool blocking, alert_cb_t cb, void *vp, void *vpd, int idx)=0 |
Protected Member Functions | |
virtual bool | undisplay (int button)=0 |
Protected Attributes | |
str_ptr | _title |
str_list | _text |
str_list | _buttons |
int | _default |
icon_t | _icon |
Definition at line 10 of file alert_box.H.
|
Definition at line 25 of file alert_box.H. |
|
Definition at line 14 of file alert_box.H. |
|
Definition at line 47 of file alert_box.H. |
|
Definition at line 48 of file alert_box.H. |
|
Definition at line 55 of file alert_box.H. References _buttons, ARRAY< T >::add(), and is_displaying(). Referenced by clear_cb(), do_load(), do_save(), and file_cbs(). |
|
Definition at line 56 of file alert_box.H. References _text, ARRAY< T >::add(), and is_displaying(). Referenced by clear_cb(), do_load(), do_save(), and file_cbs(). |
|
Definition at line 61 of file alert_box.H. References _buttons, ARRAY< T >::clear(), and is_displaying(). Referenced by GLUIAlertBox::undisplay(). |
|
Definition at line 60 of file alert_box.H. References _default, and is_displaying(). Referenced by GLUIAlertBox::undisplay(). |
|
Definition at line 59 of file alert_box.H. References _icon, is_displaying(), and NO_ICON. Referenced by GLUIAlertBox::undisplay(). |
|
Definition at line 62 of file alert_box.H. References _text, ARRAY< T >::clear(), and is_displaying(). Referenced by GLUIAlertBox::undisplay(). |
|
Definition at line 58 of file alert_box.H. References _title, and is_displaying(). Referenced by GLUIAlertBox::undisplay(). |
|
Referenced by clear_cb(), do_load(), do_save(), and file_cbs(). |
|
Definition at line 67 of file alert_box.H. References _buttons. |
|
Definition at line 66 of file alert_box.H. References _default. |
|
Definition at line 65 of file alert_box.H. References _icon. |
|
Definition at line 68 of file alert_box.H. References _text. |
|
Definition at line 64 of file alert_box.H. References _title. |
|
Implemented in GLUIAlertBox. Referenced by add_button(), add_text(), clear_buttons(), clear_default(), clear_icon(), clear_text(), clear_title(), set_default(), set_icon(), and set_title(). |
|
Definition at line 54 of file alert_box.H. References _default, and is_displaying(). Referenced by clear_cb(), do_load(), do_save(), and file_cbs(). |
|
Definition at line 53 of file alert_box.H. References _icon, and is_displaying(). Referenced by clear_cb(), do_load(), do_save(), and file_cbs(). |
|
Definition at line 52 of file alert_box.H. References _title, and is_displaying(). Referenced by clear_cb(), do_load(), do_save(), and file_cbs(). |
|
Implemented in GLUIAlertBox. |
|
Definition at line 39 of file alert_box.H. Referenced by add_button(), GLUIAlertBox::build_glui(), clear_buttons(), GLUIAlertBox::display(), and get_buttons(). |
|
Definition at line 41 of file alert_box.H. Referenced by GLUIAlertBox::build_glui(), clear_default(), get_default(), and set_default(). |
|
Definition at line 43 of file alert_box.H. Referenced by GLUIAlertBox::build_glui(), clear_icon(), get_icon(), and set_icon(). |
|
Definition at line 38 of file alert_box.H. Referenced by add_text(), GLUIAlertBox::build_glui(), clear_text(), and get_text(). |
|
Definition at line 36 of file alert_box.H. Referenced by GLUIAlertBox::build_glui(), clear_title(), get_title(), and set_title(). |