Bug Fix - missing color
- There's something wrong with Color::Color (int, int), so this is a temporary fix.
This commit is contained in:
@@ -70,6 +70,7 @@ Color::Color (const Color& other)
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Color::Color (unsigned int c)
|
||||
: value (0)
|
||||
{
|
||||
@@ -79,6 +80,7 @@ Color::Color (unsigned int c)
|
||||
value = c & (_COLOR_256 | _COLOR_HASBG | _COLOR_HASFG |_COLOR_UNDERLINE |
|
||||
_COLOR_BOLD | _COLOR_BRIGHT | _COLOR_BG | _COLOR_FG);
|
||||
}
|
||||
*/
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Supports the following constructs:
|
||||
@@ -225,6 +227,7 @@ Color::Color (const std::string& spec)
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/*
|
||||
Color::Color (color_id fg)
|
||||
: value (0)
|
||||
{
|
||||
@@ -234,6 +237,7 @@ Color::Color (color_id fg)
|
||||
value |= fg;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Color::Color (color_id fg, color_id bg)
|
||||
|
||||
Reference in New Issue
Block a user