#include "gettext.h"
#include "InsetList.h"
#include "Intl.h"
-#include "Color.h"
#include "lyxfind.h"
#include "Lexer.h"
#include "LyXRC.h"
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());
}
-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;
}