]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Painter.C
The EnumLColor patch, free of macros.
[lyx.git] / src / frontends / Painter.C
index 6fd9fd166f50083b322053f30263bb699305ecbd..2e0c56249fb6a0ddab84cda072e6326557a58c55 100644 (file)
 
 #include "Painter.h"
 #include "font_metrics.h"
-#include "lyxfont.h"
 #include "WorkArea.h"
 
+#include "LColor.h"
+#include "lyxfont.h"
+
 using std::max;
 
 
@@ -57,8 +59,8 @@ Painter & Painter::buttonFrame(int x, int y, int w, int h)
 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;