]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/support.h
further code uglification to make Jean-Marc's compiler happy
[lyx.git] / src / mathed / support.h
index eb447cf0f5d7d5605ab2f53096c47d80035d363f..3352ec379f6e1a226f60b0bcb521d06687305dd9 100644 (file)
@@ -9,7 +9,6 @@
 class Painter;
 class latexkeys;
 
-extern char const * math_font_name[];
 extern char const * latex_mathspace[];
 
 int mathed_char_height(MathTextCodes type, MathStyles size, unsigned char c,
@@ -20,8 +19,8 @@ int mathed_char_width(MathTextCodes type, MathStyles size, unsigned char c);
 int mathed_char_ascent(MathTextCodes type, MathStyles size, unsigned char c);
 int mathed_char_descent(MathTextCodes type, MathStyles size, unsigned char c);
 
-void mathed_draw_deco
-       (Painter & pain, int x, int y, int w, int h, latexkeys const * l);
+void mathed_draw_deco(Painter & pain, int x, int y, int w, int h,
+       string const & name);
 
 void mathed_string_dim(MathTextCodes type, MathStyles size, string const & s,
   int & asc, int & des, int & wid);
@@ -32,8 +31,6 @@ int mathed_string_width(MathTextCodes type, MathStyles size, string const & s);
 int mathed_string_ascent(MathTextCodes type, MathStyles size, string const & s);
 int mathed_string_descent(MathTextCodes type, MathStyles size, string const & s);
 
-bool MathIsAlphaFont(MathTextCodes x);
-
 void drawStr(Painter & pain, MathTextCodes type, MathStyles siz,
        int x, int y, string const & s);
 void drawChar(Painter & pain, MathTextCodes type, MathStyles siz,
@@ -42,4 +39,6 @@ void drawChar(Painter & pain, MathTextCodes type, MathStyles siz,
 void math_font_max_dim
        (MathTextCodes code, MathStyles siz, int & asc, int & desc);
 
+bool math_font_available(MathTextCodes code);
+
 #endif