Bug Fix - missing color

- There's something wrong with Color::Color (int, int), so this is a
  temporary fix.
This commit is contained in:
Paul Beckingham 2009-10-05 23:53:28 -04:00
parent 175dd3eb4f
commit e5fce9ac08
4 changed files with 21 additions and 17 deletions

View file

@ -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)