Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some code cleanup.
[vor.git]
/
SFont.h
diff --git
a/SFont.h
b/SFont.h
index
fcc75b7
..
46fdc1b
100644
(file)
--- 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);
// 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);
// Blits a string to with centered x position
void XCenteredString (SDL_Surface *Surface, int y, char *text);