mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Color: Removed unnecessary methods
This commit is contained in:
parent
123973b634
commit
a00e326d01
2 changed files with 0 additions and 16 deletions
|
@ -282,20 +282,6 @@ Color::Color (color_id fg, color_id bg, bool underline, bool bold, bool bright)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
Color::~Color ()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
Color& Color::operator= (const Color& other)
|
|
||||||
{
|
|
||||||
if (this != &other)
|
|
||||||
_value = other._value;
|
|
||||||
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Color::operator std::string () const
|
Color::operator std::string () const
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,8 +50,6 @@ public:
|
||||||
Color (const std::string&); // "red on bright black"
|
Color (const std::string&); // "red on bright black"
|
||||||
Color (color_id); // fg.
|
Color (color_id); // fg.
|
||||||
Color (color_id, color_id, bool, bool, bool); // fg, bg, underline, bold, bright
|
Color (color_id, color_id, bool, bool, bool); // fg, bg, underline, bold, bright
|
||||||
~Color ();
|
|
||||||
Color& operator= (const Color&);
|
|
||||||
operator std::string () const;
|
operator std::string () const;
|
||||||
operator int () const;
|
operator int () const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue