]> git.lyx.org Git - lyx.git/blob - src/mathed/math_parboxinset.h
remove unneeded member
[lyx.git] / src / mathed / math_parboxinset.h
1 #ifndef MATH_PARBOXINSET_H
2 #define MATH_PARBOXINSET_H
3
4 #include "math_nestinset.h"
5
6 class MathParboxInset : public MathNestInset {
7 public:
8         ///
9         MathParboxInset();
10         ///
11         MathParboxInset * asParboxInset() { return this; }
12         ///
13         MathInset * clone() const;
14         ///
15         void metrics(MathMetricsInfo & mi) const;
16         ///
17         void draw(MathPainterInfo &, int x, int y) const;
18         ///
19         void infoize(std::ostream & os) const;
20         ///
21         void write(WriteStream & os) const;
22         ///
23         void setWidth(string const & width);
24         ///
25         void setPosition(string const & pos);
26 private:
27         /// width on screen
28         int lyx_width_;
29         /// width for TeX
30         string tex_width_;
31         /// htb
32         char position_;
33         /// cached metrics
34         mutable std::vector<MathXArray::Row> rows_;
35 };
36
37 #endif