#define MATH_METRICSINFO_H
#include "lyxfont.h"
-#include "math_defs.h"
#include "LString.h"
class BufferView;
MathStyles style;
///
string fontname;
+ /// if this is set...
+ bool restrictwidth;
+ /// ... this is valid
+ int textwidth;
};
MathMetricsBase base;
///
BufferView * view;
- /// used to pass some info down
- MathNestInset const * inset;
- ///
- int idx;
///
bool fullredraw;
};
};
+struct MathWidthChanger : public MathChanger<MathMetricsBase>
+{
+ ///
+ MathWidthChanger(MathMetricsBase & mb, int width);
+ ///
+ ~MathWidthChanger();
+};
+
+
#endif