]> git.lyx.org Git - features.git/blobdiff - src/insets/RenderGraphic.cpp
Move Color::color enum to ColorCode.h
[features.git] / src / insets / RenderGraphic.cpp
index 42d2d776a4f68b53121468fad8049df88c13087e..b5c44ff265013fb4865102b91be1d394b0d4cb13 100644 (file)
@@ -15,7 +15,6 @@
 #include "insets/Inset.h"
 
 #include "gettext.h"
-#include "Color.h"
 #include "LyX.h"
 #include "LyXRC.h"
 #include "MetricsInfo.h"
@@ -202,7 +201,7 @@ void RenderGraphic::draw(PainterInfo & pi, int x, int y) const
                                  y - dim_.asc,
                                  dim_.wid - 2 * Inset::TEXT_TO_INSET_OFFSET,
                                  dim_.asc + dim_.des,
-                                 Color::foreground);
+                                 Color_foreground);
 
                // Print the file name.
                Font msgFont = pi.base.font;