]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetert.h
The free_spacing patch and fix to the mess that Rob discovered.
[lyx.git] / src / insets / insetert.h
index df6c19eb6bec68e3a4aa699ab57f30751f9d2f35..8a9d2a98a2c52adc2635bda3bebb1f0aef8af28f 100644 (file)
@@ -62,14 +62,10 @@ public:
        void setFont(BufferView *, LyXFont const &,
                             bool toggleall = false, bool selectall = false);
        ///
-       void edit(BufferView *, int, int, mouse_button::state);
-       ///
-       void edit(BufferView * bv, bool front = true);
-       ///
        EDITABLE editable() const;
        ///
-       int latex(Buffer const *, std::ostream &, bool fragile,
-                 bool free_spc) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        int ascii(Buffer const *,
                          std::ostream &, int linelen = 0) const;
@@ -103,11 +99,7 @@ public:
        WordLangTuple const
        selectNextWordToSpellcheck(BufferView *, float &) const;
        ///
-       int ascent(BufferView *, LyXFont const &) const;
-       ///
-       int descent(BufferView *, LyXFont const &) const;
-       ///
-       int width(BufferView *, LyXFont const &) const;
+       void dimension(BufferView *, LyXFont const &, Dimension &) const;
        ///
        void draw(BufferView *, const LyXFont &, int , float &) const;
        /// set the status of the inset