]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inset.h
* In the process of fixing the math background color bug, this commit transfer backgr...
[lyx.git] / src / insets / inset.h
index f1a4d4856016c98dbf800e84f645defc3e7e3654..73c8a4380f72e2e04ed22de600b48d3844caf9c9 100644 (file)
 #define INSETOLD_H
 
 #include "insetbase.h"
-#include "dimension.h"
 
 
 namespace lyx {
 
-class LColor_color;
-
-
 /// Insets
 class InsetOld : public InsetBase {
 public:
@@ -40,10 +36,6 @@ public:
        void setInsetName(docstring const & s) { name_ = s; }
        ///
        virtual docstring const & getInsetName() const { return name_; }
-       ///
-       virtual void setBackgroundColor(LColor_color);
-       ///
-       LColor_color backgroundColor() const;
        /// set x/y drawing position cache
        void setPosCache(PainterInfo const &, int, int) const;
 
@@ -56,10 +48,6 @@ private:
 
        ///
        docstring name_;
-       /** We store the LColor::color value as an int to get LColor.h out
-        *  of the header file.
-        */
-       int background_color_;
 };