mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
40b2b89d4d
- fix math font sizes in headings etc - remove unused static member int MathInset::workwidth git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2909 a592a061-630c-0410-9148-cb99ea01b6c8
41 lines
526 B
C++
41 lines
526 B
C++
#ifndef MATH_METRICSINFO
|
|
#define MATH_METRICSINFO
|
|
|
|
#include "lyxfont.h"
|
|
|
|
class BufferView;
|
|
|
|
|
|
/// Standard Math Sizes (Math mode styles)
|
|
enum MathStyles {
|
|
///
|
|
LM_ST_DISPLAY = 0,
|
|
///
|
|
LM_ST_TEXT,
|
|
///
|
|
LM_ST_SCRIPT,
|
|
///
|
|
LM_ST_SCRIPTSCRIPT
|
|
};
|
|
|
|
|
|
struct MathMetricsInfo {
|
|
///
|
|
MathMetricsInfo()
|
|
: view(0), font(), style(LM_ST_TEXT)
|
|
{}
|
|
///
|
|
MathMetricsInfo(BufferView * v, LyXFont const & f, MathStyles s)
|
|
: view(v), font(f), style(s)
|
|
{}
|
|
|
|
///
|
|
BufferView * view;
|
|
///
|
|
LyXFont font;
|
|
///
|
|
MathStyles style;
|
|
};
|
|
|
|
#endif
|