X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=SFont.h;h=46fdc1bf8fac5b77700e8705a6dd6ce6d56b41c9;hp=fcc75b7d0e08a6dcce5af0118f66bb785f7fa8ba;hb=a2af96e68b210b7c3db90b7ec474498c5611a3a7;hpb=6a635ec5768b4e40a5db1355e14b834dca864231 diff --git a/SFont.h b/SFont.h index fcc75b7..46fdc1b 100644 --- a/SFont.h +++ b/SFont.h @@ -34,6 +34,7 @@ void PutString2(SDL_Surface *Surface, SFont_FontInfo *Font, int x, int y, char * // Returns the width of "text" in pixels int TextWidth(char *text); int TextWidth2(SFont_FontInfo *Font, char *text); +int SFont_wide(char *text); // Blits a string to with centered x position void XCenteredString (SDL_Surface *Surface, int y, char *text);