diff options
Diffstat (limited to 'src/title_bar.c')
-rw-r--r-- | src/title_bar.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/title_bar.c b/src/title_bar.c index 0bfed5ba..1ebe4f09 100644 --- a/src/title_bar.c +++ b/src/title_bar.c @@ -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; } |