summaryrefslogtreecommitdiff
path: root/src/listbox.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-05-15 10:29:22 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-05-18 11:03:03 +0200
commit4210fdd38a511f1ea2529eea2dfd5d55ab144e37 (patch)
tree7f715c8c8d0125828197e0098466e835e0612a59 /src/listbox.c
parentfbd065161571fc16b3fc26e9aa6fd012ef27ffa0 (diff)
downloadcalcurse-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/listbox.c')
-rw-r--r--src/listbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/listbox.c b/src/listbox.c
index 3a31017..80b5dae 100644
--- a/src/listbox.c
+++ b/src/listbox.c
@@ -89,9 +89,9 @@ void listbox_load_items(struct listbox *lb, int item_count)
wins_scrollwin_set_linecount(&(lb->sw), ch);
}
-void listbox_draw_deco(struct listbox *lb)
+void listbox_draw_deco(struct listbox *lb, int hilt)
{
- wins_scrollwin_draw_deco(&(lb->sw));
+ wins_scrollwin_draw_deco(&(lb->sw), hilt);
}
void listbox_display(struct listbox *lb)