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