#include <config.h>
#include "inset.h"
+#include "updatableinset.h"
+
#include "BufferView.h"
-#include "funcrequest.h"
#include "gettext.h"
-#include "lyxfont.h"
-#include "lyxtext.h"
-#include "dimension.h"
-#include "metricsinfo.h"
-
-#include "insets/updatableinset.h"
+#include "LColor.h"
-#include "frontends/Painter.h"
-#include "frontends/mouse_state.h"
-#include "support/lstrings.h"
+using std::string;
-#include "debug.h"
-
// Initialization of the counter for the inset id's,
unsigned int InsetOld::inset_id = 0;
}
-void InsetOld::setBackgroundColor(LColor::color color)
+void InsetOld::setBackgroundColor(LColor_color color)
{
background_color_ = color;
}
-LColor::color InsetOld::backgroundColor() const
+LColor_color InsetOld::backgroundColor() const
{
if (background_color_ == LColor::inherit) {
if (owner())
else
return LColor::background;
} else
- return background_color_;
+ return LColor::color(background_color_);
}
{
return i && i->editable() == InsetOld::HIGHLY_EDITABLE;
}
-