summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-18 10:25:54 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-18 10:26:36 +0200
commit919a40f5612b5b2ce91284de337da17d6161edad (patch)
treee2ddbcd01c49256bb0eec615635d1a9c1366eff7 /src/calcurse.h
parent035faa883b980a8b7ec13794d7e02e95cfdc663b (diff)
downloadcalcurse-919a40f5612b5b2ce91284de337da17d6161edad.zip
Use wins_set_bindings() for the configuration menu
Make use of the general key binding context switching implementation for the configuration main menu. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index d6dfda2..e593ff0 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -463,7 +463,15 @@ enum key {
KEY_LOWER_PRIORITY,
NBKEYS,
- KEY_UNDEF
+ KEY_UNDEF,
+
+ /* Non-configurable, context sensitive key bindings. */
+ KEY_CONFIGMENU_GENERAL,
+ KEY_CONFIGMENU_LAYOUT,
+ KEY_CONFIGMENU_SIDEBAR,
+ KEY_CONFIGMENU_COLOR,
+ KEY_CONFIGMENU_NOTIFY,
+ KEY_CONFIGMENU_KEYS
};
#define FLAG_CAL (1 << CAL)
@@ -678,7 +686,6 @@ unsigned config_save(void);
void custom_init_attr(void);
void custom_apply_attr(WINDOW *, int);
void custom_remove_attr(WINDOW *, int);
-void custom_config_bar(void);
void custom_layout_config(void);
void custom_sidebar_config(void);
void custom_color_config(void);