]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrac.h
Fix drawing of empty boxes
[lyx.git] / src / mathed / InsetMathFrac.h
index 96b62930ba1ef1b3d845d24dab80f16a8d80f3cd..b43180c41639405bae1732f944301da37db0b240 100644 (file)
@@ -93,7 +93,10 @@ public:
        void htmlize(HtmlStream &) const;
        ///
        void validate(LaTeXFeatures & features) const;
-public:
+private:
+       /// vertical displacement
+       int dy(FontInfo & fi) const;
+       ///
        Inset * clone() const;
        ///
        Kind kind_;
@@ -122,12 +125,11 @@ public:
        /// Generalized fractions are of inner class (see The TeXbook, p.292)
        MathClass mathClass() const { return MC_INNER; }
        ///
+       marker_type marker() const { return MARKER2; }
+       ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo &, int x, int y) const;
-       /// draw decorations.
-       void drawDecoration(PainterInfo & pi, int x, int y) const
-       { drawMarkers2(pi, x, y); }
        ///
        bool extraBraces() const;
        ///