]> git.lyx.org Git - features.git/blobdiff - src/insets/insetinfo.h
new painter,workarea and lcolor. Read the diff/sources and ChangeLog...
[features.git] / src / insets / insetinfo.h
index b4f9fe9dbb5a1ff893d695577ff2d9654508f9b9..170d729c815b732d3bf87f5820207156b7b45426 100644 (file)
@@ -36,6 +36,16 @@ public:
        InsetInfo(string const & string);
        ///
        ~InsetInfo();
+#ifdef USE_PAINTER
+       ///
+       int ascent(Painter &, LyXFont const &) const;
+       ///
+       int descent(Painter &, LyXFont const &) const;
+       ///
+       int width(Painter &, LyXFont const &) const;
+       ///
+       void draw(Painter &, LyXFont const &, int baseline, float & x) const;
+#else
        ///
        int Ascent(LyXFont const & font) const;
        ///
@@ -44,6 +54,7 @@ public:
        int Width(LyXFont const & font) const;
        ///
        void Draw(LyXFont font, LyXScreen & scr, int baseline, float & x);
+#endif
        ///
        void Write(ostream &);
        ///