#include "Painter.h"
#include "font_metrics.h"
-#include "lyxfont.h"
#include "WorkArea.h"
+#include "LColor.h"
+#include "lyxfont.h"
+
using std::max;
Painter & Painter::rectText(int x, int baseline,
string const & str,
LyXFont const & font,
- LColor::color back,
- LColor::color frame)
+ EnumLColor back,
+ EnumLColor frame)
{
int width;
int ascent;