Index: drawipo.c =================================================================== --- drawipo.c (revision 10795) +++ drawipo.c (working copy) @@ -44,7 +44,6 @@ #include #endif -#include "BMF_Api.h" #include "MEM_guardedalloc.h" #include "BLI_blenlib.h" @@ -80,6 +79,7 @@ #include "BIF_glutil.h" #include "BIF_editseq.h" #include "BIF_editaction.h" +#include "BIF_language.h" #include "BSE_drawipo.h" #include "BSE_view.h" @@ -134,7 +134,8 @@ } glRasterPos2f(x, y); - BMF_DrawString(G.fonts, str); + BIF_RasterPos(x, y); + BIF_DrawString(G.fonts, str, 0); } static void step_to_grid(float *step, int *macht) @@ -707,8 +708,8 @@ ei= sipo->editipo; for(a=0; atotipo; a++, ei++) { - if (BMF_GetStringWidth(G.font, ei->name) + 18 > ipowidth) - ipowidth = BMF_GetStringWidth(G.font, ei->name) + 18; + if (BIF_GetStringWidth(G.font, ei->name, 0) + 18 > ipowidth) + ipowidth = BIF_GetStringWidth(G.font, ei->name, 0) + 18; } return ipowidth;