]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbutton.h
prepare for 1.1.6pre2
[lyx.git] / src / insets / insetbutton.h
index 056c3fe98da65b53f0973d38a95e09472810cc54..c6a6a12ffc990b19befb5b43635076cb9fa60fdf 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, float &, bool) const;
 
 protected:
        /// This should provide the text for the button
-       virtual string getScreenLabel() const = 0;
+       virtual string const getScreenLabel() const = 0;
 };
 
 #endif