summaryrefslogtreecommitdiff
path: root/src/calcurse.h
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/calcurse.h
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/calcurse.h')
-rw-r--r--src/calcurse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 59af8f9..aedd2f3 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -822,7 +822,7 @@ void listbox_delete(struct listbox *);
void listbox_resize(struct listbox *, int, int, int, int);
void listbox_set_cb_data(struct listbox *, void *);
void listbox_load_items(struct listbox *, int);
-void listbox_draw_deco(struct listbox *);
+void listbox_draw_deco(struct listbox *, int);
void listbox_display(struct listbox *);
int listbox_get_sel(struct listbox *);
void listbox_set_sel(struct listbox *, unsigned);
@@ -1081,7 +1081,7 @@ void wins_scrollwin_init(struct scrollwin *, int, int, int, int, const char *);
void wins_scrollwin_resize(struct scrollwin *, int, int, int, int);
void wins_scrollwin_set_linecount(struct scrollwin *, unsigned);
void wins_scrollwin_delete(struct scrollwin *);
-void wins_scrollwin_draw_deco(struct scrollwin *);
+void wins_scrollwin_draw_deco(struct scrollwin *, int);
void wins_scrollwin_display(struct scrollwin *);
void wins_scrollwin_up(struct scrollwin *, int);
void wins_scrollwin_down(struct scrollwin *, int);