Added more colour preferences
This commit is contained in:
@@ -42,7 +42,7 @@ create_title_bar(void)
|
||||
int cols = getmaxx(stdscr);
|
||||
|
||||
title_bar = newwin(1, cols, 0, 0);
|
||||
wbkgd(title_bar, COLOUR_BAR_DEF);
|
||||
wbkgd(title_bar, COLOUR_TITLE_TEXT);
|
||||
title_bar_title();
|
||||
title_bar_set_status(PRESENCE_OFFLINE);
|
||||
dirty = TRUE;
|
||||
@@ -63,7 +63,7 @@ title_bar_resize(void)
|
||||
int cols = getmaxx(stdscr);
|
||||
|
||||
wresize(title_bar, 1, cols);
|
||||
wbkgd(title_bar, COLOUR_BAR_DEF);
|
||||
wbkgd(title_bar, COLOUR_TITLE_TEXT);
|
||||
wclear(title_bar);
|
||||
_title_bar_draw_title();
|
||||
_title_bar_draw_status();
|
||||
@@ -173,9 +173,9 @@ _title_bar_draw_status(void)
|
||||
{
|
||||
int cols = getmaxx(stdscr);
|
||||
|
||||
wattron(title_bar, COLOUR_BAR_DRAW);
|
||||
wattron(title_bar, COLOUR_TITLE_BRACKET);
|
||||
mvwaddch(title_bar, 0, cols - 14, '[');
|
||||
wattroff(title_bar, COLOUR_BAR_DRAW);
|
||||
wattroff(title_bar, COLOUR_TITLE_BRACKET);
|
||||
|
||||
if (current_status == PRESENCE_ONLINE) {
|
||||
mvwprintw(title_bar, 0, cols - 13, " ...online ");
|
||||
@@ -191,9 +191,9 @@ _title_bar_draw_status(void)
|
||||
mvwprintw(title_bar, 0, cols - 13, " ..offline ");
|
||||
}
|
||||
|
||||
wattron(title_bar, COLOUR_BAR_DRAW);
|
||||
wattron(title_bar, COLOUR_TITLE_BRACKET);
|
||||
mvwaddch(title_bar, 0, cols - 2, ']');
|
||||
wattroff(title_bar, COLOUR_BAR_DRAW);
|
||||
wattroff(title_bar, COLOUR_TITLE_BRACKET);
|
||||
|
||||
dirty = TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user