]> git.lyx.org Git - lyx.git/blob - src/mathed/math_bigopinset.h
cosmetics
[lyx.git] / src / mathed / math_bigopinset.h
1 // -*- C++ -*-
2 #ifndef MATH_BIGOPINSET_H
3 #define MATH_BIGOPINSET_H
4
5 #include "math_inset.h"
6
7 /// big operators
8 class MathBigopInset : public MathInset {
9 public:
10         ///
11         MathBigopInset(string const &, int);
12         ///
13         MathInset * clone() const;
14         ///
15         void write(std::ostream &, bool fragile) const;
16         ///
17         void writeNormal(std::ostream &) const;
18         ///
19         void metrics(MathStyles st);
20         ///
21         void draw(Painter &, int, int);
22         ///
23         bool isScriptable() const { return true; }
24 private:
25         ///
26         int sym_;
27         ///
28         string ssym_;
29         ///
30         MathTextCodes code_;
31 };
32 #endif