Added basic colour preferences loading

This commit is contained in:
James Booth
2012-06-18 23:06:17 +01:00
parent 028a2da3f6
commit e39494dcc9
5 changed files with 64 additions and 7 deletions

View File

@@ -387,6 +387,7 @@ static void _create_windows(void)
struct prof_win cons;
strcpy(cons.from, CONS_WIN_TITLE);
cons.win = newpad(PAD_SIZE, cols);
wbkgd(cons.win, COLOR_PAIR(1));
cons.y_pos = 0;
cons.paged = 0;
scrollok(cons.win, TRUE);
@@ -411,6 +412,7 @@ static void _create_windows(void)
struct prof_win chat;
strcpy(chat.from, "");
chat.win = newpad(PAD_SIZE, cols);
wbkgd(chat.win, COLOR_PAIR(1));
chat.y_pos = 0;
chat.paged = 0;
wattrset(chat.win, A_BOLD);