]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrac.h
de.po
[lyx.git] / src / mathed / InsetMathFrac.h
index 96b62930ba1ef1b3d845d24dab80f16a8d80f3cd..ba92006a985a976a8bbfe5f5196657a344e1a122 100644 (file)
@@ -25,6 +25,8 @@ public:
        ///
        InsetMathFracBase(Buffer * buf, idx_type ncells = 2);
        ///
+       marker_type marker(BufferView const *) const { return MARKER2; }
+       ///
        bool idxUpDown(Cursor &, bool up) const;
        ///
        bool idxBackward(Cursor &) const { return false; }
@@ -93,7 +95,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_;
@@ -125,9 +130,6 @@ public:
        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;
        ///