#include "gettext.h"
#include "lyxfont.h"
#include "BufferView.h"
-#include "Painter.h"
#include "lyxtext.h"
#include "support/LOstream.h"
#include "debug.h"
}
-Inset * InsetTheorem::Clone() const
+Inset * InsetTheorem::Clone(Buffer const &) const
{
InsetTheorem * result = new InsetTheorem;
}
-char const * InsetTheorem::EditMessage() const
+string const InsetTheorem::EditMessage() const
{
return _("Opened Theorem Inset");
}
{
os << "\\begin{theorem}%\n";
- int i = inset->Latex(buf, os, fragile, fp);
+ int i = inset.Latex(buf, os, fragile, fp);
os << "\\end{theorem}%\n";
return i + 2;
}
return true;
}
-
-
-#if 0
-LyXFont InsetTheorem::GetDrawFont(BufferView * bv,
- LyXParagraph * p, int pos) const
-{
- LyXFont fn = getLyXText(bv)->GetFont(bv->buffer(), p, pos);
- fn.decSize().decSize();
- return fn;
-}
-#endif