]> git.lyx.org Git - lyx.git/blob - src/mathed/math_ertinset.h
small up/down tweaking
[lyx.git] / src / mathed / math_ertinset.h
1 #ifndef MATH_ERTINSET_H
2 #define MATH_ERTINSET_H
3
4 #ifdef __GNUG__
5 #pragma interface
6 #endif
7
8 #include "math_textinset.h"
9
10 // implements support for \parbox
11
12 class MathErtInset : public MathTextInset {
13 public:
14         ///
15         MathErtInset() {}
16         ///
17         MathInset * clone() const;
18         ///
19         mode_type currentMode() const { return TEXT_MODE; }
20         ///
21         void metrics(MathMetricsInfo & mi) const;
22         ///
23         void draw(MathPainterInfo & pi, int x, int y) const;
24         ///
25         void infoize(std::ostream & os) const;
26         ///
27         void write(WriteStream & os) const;
28 };
29
30 #endif