X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=SFont.h;h=46fdc1bf8fac5b77700e8705a6dd6ce6d56b41c9;hp=69454cfa0a4b8a74ca4920b8cfd769d3fd09db27;hb=a2af96e68b210b7c3db90b7ec474498c5611a3a7;hpb=dfbd909f8f87040e9c19f45462b216f4fc5739d7 diff --git a/SFont.h b/SFont.h index 69454cf..46fdc1b 100644 --- a/SFont.h +++ b/SFont.h @@ -1,5 +1,5 @@ /************************************************************************ -* SFONT - SDL Font Library by Karl Bartel * +* SFONT - SDL Font Library by Karl Bartel * * * * All functions are explained below. There are two versions of each * * funtction. The first is the normal one, the function with the * @@ -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);