]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.C
Final touch 'inset display()'; fix 'is a bit silly' bug
[lyx.git] / src / insets / inset.C
index eaa9ac769e1bdc87e24f97ffcbb2061fd4c3e2d3..f28c9d6b8d1645018a60af6a8b62f236d42803cd 100644 (file)
@@ -21,6 +21,9 @@
 #include "LColor.h"
 
 
+using std::string;
+
+
 // Initialization of the counter for the inset id's,
 unsigned int InsetOld::inset_id = 0;
 
@@ -85,13 +88,13 @@ LyXText * InsetOld::getLyXText(BufferView const * bv, bool /*recursive*/) const
 }
 
 
-void InsetOld::setBackgroundColor(EnumLColor color)
+void InsetOld::setBackgroundColor(LColor_color color)
 {
        background_color_ = color;
 }
 
 
-EnumLColor InsetOld::backgroundColor() const
+LColor_color InsetOld::backgroundColor() const
 {
        if (background_color_ == LColor::inherit) {
                if (owner())
@@ -172,4 +175,3 @@ bool isHighlyEditableInset(InsetOld const * i)
 {
        return i && i->editable() == InsetOld::HIGHLY_EDITABLE;
 }
-