#include "lyx_forms.h"
-#include "support/std_sstream.h"
+#include "LColor.h"
#include <cmath>
+#include <sstream>
#include <iomanip>
-
#ifndef CXX_GLOBAL_CSTD
using std::floor;
#endif
using std::istringstream;
using std::ostringstream;
+using std::string;
+namespace lyx {
+namespace frontend {
namespace {
-bool getRGBColor(LColor::color col,
+bool getRGBColor(LColor_color col,
unsigned int & r, unsigned int & g, unsigned int & b)
{
string const name = lcolor.getX11Name(col);
<< setw(2) << col.g
<< setw(2) << col.b;
- return STRCONV(ostr.str());
+ return ostr.str();
}
h += 360;
}
}
+
+} // namespace frontend
+} // namespace lyx