#include <htmenu.h>
Inheritance diagram for ht_menu:
Public Member Functions | |
void | init (bounds *b) |
virtual void | done () |
virtual void | draw () |
virtual void | handlemsg (htmsg *msg) |
int | count () |
void | insert_menu (ht_context_menu *m) |
void | insert_local_menu () |
bool | set_local_menu (ht_context_menu *m) |
void | delete_local_menu () |
Protected Member Functions | |
void | execute_menu (int i) |
ht_context_menu * | get_context_menu (int i) |
bool | handle_key_context_menu (ht_context_menu *a, int k) |
virtual char * | defaultpalette () |
virtual char * | defaultpaletteclass () |
Protected Attributes | |
int | lastmenux |
ht_list * | menu |
int | curmenu |
int | localmenu |
bool | context_menu_hack2 |
ht_context_menu * | context_menu_hack |
ht_context_menu * | last_context_menu_hack |
|
Definition at line 427 of file htmenu.cc. References context_menu_hack, ht_list::count(), ht_list::get(), localmenu, and menu. Referenced by draw(), execute_menu(), and handlemsg(). |
|
Reimplemented from ht_view. Definition at line 261 of file htmenu.cc. References palkey_generic_menu_default. |
|
Reimplemented from ht_view. Definition at line 266 of file htmenu.cc. References palclasskey_generic. |
|
Definition at line 435 of file htmenu.cc. References context_menu_hack2, ht_list::del(), ht_context_menu::done(), last_context_menu_hack, localmenu, menu, and NULL. Referenced by handlemsg(), and ht_window::releasefocus(). |
|
Reimplemented from ht_view. Definition at line 254 of file htmenu.cc. References ht_list::destroy(), ht_view::done(), and menu. |
|
Reimplemented from ht_view. Definition at line 278 of file htmenu.cc. References ht_view::buf_print(), ht_view::buf_printchar(), ht_view::clear(), count(), curmenu, get_context_menu(), ht_context_menu::get_name(), ht_context_menu::get_shortcut(), ht_view::getcolor(), palidx_generic_body, palidx_generic_text_focused, palidx_generic_text_selected, palidx_generic_text_shortcut, palidx_generic_text_shortcut_selected, and ht_context_menu::xpos. |
|
Definition at line 298 of file htmenu.cc. References button_left, button_ok, button_right, count(), ht_context_menu::count(), curmenu, ht_view::databuf_set(), ht_view::dirtyview(), ht_menu_window::done(), FS_MOVE, get_context_menu(), ht_frame::init(), ht_menu_window::init(), palkey_generic_menu_default, ht_dialog::run(), ht_menu_window_data::selected, ht_window::setframe(), ht_group::setpalette(), ht_context_menu::width, and ht_context_menu::xpos. Referenced by handlemsg(). |
|
Definition at line 271 of file htmenu.cc. References context_menu_hack, ht_list::get(), localmenu, and menu. Referenced by draw(), execute_menu(), and handlemsg(). |
|
Definition at line 407 of file htmenu.cc. References app, CME_ENTRY, CME_SUBMENU, ht_context_menu::count(), ht_context_menu_entry::entry, ht_context_menu::enum_entry_first(), ht_context_menu::enum_entry_next(), mt_empty, ht_context_menu_entry::submenu, and ht_context_menu_entry::type. Referenced by handlemsg(). |
|
Reimplemented from ht_view. Definition at line 349 of file htmenu.cc. References clearmsg(), context_menu_hack, context_menu_hack2, count(), delete_local_menu(), ht_context_menu::done(), execute_menu(), ht_list::get(), get_context_menu(), ht_context_menu::get_shortcut(), handle_key_context_menu(), ht_view::handlemsg(), ht_key, ht_unmetakey(), K_INVALID, last_context_menu_hack, localmenu, menu, msg_keypressed, mt_postprocess, NULL, ht_list::remove(), and set_local_menu(). |
|
Definition at line 239 of file htmenu.cc. References context_menu_hack, context_menu_hack2, curmenu, Object::init(), last_context_menu_hack, lastmenux, localmenu, menu, NULL, VIEW_DEBUG_NAME, VO_OWNBUFFER, and VO_POSTPROCESS. Referenced by ht_app::init(). |
|
Definition at line 459 of file htmenu.cc. References ht_list::count(), localmenu, and menu. Referenced by ht_app::init(). |
|
Definition at line 464 of file htmenu.cc. References ht_context_menu::get_name(), ht_list::insert(), lastmenux, menu, and ht_context_menu::xpos. Referenced by ht_app::init(). |
|
Definition at line 474 of file htmenu.cc. References context_menu_hack2, ht_context_menu::done(), ht_list::get(), ht_context_menu::get_name(), last_context_menu_hack, lastmenux, localmenu, menu, NULL, ht_list::set(), and ht_context_menu::xpos. Referenced by handlemsg(), and ht_window::receivefocus(). |
|
Definition at line 112 of file htmenu.h. Referenced by count(), get_context_menu(), handlemsg(), and init(). |
|
Definition at line 111 of file htmenu.h. Referenced by delete_local_menu(), handlemsg(), init(), and set_local_menu(). |
|
Definition at line 109 of file htmenu.h. Referenced by draw(), execute_menu(), and init(). |
|
Definition at line 113 of file htmenu.h. Referenced by delete_local_menu(), handlemsg(), init(), and set_local_menu(). |
|
Definition at line 107 of file htmenu.h. Referenced by init(), insert_menu(), and set_local_menu(). |
|
Definition at line 110 of file htmenu.h. Referenced by count(), delete_local_menu(), get_context_menu(), handlemsg(), init(), insert_local_menu(), and set_local_menu(). |
|
Definition at line 108 of file htmenu.h. Referenced by count(), delete_local_menu(), done(), get_context_menu(), handlemsg(), init(), insert_local_menu(), insert_menu(), and set_local_menu(). |