#ifndef MATH_COLORINSET_H
#define MATH_COLORINSET_H
-#include "LColor.h"
-
#include "InsetMathNest.h"
public:
/// Create a color inset from LyX color number
explicit InsetMathColor(bool oldstyle,
- LColor_color const & color = LColor::none);
+ ColorCode color = Color_none);
/// Create a color inset from LaTeX color name
explicit InsetMathColor(bool oldstyle, docstring const & color);
///
///
void infoize(odocstream & os) const;
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual Inset * clone() const;
/// width of '[' in current font
mutable int w_;
///