diff options
author | Frederic Culot <calcurse@culot.org> | 2008-11-09 20:10:18 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-11-09 20:10:18 +0000 |
commit | e8f12c65ca0245079ae015a90e7a14109759cdda (patch) | |
tree | dc16f443c7209b8f93f1e21146f7c7d87d2cf56a /src/keys.h | |
parent | f845721828a0000f1c7e30f35360417771788e0a (diff) | |
download | calcurse-e8f12c65ca0245079ae015a90e7a14109759cdda.tar.gz calcurse-e8f12c65ca0245079ae015a90e7a14109759cdda.zip |
Loading of user-configurable keys implemented
Diffstat (limited to 'src/keys.h')
-rwxr-xr-x | src/keys.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: keys.h,v 1.1 2008/11/08 19:05:15 culot Exp $ */ +/* $calcurse: keys.h,v 1.2 2008/11/09 20:10:18 culot Exp $ */ /* * Calcurse - text-based organizer @@ -41,7 +41,7 @@ typedef enum KEY_GENERIC_REDRAW, KEY_GENERIC_ADD_APPT, KEY_GENERIC_ADD_TODO, - KEY_GENERIC_NEXT_ADY, + KEY_GENERIC_NEXT_DAY, KEY_GENERIC_PREV_DAY, KEY_GENERIC_NEXT_WEEK, KEY_GENERIC_PREV_WEEK, @@ -74,7 +74,7 @@ typedef enum KEY_TODO_MOVE_UP, KEY_TODO_MOVE_DOWN, KEY_TODO_EDIT_NOTE, - KEY_TODO_VIEW_BOTE, + KEY_TODO_VIEW_NOTE, KEY_CONFIG_QUIT, KEY_CONFIG_GENERAL_MENU, @@ -86,6 +86,9 @@ typedef enum } keys_e; -char *keys_get_label (keys_e); +char *keys_get_label (keys_e); +int keys_get_key (int); +void keys_assign_binding (int, keys_e); +void key_remove_binding (int, keys_e); #endif /* CALCURSE_KEYS_H */ |