]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathData.cpp
Move Color::color enum to ColorCode.h
[features.git] / src / mathed / MathData.cpp
index a7013b0529b65c0d5af10710244be4cb7574bf62..e30fb3c4652455cde73add332851dd8f4476595d 100644 (file)
@@ -22,7 +22,6 @@
 #include "Buffer.h"
 #include "BufferView.h"
 #include "CoordCache.h"
-#include "Color.h"
 #include "Cursor.h"
 #include "debug.h"
 
@@ -297,7 +296,7 @@ void MathData::draw(PainterInfo & pi, int x, int y) const
        Dimension const & dim = bv.coordCache().getArrays().dim(this);
 
        if (empty()) {
-               pi.pain.rectangle(x, y - dim.ascent(), dim.width(), dim.height(), Color::mathline);
+               pi.pain.rectangle(x, y - dim.ascent(), dim.width(), dim.height(), Color_mathline);
                return;
        }