X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetFormulaMacro.cpp;h=d3c4183ce654e471f828fbf0f27e224a77d9a182;hb=eea79637c78bb9916031924eca7b305cfb8e83df;hp=93f7e94bad907ae5884fbdbb9fcbed17431b786b;hpb=1f07a7f929d34b0d64d839d5d7963ed60e04b5a3;p=features.git diff --git a/src/mathed/InsetFormulaMacro.cpp b/src/mathed/InsetFormulaMacro.cpp index 93f7e94bad..d3c4183ce6 100644 --- a/src/mathed/InsetFormulaMacro.cpp +++ b/src/mathed/InsetFormulaMacro.cpp @@ -19,7 +19,6 @@ #include "Cursor.h" #include "debug.h" #include "gettext.h" -#include "Color.h" #include "Lexer.h" #include "OutputParams.h" @@ -139,7 +138,7 @@ void InsetFormulaMacro::draw(PainterInfo & p, int x, int y) const { // label Font font = p.base.font; - font.setColor(Color::math); + font.setColor(Color_math); PainterInfo pi(p.base.bv, p.pain); pi.base.style = LM_ST_TEXT; @@ -149,9 +148,9 @@ void InsetFormulaMacro::draw(PainterInfo & p, int x, int y) const int const w = dim_.wid - 2; int const h = dim_.height() - 2; - // Color::mathbg used to be "AntiqueWhite" but is "linen" now, too - pi.pain.fillRectangle(x, a, w, h, Color::mathmacrobg); - pi.pain.rectangle(x, a, w, h, Color::mathframe); + // Color_mathbg used to be "AntiqueWhite" but is "linen" now, too + pi.pain.fillRectangle(x, a, w, h, Color_mathmacrobg); + pi.pain.rectangle(x, a, w, h, Color_mathframe); // FIXME #if 0