]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathColor.h
* InsetMathHull:
[lyx.git] / src / mathed / InsetMathColor.h
index 513f4443bae5b8eb3745b72b11f92f8e7790a0ae..9f8419b63307ce966832f3d0bbf79cf820cea634 100644 (file)
@@ -12,8 +12,6 @@
 #ifndef MATH_COLORINSET_H
 #define MATH_COLORINSET_H
 
-#include "Color.h"
-
 #include "InsetMathNest.h"
 
 
@@ -25,11 +23,11 @@ class InsetMathColor : public InsetMathNest {
 public:
        /// Create a color inset from LyX color number
        explicit InsetMathColor(bool oldstyle,
-               Color_color const & color = Color::none);
+               ColorCode color = Color_none);
        /// Create a color inset from LaTeX color name
        explicit InsetMathColor(bool oldstyle, docstring const & color);
        ///
-       bool metrics(MetricsInfo & mi, Dimension & dim) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        /// we write extra braces in any case...
        /// FIXME Why? Are they necessary if oldstyle_ == false?
        bool extraBraces() const { return true; }