mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
Remove unused ArdourCanvas::HSV constructor
Using stringstream for this is not locale independant. If this constructor is needed at a later stage it should be reimplemented.
This commit is contained in:
parent
6d35b3c4e4
commit
90f169881f
2 changed files with 0 additions and 10 deletions
|
|
@ -77,7 +77,6 @@ struct LIBCANVAS_API HSV
|
||||||
HSV ();
|
HSV ();
|
||||||
HSV (double h, double s, double v, double a = 1.0);
|
HSV (double h, double s, double v, double a = 1.0);
|
||||||
HSV (Color);
|
HSV (Color);
|
||||||
HSV (const std::string&);
|
|
||||||
|
|
||||||
double h;
|
double h;
|
||||||
double s;
|
double s;
|
||||||
|
|
|
||||||
|
|
@ -246,15 +246,6 @@ HSV::HSV (Color c)
|
||||||
color_to_hsva (c, h, s, v, a);
|
color_to_hsva (c, h, s, v, a);
|
||||||
}
|
}
|
||||||
|
|
||||||
HSV::HSV (const std::string& str)
|
|
||||||
{
|
|
||||||
stringstream ss (str);
|
|
||||||
ss >> h;
|
|
||||||
ss >> s;
|
|
||||||
ss >> v;
|
|
||||||
ss >> a;
|
|
||||||
}
|
|
||||||
|
|
||||||
string
|
string
|
||||||
HSV::to_string () const
|
HSV::to_string () const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue