COLOR_OUTPUT,
COLOR_MSG,
COLOR_ERRMSG,
- COLOR_WELCOME,
COLOR_SEPARATOR,
COLOR_TOP,
COLOR_BOT,
kill_pg_and_die(ret);
}
-static void print_welcome(void)
-{
- if (loglevel > LL_NOTICE)
- return;
- outputf(COLOR_WELCOME, "Welcome to %s. Theme: %s",
- version_single_line("gui"), theme.name);
- wclrtoeol(bot.win);
-}
-
/*
* init all windows
*/
init_pair_or_die(COLOR_OUTPUT, theme.output_fg, theme.output_bg);
init_pair_or_die(COLOR_MSG, theme.msg_fg, theme.msg_bg);
init_pair_or_die(COLOR_ERRMSG, theme.err_msg_fg, theme.err_msg_bg);
- init_pair_or_die(COLOR_WELCOME, theme.welcome_fg, theme.welcome_bg);
init_pair_or_die(COLOR_SEPARATOR, theme.sep_fg, theme.sep_bg);
init_pair_or_die(COLOR_TOP, theme.default_fg, theme.default_bg);
init_pair_or_die(COLOR_BOT, theme.default_fg, theme.default_bg);
setlocale(LC_CTYPE, "");
initscr(); /* needed only once, always successful */
init_curses();
- print_welcome();
for (;;) {
print_status_bar();
ret = do_select(GETCH_MODE);
int output_fg, output_bg;
int msg_fg, msg_bg;
int err_msg_fg, err_msg_bg;
- int welcome_fg, welcome_bg;
int sep_fg, sep_bg;
const char *sep_str;
int default_fg, default_bg;
t->msg_fg = COLOR_YELLOW;
t->err_msg_bg = COLOR_RED;
t->err_msg_fg = COLOR_WHITE;
- t->welcome_bg = COLOR_BLUE;
- t->welcome_fg = COLOR_WHITE;
t->sep_bg = COLOR_BLUE;
t->sep_fg = COLOR_CYAN;
t->default_fg = COLOR_WHITE;
t->msg_fg = COLOR_WHITE;
t->err_msg_bg = COLOR_RED;
t->err_msg_fg = COLOR_WHITE;
- t->welcome_bg = COLOR_BLUE;
- t->welcome_fg = COLOR_WHITE;
t->sep_bg = COLOR_BLACK; /* color of the separator */
t->sep_fg = COLOR_BLUE;
t->sep_str = "-";