diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-11-25 10:47:47 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-11-25 18:33:29 +0100 |
commit | 4d0c095947ed30d4f32e6db27eddbc4719fbcf9b (patch) | |
tree | 1f8d4a305fc0e80ee0801a2b8fa8f65699a868d6 /src/calcurse.h | |
parent | edf3903ac840b1889b9bdd687965453a7e26b7ee (diff) | |
download | calcurse-4d0c095947ed30d4f32e6db27eddbc4719fbcf9b.zip |
Add compact panels support
Add a configuration option that allows for switching to compact panel
mode. In this mode, all window labels are hidden, so that there's more
space for actual information.
This patch doesn't add a configuration menu entry and doesn't add any
documentation.
Implements FR#7.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 310b28d..041b865 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -147,7 +147,7 @@ #define MAXDAYSPERMONTH 31 /* Calendar window. */ -#define CALHEIGHT 12 +#define CALHEIGHT 8 /* Key definitions. */ #define CTRLVAL 0x1F @@ -250,6 +250,7 @@ struct conf { unsigned confirm_quit; unsigned confirm_delete; enum win default_panel; + unsigned compact_panels; unsigned system_dialogs; unsigned progress_bar; const char *editor; |