#include "insetbutton.h"
#include "debug.h"
+#include "BufferView.h"
#include "Painter.h"
using std::ostream;
}
-void InsetButton::draw(Painter & pain, LyXFont const &,
- int baseline, float & x) const
+void InsetButton::draw(BufferView * bv, LyXFont const &,
+ int baseline, float & x, bool) const
{
+ Painter & pain = bv->painter();
// Draw it as a box with the LaTeX text
LyXFont font(LyXFont::ALL_SANE);
font.setColor(LColor::command).decSize();