#include <mode_name.H>
Collaboration diagram for ModeName:
Static Public Member Functions | |
static str_ptr | get_name () |
Name currently displayed. | |
static void | push_name (Cstr_ptr &n) |
set a new name. | |
static void | pop_name () |
Remove the last name set, restore the one before it. | |
Static Protected Member Functions | |
static void | init () |
static TEXT2Dptr | name () |
static void | set_name (Cstr_ptr &n) |
Static Protected Attributes | |
static TEXT2Dptr | _mode_name |
static LIST< str_ptr > | _names |
Definition at line 22 of file mode_name.H.
|
Name currently displayed.
Definition at line 27 of file mode_name.H. References name(). |
|
Definition at line 73 of file mode_name.C. References _mode_name, NETWORK, NO_COLOR_MOD, NO_COPY, NO_DISP_MOD, NO_XFORM_MOD, and hashvar< T >::set(). Referenced by name(). |
|
Definition at line 41 of file mode_name.H. References _mode_name, and init(). Referenced by get_name(), and set_name(). |
|
Remove the last name set, restore the one before it.
Definition at line 95 of file mode_name.C. References _names, ARRAY< T >::empty(), ARRAY< T >::last(), NULL_STR, ARRAY< T >::pop(), and set_name(). Referenced by Pen::deactivate(), and DrawWidget::deactivate(). |
|
set a new name.
Definition at line 88 of file mode_name.C. References _names, and set_name(). Referenced by Pen::activate(), and DrawWidget::activate(). |
|
Definition at line 42 of file mode_name.H. References name(). Referenced by pop_name(), and push_name(). |
|
Definition at line 37 of file mode_name.H. |
|
Definition at line 38 of file mode_name.H. Referenced by pop_name(), and push_name(). |