]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.h
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_binominset.h
index b991a2700ab8c32ea8870480d55b844410e6e0f4..a7c56cfd3b5a61e8f3308877d3c706c8502a43ff 100644 (file)
@@ -4,30 +4,29 @@
 
 #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;
        ///
-       void write(MathWriteInfo & os) const;
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       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