]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_metricsinfo.h
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_metricsinfo.h
index 3046587bef8645dad56291877d8e7acc336354c5..d68f10533b7e05e4e2af9248848f229658445041 100644 (file)
@@ -2,7 +2,6 @@
 #define MATH_METRICSINFO_H
 
 #include "lyxfont.h"
-#include "textpainter.h"
 
 class BufferView;
 class MathNestInset;
@@ -24,11 +23,15 @@ enum MathStyles {
 struct MathMetricsInfo {
        ///
        MathMetricsInfo()
-               : view(0), font(), style(LM_ST_TEXT), inset(0)
+               : view(0), font(), style(LM_ST_TEXT),
+                 inset(0), idx(0),
+                 fullredraw(false)
        {}
        ///
        MathMetricsInfo(BufferView * v, LyXFont const & f, MathStyles s)
-               : view(v), font(f), style(s), inset(0)
+               : view(v), font(f), style(s),
+                 inset(0), idx(0),
+                 fullredraw(false)
        {}
 
        ///
@@ -41,6 +44,8 @@ struct MathMetricsInfo {
        MathNestInset const * inset;
        ///
        int idx;
+       ///
+       bool fullredraw;
 };
 
 
@@ -48,10 +53,6 @@ struct TextMetricsInfo {
        ///
        TextMetricsInfo()
                {}
-       /// used to pass some info down
-       MathNestInset const * inset;
-       ///
-       int idx;
 };
 
 #endif