]> git.lyx.org Git - lyx.git/blob - src/mathed/math_bigopinset.h
fix broken ^ stuff; break delimiters...
[lyx.git] / src / mathed / math_bigopinset.h
1 // -*- C++ -*-
2 #ifndef MATH_BIGOPINSET_H
3 #define MATH_BIGOPINSET_H
4
5 // This inset is for things like "\sum" and "\int" that get displayed
6 // larger in displayed formulae and take limits
7
8 #include "math_diminset.h"
9
10 struct latexkeys;
11
12 /// big operators
13 class MathBigopInset : public MathDimInset {
14 public:
15         ///
16         explicit MathBigopInset(latexkeys const *);
17         ///
18         MathInset * clone() const;
19         ///
20         void write(std::ostream &, bool fragile) const;
21         ///
22         void writeNormal(std::ostream &) const;
23         ///
24         void metrics(MathStyles st) const;
25         ///
26         void draw(Painter &, int x, int y) const;
27         ///
28         bool isScriptable() const { return true; }
29
30 private:
31         ///
32         latexkeys const * sym_;
33 };
34 #endif