]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_metricsinfo.h
fix for the first item on Martin's list
[lyx.git] / src / mathed / math_metricsinfo.h
index 9c2e720547ac3d7fc1e6339f737461639459e7a2..3046587bef8645dad56291877d8e7acc336354c5 100644 (file)
@@ -1,7 +1,8 @@
-#ifndef MATH_METRICSINFO
-#define MATH_METRICSINFO
+#ifndef MATH_METRICSINFO_H
+#define MATH_METRICSINFO_H
 
 #include "lyxfont.h"
+#include "textpainter.h"
 
 class BufferView;
 class MathNestInset;
@@ -42,4 +43,15 @@ struct MathMetricsInfo {
        int idx;
 };
 
+
+struct TextMetricsInfo {
+       ///
+       TextMetricsInfo()
+               {}
+       /// used to pass some info down
+       MathNestInset const * inset;
+       ///
+       int idx;
+};
+
 #endif