1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Added remaining colours

This commit is contained in:
James Booth 2012-06-18 23:49:59 +01:00
parent 9427e64481
commit d47dd2cb83
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ void create_status_bar(void)
}
status_bar = newwin(1, cols, rows-2, 0);
wbkgd(status_bar, COLOR_PAIR(3));
wbkgd(status_bar, COLOR_PAIR(8));
wattron(status_bar, COLOR_PAIR(4));
mvwprintw(status_bar, 0, cols - 29, _active);
wattroff(status_bar, COLOR_PAIR(4));
@ -84,7 +84,7 @@ void status_bar_resize(void)
mvwin(status_bar, rows-2, 0);
wresize(status_bar, 1, cols);
wbkgd(status_bar, COLOR_PAIR(3));
wbkgd(status_bar, COLOR_PAIR(8));
wclear(status_bar);
wattron(status_bar, COLOR_PAIR(4));
mvwprintw(status_bar, 0, cols - 29, _active);

View File

@ -41,7 +41,7 @@ void create_title_bar(void)
getmaxyx(stdscr, rows, cols);
title_bar = newwin(1, cols, 0, 0);
wbkgd(title_bar, COLOR_PAIR(3));
wbkgd(title_bar, COLOR_PAIR(8));
title_bar_title();
title_bar_set_status(PRESENCE_OFFLINE);
dirty = TRUE;
@ -59,7 +59,7 @@ void title_bar_resize(void)
getmaxyx(stdscr, rows, cols);
wresize(title_bar, 1, cols);
wbkgd(title_bar, COLOR_PAIR(3));
wbkgd(title_bar, COLOR_PAIR(8));
wclear(title_bar);
_title_bar_draw_title();
_title_bar_draw_status();