]> git.lyx.org Git - features.git/blob - src/mathed/math_bigopinset.h
2c1a477b32a14f42e558f210812aebfd5cd36899
[features.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 struct latexkeys;
8
9 /// big operators
10 class MathBigopInset : public MathInset {
11 public:
12         ///
13         explicit MathBigopInset(latexkeys const *);
14         ///
15         MathInset * clone() const;
16         ///
17         void write(std::ostream &, bool fragile) const;
18         ///
19         void writeNormal(std::ostream &) const;
20         ///
21         void metrics(MathStyles st);
22         ///
23         void draw(Painter &, int, int);
24         ///
25         bool isScriptable() const { return true; }
26 private:
27         ///
28         latexkeys const * sym_;
29         ///
30         string ssym_;
31         ///
32         MathTextCodes code_;
33 };
34 #endif