]> git.lyx.org Git - lyx.git/blob - src/mathed/math_binaryopinset.h
fix #1073
[lyx.git] / src / mathed / math_binaryopinset.h
1 // -*- C++ -*-
2 #ifndef MATH_BINARYOPINSET_H
3 #define MATH_BINARYOPINSET_H
4
5 #include "math_nestinset.h"
6 #include "math_nestinset.h"
7
8
9 /** An inset for multiplication
10  *  \author André Pönitz
11  *
12  * Full author contact details are available in file CREDITS
13  */
14 class MathBinaryOpInset : public MathNestInset {
15 public:
16         ///
17         explicit MathBinaryOpInset(char op);
18         ///
19         MathInset * clone() const;
20         ///
21         void draw(PainterInfo &, int x, int y) const;
22         ///
23         void write(WriteStream & os) const;
24         ///
25         void normalize(NormalStream &) const;
26         ///
27         void metrics(MetricsInfo & st) const;
28 private:
29         ///
30         int opwidth() const;
31         ///
32         char op_;
33         ///
34         mutable MetricsInfo mi_;
35 };
36 #endif