]> git.lyx.org Git - lyx.git/blobdiff - src/insets/updatableinset.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / updatableinset.h
index 6672ab38e2720de5ed9393f77d62cf47deb8dbdd..77046dc1df0568f1a5024c7296555d6f5441de31 100644 (file)
@@ -50,8 +50,6 @@ public:
        UpdatableInset();
        ///
        UpdatableInset(UpdatableInset const & in);
-       ///
-       //UpdatableInset(UpdatableInset const & in, bool same_id);
 
        /// check if the font of the char we want inserting is correct
        /// and modify it if it is not.
@@ -68,8 +66,7 @@ public:
        ///
        virtual void insetUnlock(BufferView *);
        ///
-       virtual void draw(BufferView *, LyXFont const &,
-                         int baseline, float & x) const;
+       virtual void draw(PainterInfo & pi, int x, int y) const;
        ///
        virtual bool insertInset(BufferView *, Inset *) { return false; }
        ///