aboutsummaryrefslogtreecommitdiffstats
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2017-12-08 21:09:50 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2017-12-10 14:33:31 +0100
commit9e060b96c2c5997342a06b9958db0bf470646a96 (patch)
treead78ccd19676abe6fd58602b5f72ce914a111d86 /src/calcurse.h
parente733d09ea02897e7013a0745223b777ae5981fd5 (diff)
downloadcalcurse-9e060b96c2c5997342a06b9958db0bf470646a96.tar.gz
calcurse-9e060b96c2c5997342a06b9958db0bf470646a96.zip
Scrollbar and right window border
When a scrollbar is on display in APP or TOD windows, the right vertical border (outside the scrollbar) is not highlighted when the window is selected. The scrollbar itself is always highlighted: - when APP or TOD is deselected - in configuration windows where borders otherwise are not The patch moves the scrollbar parameters from arguments of draw_scrollbar() to the function itself. The highlight argument to draw_scrollbar() was always 1. Instead call circumstances are figured out and highlight set accordingly. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index d9d4e1e..bad10c9 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -1144,7 +1144,7 @@ long date_sec_change(long, int, int);
long update_time_in_date(long, unsigned, unsigned);
time_t get_sec_date(struct date);
long min2sec(unsigned);
-void draw_scrollbar(WINDOW *, int, int, int, int, int, unsigned);
+void draw_scrollbar(struct scrollwin *);
void item_in_popup(const char *, const char *, const char *, const char *);
time_t get_today(void);
long now(void);