]> git.lyx.org Git - lyx.git/blob - src/mathed/math_sizeinset.h
Geof Piroux's patch for Mathematica support
[lyx.git] / src / mathed / math_sizeinset.h
1 // -*- C++ -*-
2 #ifndef MATHSIZEINSET_H
3 #define MATHSIZEINSET_H
4
5 #include "math_nestinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 /** An inset for \scriptsize etc
12     \author André Pönitz
13 */
14
15 class latexkeys;
16
17 class MathSizeInset : public MathNestInset {
18 public:
19         ///
20         explicit MathSizeInset(latexkeys const * l);
21         ///
22         MathInset * clone() const;
23         ///
24         void metrics(MathMetricsInfo & st) const;
25         ///
26         void draw(MathPainterInfo &, int x, int y) const;
27
28         ///
29         void write(WriteStream & os) const;
30         ///
31         void normalize(NormalStream &) const;
32
33 private:
34         ///
35         latexkeys const * key_;
36 };
37
38 #endif