]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBinom.h
Allows editing when the Prefs dialog is opened; fix bug 3140:
[lyx.git] / src / mathed / InsetMathBinom.h
index 0fddb3a05df0f7ff5a289898941c7e8f1ca13084..baf2b8d6bf7bd1897ae0be00ac4772a8178ce787 100644 (file)
@@ -15,6 +15,9 @@
 #include "InsetMathFracBase.h"
 
 
+namespace lyx {
+
+
 /// Binom like objects
 class InsetMathBinom : public InsetMathFracBase {
 public:
@@ -25,9 +28,12 @@ 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:
@@ -38,4 +44,7 @@ private:
        bool choose_;
 };
 
+
+} // namespace lyx
+
 #endif