]> git.lyx.org Git - lyx.git/blob - src/mathed/math_sizeinset.h
remove a few unneeded 'include'
[lyx.git] / src / mathed / math_sizeinset.h
1 // -*- C++ -*-
2 #ifndef MATHSIZEINSET_H
3 #define MATHSIZEINSET_H
4
5 #include "math_nestinset.h"
6 #include "math_metricsinfo.h"
7
8 #ifdef __GNUG__
9 #pragma interface
10 #endif
11
12 /** An inset for \scriptsize etc
13     \author André Pönitz
14 */
15
16 class latexkeys;
17
18 class MathSizeInset : public MathNestInset {
19 public:
20         ///
21         explicit MathSizeInset(latexkeys const * l);
22         ///
23         MathInset * clone() const;
24         /// we write extra braces in any case...
25         bool extraBraces() const { return true; }
26         ///
27         void metrics(MathMetricsInfo & st) const;
28         ///
29         void draw(MathPainterInfo &, int x, int y) const;
30
31         ///
32         void write(WriteStream & os) const;
33         ///
34         void normalize(NormalStream &) const;
35         ///
36         void infoize(std::ostream & os) const;
37
38 private:
39         ///
40         latexkeys const * key_;
41         ///
42         MathStyles const style_;
43 };
44
45 #endif