make Window::SetColor protected as it doesn't respect stacked colors

it should only be used internally by Window and derives.
This commit is contained in:
Andrzej Rybczak
2009-09-06 12:51:48 +02:00
parent 3aa0f6a03b
commit 56be1cb753
3 changed files with 9 additions and 9 deletions

View File

@@ -275,9 +275,9 @@ int main(int argc, char *argv[])
}
if (!Config.new_design)
{
wHeader->SetColor(Config.volume_color);
*wHeader << Config.volume_color;
*wHeader << XY(wHeader->GetWidth()-VolumeState.length(), 0) << VolumeState;
wHeader->SetColor(Config.header_color);
*wHeader << clEnd;
}
wHeader->Refresh();
RedrawHeader = 0;