]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBinom.h
* the old cursor is stored before dispatch and then used after moving
[lyx.git] / src / mathed / InsetMathBinom.h
index aba5364a7f61bd8bc71a4ac8d0942568c047279b..d3dd51a289285ab364649c4b1447d7c583638895 100644 (file)
@@ -28,13 +28,16 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool 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;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        int dw() const;
        ///