]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetbutton.h
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insetbutton.h
index 917b57ff85eb616587227ddc8077494f1e9edd2e..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(Painter &, 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
-       virtual string getScreenLabel() const = 0;
+       virtual string const getScreenLabel() const = 0;
 };
 
 #endif