]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetert.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insetert.h
index 8a9d2a98a2c52adc2635bda3bebb1f0aef8af28f..7d793bd95e27a2a0f8ababaf8ec5bc0371400491 100644 (file)
@@ -38,9 +38,9 @@ public:
        ///
        InsetERT(BufferParams const &, bool collapsed = false);
        ///
-       InsetERT(InsetERT const &, bool same_id = false);
+       InsetERT(InsetERT const &);
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
+       Inset * clone() const;
        ///
        InsetERT(BufferParams const &,
                 Language const *, string const & contents, bool collapsed);
@@ -99,9 +99,9 @@ public:
        WordLangTuple const
        selectNextWordToSpellcheck(BufferView *, float &) const;
        ///
-       void dimension(BufferView *, LyXFont const &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
-       void draw(BufferView *, const LyXFont &, int , float &) const;
+       void draw(PainterInfo & pi, int x, int y) const;
        /// set the status of the inset
        void status(BufferView *, ERTStatus const st) const;
        ///