]> git.lyx.org Git - features.git/blobdiff - src/insets/insetgraphics.h
read the Changelog
[features.git] / src / insets / insetgraphics.h
index e9cc6d563b3d66cd01bccf242e020f00a07592e8..43fe14c26b13567ecf51cee2b42576089cd220f7 100644 (file)
@@ -29,11 +29,11 @@ public:
        ///
        InsetGraphics();
        ///
-       int ascent(Painter &, LyXFont const &) const;
+       int ascent(BufferView *, LyXFont const &) const;
        ///
-       int descent(Painter &, LyXFont const &) const;
+       int descent(BufferView *, LyXFont const &) const;
        ///
-       int width(Painter &, LyXFont const &) const;
+       int width(BufferView *, LyXFont const &) const;
        ///
        void draw(BufferView *, LyXFont const &, int, float &, bool) const;
        ///
@@ -48,7 +48,8 @@ public:
         fragile == true means, that the inset should take care about
         fragile commands by adding a \protect before.
         */
-       int Latex(Buffer const *, std::ostream &, bool fragile, bool free_spc) const;
+       int Latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
        int Ascii(Buffer const *, std::ostream &) const;
        ///