extend configuration

This commit is contained in:
unK
2008-09-14 17:02:50 +02:00
parent 9ae8249b73
commit 2b8d90a264
7 changed files with 92 additions and 36 deletions

View File

@@ -54,6 +54,12 @@ ColorPair Window::IntoColor(const string &str)
Bold(1);
else if (str == "[.r]")
Reverse(1);
else if (str == "[.default]")
{
colors.first = itsBaseColor;
colors.second = itsBaseBgColor;
itsColors.push(colors);
}
else if (str == "[.red]")
{
colors.first = clRed;
@@ -410,6 +416,8 @@ bool Window::IsValidColor(const string &str)
str == "[.a]" ||
str == "[/a]" ||
str == "[.default]" ||
str == "[/default]" ||
str == "[.black]" ||
str == "[/black]" ||
str == "[.red]" ||