#ifndef MATH_PARBOXINSET_H
#define MATH_PARBOXINSET_H
-#include "math_nestinset.h"
-class MathParboxInset : public MathNestInset {
+#include "math_textinset.h"
+
+// implements support for \parbox
+
+class MathParboxInset : public MathTextInset {
public:
///
MathParboxInset();
MathParboxInset * asParboxInset() { return this; }
///
MathInset * clone() const;
- /// get cursor position
- void getPos(idx_type idx, pos_type pos, int & x, int & y) const;
+ ///
+ mode_type currentMode() const { return TEXT_MODE; }
///
void metrics(MathMetricsInfo & mi) const;
///
int lyx_width_;
/// width for TeX
string tex_width_;
- /// htb
+ /// one of htb
char position_;
- /// cached metrics
- mutable std::vector<MathXArray::Row> rows_;
};
#endif