#include "debug.h"
#include "gettext.h"
-#include "LColor.h"
-#include "paragraph.h"
+#include "Color.h"
+#include "Paragraph.h"
#include <sstream>
InsetOptArg::InsetOptArg(BufferParams const & ins)
: InsetCollapsable(ins)
{
- LyXFont font(LyXFont::ALL_SANE);
- font.setColor(LColor::collapsable);
+ Font font(Font::ALL_SANE);
+ font.setColor(Color::collapsable);
setLabelFont(font);
setLabel(_("opt"));
}
InsetOptArg::InsetOptArg(InsetOptArg const & in)
: InsetCollapsable(in)
{
- LyXFont font(LyXFont::ALL_SANE);
- font.setColor(LColor::collapsable);
+ Font font(Font::ALL_SANE);
+ font.setColor(Color::collapsable);
setLabelFont(font);
setLabel(_("opt"));
}
-auto_ptr<InsetBase> InsetOptArg::doClone() const
+auto_ptr<Inset> InsetOptArg::doClone() const
{
- return auto_ptr<InsetBase>(new InsetOptArg(*this));
+ return auto_ptr<Inset>(new InsetOptArg(*this));
}