#include <menu_system.hpp>
List of all members.
Public Types |
typedef boost::signals::connection | connection_t |
typedef boost::function< void()> | item_callback_t |
enum | modifier_set_t {
modifier_none_k,
modifier_option_k,
modifier_alt_k,
modifier_control_k,
modifier_shift_k
} |
Public Member Functions |
void | enable_menu_item (name_t name, bool enabled) |
void | insert_item (name_t parent_name, name_t name, boost::uint16_t cmd_key=0, modifier_set_t modifier_set=modifier_none_k) |
void | insert_menu (name_t name) |
void | insert_separator (name_t parent_name) |
void | mark_menu_item (name_t name, bool marked) |
| menu_system_t () |
connection_t | monitor_menu_item (name_t name, const item_callback_t &callback) |
void | remove (name_t name) |
| ~menu_system_t () |
Detailed Description
Definition at line 30 of file menu_system.hpp.
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
modifier_none_k |
|
modifier_option_k |
|
modifier_alt_k |
|
modifier_control_k |
|
modifier_shift_k |
|
Definition at line 33 of file menu_system.hpp.
Constructor & Destructor Documentation
Member Function Documentation
void enable_menu_item |
( |
name_t |
name, |
|
|
bool |
enabled |
|
) |
| |
void insert_menu |
( |
name_t |
name ) |
|
void insert_separator |
( |
name_t |
parent_name ) |
|
void mark_menu_item |
( |
name_t |
name, |
|
|
bool |
marked |
|
) |
| |