]> git.lyx.org Git - features.git/blobdiff - src/insets/insetbutton.h
read the Changelog
[features.git] / src / insets / insetbutton.h
index b88a83729ca612e985d9ca819cfb37a479abc6f2..7176769d71bdda243aa11d7603b06d190d0a2fdd 100644 (file)
 class InsetButton: public Inset {
 public:
        ///
-       InsetButton();
-
-       ///
-       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 baseline, float & x) const;
+       void draw(BufferView *, LyXFont const &, int, float &, bool) const;
 
 protected:
        /// This should provide the text for the button