diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-15 10:29:22 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-18 11:03:03 +0200 |
commit | 4210fdd38a511f1ea2529eea2dfd5d55ab144e37 (patch) | |
tree | 7f715c8c8d0125828197e0098466e835e0612a59 /src/notify.c | |
parent | fbd065161571fc16b3fc26e9aa6fd012ef27ffa0 (diff) | |
download | calcurse-4210fdd38a511f1ea2529eea2dfd5d55ab144e37.zip |
Add support for drawing highlighted decoration
This allows for drawing selected scroll windows and list boxes with a
highlighted border.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/notify.c')
-rw-r--r-- | src/notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notify.c b/src/notify.c index c833cd9..1adaded 100644 --- a/src/notify.c +++ b/src/notify.c @@ -763,7 +763,7 @@ void notify_config_bar(void) clear(); listbox_init(&lb, 0, 0, notify_bar() ? row - 3 : row - 2, col, _("notification options"), config_option_height, print_config_option); listbox_load_items(&lb, 8); - listbox_draw_deco(&lb); + listbox_draw_deco(&lb, 0); status_mesg("", ""); listbox_display(&lb); @@ -785,7 +785,7 @@ void notify_config_bar(void) wins_get_config(); wins_reset_noupdate(); listbox_resize(&lb, 0, 0, notify_bar() ? row - 3 : row - 2, col); - listbox_draw_deco(&lb); + listbox_draw_deco(&lb, 0); delwin(win[STA].p); win[STA].p = newwin(win[STA].h, win[STA].w, win[STA].y, |