]> git.lyx.org Git - lyx.git/blob - src/mathed/InsetMathBinom.h
delete unneeded BufferView.h declaration.
[lyx.git] / src / mathed / InsetMathBinom.h
1 // -*- C++ -*-
2 /**
3  * \file InsetMathBinom.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_BINOMINSET_H
13 #define MATH_BINOMINSET_H
14
15 #include "InsetMathFracBase.h"
16
17
18 /// Binom like objects
19 class InsetMathBinom : public InsetMathFracBase {
20 public:
21         ///
22         explicit InsetMathBinom(bool choose = false);
23         ///
24         void write(WriteStream & os) const;
25         ///
26         void normalize(NormalStream &) const;
27         ///
28         void metrics(MetricsInfo & mi, Dimension & dim) const;
29         ///
30         void draw(PainterInfo &, int x, int y) const;
31         ///
32         bool extraBraces() const;
33 private:
34         virtual std::auto_ptr<InsetBase> doClone() const;
35         ///
36         int dw() const;
37         ///
38         bool choose_;
39 };
40
41 #endif