X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetText.cpp;h=981eea01a92ac232199879724eae64d2821f6db8;hb=eea79637c78bb9916031924eca7b305cfb8e83df;hp=52e9e4970d241a16aa7d3b8c552dd98bc2d01cca;hpb=1f07a7f929d34b0d64d839d5d7963ed60e04b5a3;p=features.git diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index 52e9e4970d..981eea01a9 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -27,7 +27,6 @@ #include "gettext.h" #include "InsetList.h" #include "Intl.h" -#include "Color.h" #include "lyxfind.h" #include "Lexer.h" #include "LyXRC.h" @@ -76,7 +75,7 @@ using std::vector; InsetText::InsetText(BufferParams const & bp) - : drawFrame_(false), frame_color_(Color::insetframe) + : drawFrame_(false), frame_color_(Color_insetframe) { paragraphs().push_back(Paragraph()); paragraphs().back().layout(bp.getTextClass().defaultLayout()); @@ -366,13 +365,13 @@ void InsetText::setDrawFrame(bool flag) } -Color_color InsetText::frameColor() const +ColorCode InsetText::frameColor() const { - return Color::color(frame_color_); + return ColorCode(frame_color_); } -void InsetText::setFrameColor(Color_color col) +void InsetText::setFrameColor(ColorCode col) { frame_color_ = col; }