You can change statusbar colors with /SET statusbar_xxx.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@440 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-09 12:51:33 +00:00 committed by cras
commit 92bce7e219
2 changed files with 72 additions and 44 deletions

View file

@ -21,6 +21,7 @@
#include "module.h"
#include "signals.h"
#include "server.h"
#include "settings.h"
#include "windows.h"
@ -118,7 +119,7 @@ void statusbar_redraw(STATUSBAR_REC *bar)
return;
}
set_bg((1<<4)+15);
set_bg(settings_get_int("statusbar_background") << 4);
move(bar->ypos, 0); clrtoeol();
set_bg(0);
@ -159,7 +160,7 @@ STATUSBAR_REC *statusbar_create(int pos, int ypos)
rec->line -= sbar_lowest;
}
set_bg((1<<4)+15);
set_bg(settings_get_int("statusbar_background") << 4);
move(rec->ypos, 0); clrtoeol();
set_bg(0);