mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +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 (double h, double s, double v, double a = 1.0);
|
||||
HSV (Color);
|
||||
HSV (const std::string&);
|
||||
|
||||
double h;
|
||||
double s;
|
||||
|
|
|
|||
|
|
@ -246,15 +246,6 @@ HSV::HSV (Color c)
|
|||
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
|
||||
HSV::to_string () const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue