]> git.lyx.org Git - lyx.git/blob - src/mathed/math_metricsinfo.h
halfway through fixing size of math in non-standard sizesd paragraohs like
[lyx.git] / src / mathed / math_metricsinfo.h
1 #ifndef MATH_METRICSINFO
2 #define MATH_METRICSINFO
3
4 class BufferView;
5 class LyXFont;
6
7
8 /// Standard Math Sizes (Math mode styles)
9 enum MathStyles {
10         ///
11         LM_ST_DISPLAY = 0,
12         ///
13         LM_ST_TEXT,
14         ///
15         LM_ST_SCRIPT,
16         ///
17         LM_ST_SCRIPTSCRIPT
18 };
19
20
21 struct MathMetricsInfo {
22         ///
23         MathMetricsInfo()
24                 : view(0), font(0), style(LM_ST_TEXT)
25         {}
26         ///
27         MathMetricsInfo(BufferView * v, LyXFont const * f, MathStyles s)
28                 : view(v), font(f), style(s)
29         {}
30
31         ///
32         BufferView * view;
33         ///
34         LyXFont const * font;
35         ///
36         MathStyles style;
37 };
38
39 #endif