]> git.lyx.org Git - features.git/blobdiff - src/insets/insetspecialchar.h
new painter,workarea and lcolor. Read the diff/sources and ChangeLog...
[features.git] / src / insets / insetspecialchar.h
index 406c793301908d7171807569463c1d6606ca10f4..164ff1085b2ab3d07f57bb3b0a53cbf1ef2c09a9 100644 (file)
@@ -40,6 +40,16 @@ public:
        InsetSpecialChar() {}
        ///
        InsetSpecialChar(Kind k);
+#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;
        ///
@@ -48,6 +58,7 @@ public:
        int Width(LyXFont const & font) const;
        ///
        void Draw(LyXFont, LyXScreen & scr, int baseline, float & x);
+#endif
        ///
        void Write(ostream &);
        /// Will not be used when lyxf3