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:
Lars Henriksen 2017-08-11 22:52:05 +02:00 committed by Lukas Fleischer
parent 8d85a58a26
commit 0c63b4661f
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ void custom_init_attr(void)
{
attr.color[ATTR_HIGHEST] = COLOR_PAIR(COLR_CUSTOM);
attr.color[ATTR_HIGH] = COLOR_PAIR(COLR_HIGH);
attr.color[ATTR_MIDDLE] = COLOR_PAIR(COLR_RED);
attr.color[ATTR_MIDDLE] = COLOR_PAIR(COLR_RED) | A_BOLD;
attr.color[ATTR_LOW] = COLOR_PAIR(COLR_CYAN);
attr.color[ATTR_LOWEST] = COLOR_PAIR(COLR_YELLOW);
attr.color[ATTR_TRUE] = COLOR_PAIR(COLR_GREEN);

View File

@ -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)