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/calcurse.h | |
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/calcurse.h')
-rw-r--r-- | src/calcurse.h | 4 |
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); |