]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.h
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_binominset.h
index 213d19a0747a1e9b299b3b2ba456845743a93e59..a7c56cfd3b5a61e8f3308877d3c706c8502a43ff 100644 (file)
@@ -4,17 +4,14 @@
 
 #include "math_fracbase.h"
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 /** Binom like objects
-    \author André Pönitz 
+ *  \author André Pönitz
  */
 class MathBinomInset : public MathFracbaseInset {
 public:
        ///
-       MathBinomInset();
+       explicit MathBinomInset(bool choose = false);
        ///
        MathInset * clone() const;
        ///
@@ -22,12 +19,14 @@ public:
        ///
        void normalize(NormalStream &) const;
        ///
-       void metrics(MathMetricsInfo const & st) const;
+       void metrics(MathMetricsInfo & st) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(MathPainterInfo &, int x, int y) const;
 private:
        ///
        int dw() const;
+       ///
+       bool choose_;
 };
 
 #endif