]> git.lyx.org Git - lyx.git/blobdiff - src/insets/updatableinset.C
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / updatableinset.C
index d03c3f46772ab26b62dd6d3697ada49f3f16c5cc..ec6fa2ba81464e6a406acbb7fabf416cd48bd908 100644 (file)
@@ -35,11 +35,6 @@ UpdatableInset::UpdatableInset(UpdatableInset const & in)
 {}
 
 
-// UpdatableInset::UpdatableInset(UpdatableInset const & in, bool same_id)
-//     : Inset(in, same_id), block_drawing_(false)
-// {}
-
-
 void UpdatableInset::insetUnlock(BufferView *)
 {
        lyxerr[Debug::INFO] << "Inset Unlock" << std::endl;
@@ -57,13 +52,11 @@ void UpdatableInset::fitInsetCursor(BufferView *) const
 {}
 
 
-void UpdatableInset::draw(BufferView *, LyXFont const &,
-                         int /* baseline */, float & x) const
+void UpdatableInset::draw(PainterInfo &, int, int) const
 {
-       x += float(scx);
        // ATTENTION: don't do the following here!!!
-       //    top_x = int(x);
-       //    top_baseline = baseline;
+       //    top_x = x;
+       //    top_baseline = y;
 }