]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.h
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_binominset.h
index 2bb97451dd175d9d51b8d17b066c38cfa1ca5ea2..fb2fcaae8ca1f9326ef6d961679ae6ac29901b64 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;
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void write(std::ostream &, bool fragile) const;
+       void write(WriteStream & os) const;
        ///
-       void writeNormal(std::ostream &) const;
+       void normalize(NormalStream &) const;
        ///
-       void metrics(MathStyles st) const;
+       void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       void draw(Painter &, int x, int y) const;
+       void draw(PainterInfo &, int x, int y) const;
 private:
        ///
        int dw() const;
+       ///
+       bool choose_;
 };
 
 #endif