window: make color/format/border class enums

This commit is contained in:
Andrzej Rybczak
2012-10-06 19:04:59 +02:00
parent 1f61a083cf
commit df9ecabb55
30 changed files with 270 additions and 251 deletions

View File

@@ -32,9 +32,9 @@ namespace {//
void drawScreenSeparator(int x)
{
attron(COLOR_PAIR(Config.main_color));
attron(COLOR_PAIR(int(Config.main_color)));
mvvline(Global::MainStartY, x, 0, Global::MainHeight);
attroff(COLOR_PAIR(Config.main_color));
attroff(COLOR_PAIR(int(Config.main_color)));
refresh();
}