big dialogs: set_curosr2 -> set_dlg_cursor.
[elinks.git] / src / bfu / hotkey.h
blob24a8352c1a79deccea7609def51855ef9e3148b6
1 /* Hotkeys handling. */
3 #ifndef EL__BFU_HOTKEY_H
4 #define EL__BFU_HOTKEY_H
6 #include "terminal/kbd.h"
8 struct menu;
9 struct terminal;
11 /* int find_hotkey_pos(unsigned char *text); */
12 void init_hotkeys(struct terminal *term, struct menu *menu);
13 #ifdef CONFIG_NLS
14 void clear_hotkeys_cache(struct menu *menu);
15 #endif
16 void refresh_hotkeys(struct terminal *term, struct menu *menu);
17 /* int is_hotkey(struct menu_item *item, unsigned char key, struct terminal *term); */
18 int check_hotkeys(struct menu *menu, term_event_char_T hotkey, struct terminal *term);
19 int check_not_so_hot_keys(struct menu *menu, term_event_char_T key, struct terminal *term);
21 #endif