X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathBinom.h;h=d3dd51a289285ab364649c4b1447d7c583638895;hb=98fb638d61d38df1443339de4e8ba58c7c81784a;hp=aba5364a7f61bd8bc71a4ac8d0942568c047279b;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/mathed/InsetMathBinom.h b/src/mathed/InsetMathBinom.h index aba5364a7f..d3dd51a289 100644 --- a/src/mathed/InsetMathBinom.h +++ b/src/mathed/InsetMathBinom.h @@ -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 doClone() const; + virtual std::auto_ptr doClone() const; /// int dw() const; ///