]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathFrac.h
InsetMathHull.cpp: whitespace
[lyx.git] / src / mathed / InsetMathFrac.h
index ffcab063530cf09a9b9db27a5f16f3e5820a8b26..966d99d1291987751499c2d0bcc76c9b808eeb3e 100644 (file)
@@ -132,7 +132,15 @@ private:
 class InsetMathBinom : public InsetMathFracBase {
 public:
        ///
-       explicit InsetMathBinom(bool choose = false);
+       enum Kind {
+               BINOM,
+               CHOOSE,
+               BRACE,
+               BRACK
+       };
+
+       ///
+       explicit InsetMathBinom(Kind kind = BINOM);
        ///
        void write(WriteStream & os) const;
        ///
@@ -146,12 +154,14 @@ public:
        { drawMarkers2(pi, x, y); }
        ///
        bool extraBraces() const;
+       ///
+       void validate(LaTeXFeatures & features) const;
 private:
        Inset * clone() const;
        ///
        int dw(int height) const;
        ///
-       bool choose_;
+       Kind kind_;
 };