mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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:
parent
a055127cf1
commit
92bce7e219
2 changed files with 72 additions and 44 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue