-void MathSpaceInset::Metrics()
-{
- width = space ? space * 2 : 2;
- if (space > 3) width *= 2;
- if (space == 5) width *= 2;
- width += 4;
- ascent = 4; descent = 0;
-}
-
-
-void MathSpaceInset::SetSpace(int sp)
-{
- space = sp;
- Metrics();
-}
-
-
-MathSpaceInset::MathSpaceInset(int sp, short ot, short st)
- : MathedInset("", ot, st), space(sp)
+MathSpaceInset::MathSpaceInset(int sp, MathInsetTypes ot)
+ : MathInset("", ot), space_(sp)