Make the selected day in the calendar stand out
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
committed by
Lukas Fleischer
parent
8d85a58a26
commit
0c63b4661f
@@ -461,7 +461,7 @@ draw_monthly_view(struct scrollwin *sw, struct date *current_day,
|
||||
&& current_day->dd != slctd_day.dd)
|
||||
attr = ATTR_LOWEST;
|
||||
else if (c_day == slctd_day.dd)
|
||||
attr = ATTR_HIGHEST;
|
||||
attr = ATTR_MIDDLE;
|
||||
else if (item_this_day == 1)
|
||||
attr = ATTR_LOW;
|
||||
else if (item_this_day == 2)
|
||||
@@ -523,7 +523,7 @@ draw_weekly_view(struct scrollwin *sw, struct date *current_day,
|
||||
&& current_day->dd != slctd_day.dd)
|
||||
attr = ATTR_LOWEST;
|
||||
else if (t.tm_mday == slctd_day.dd)
|
||||
attr = ATTR_HIGHEST;
|
||||
attr = ATTR_MIDDLE;
|
||||
else if (item_this_day == 1)
|
||||
attr = ATTR_LOW;
|
||||
else if (item_this_day == 2)
|
||||
|
||||
Reference in New Issue
Block a user