mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-22 20:23:09 +02:00
Bug Fix - missing color
- There's something wrong with Color::Color (int, int), so this is a temporary fix.
This commit is contained in:
parent
175dd3eb4f
commit
e5fce9ac08
4 changed files with 21 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue