/* === G L O B A L S ======================================================= */
+String Color::hex_;
+
/* === P R O C E D U R E S ================================================= */
/* === M E T H O D S ======================================================= */
-static ColorReal
+ColorReal
Color::hex2real(String s)
{
std::istringstream i(s);
return n / 255.0f;
}
-static const String
+const String
Color::real2hex(ColorReal c)
{
std::ostringstream o;
private:
value_type a_, r_, g_, b_;
- mutable String hex_;
+ static String hex_;
public: