summaryrefslogtreecommitdiff
path: root/gfx.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-07-19 22:12:04 +0000
committerDarkvater <Darkvater@openttd.org>2005-07-19 22:12:04 +0000
commit57084f2caa802c9d33effadad2d4f4aa5da7824a (patch)
tree2510f3eedd1c2af25757fd24b0d1d4fd12437bc6 /gfx.h
parent7269771544af65ddb0c69d338253bd0a5940caac (diff)
downloadopenttd-57084f2caa802c9d33effadad2d4f4aa5da7824a.tar.xz
(svn r2644) - Fix: my name was mistyped ;p
- Add DoDrawStringCentered() and change the multiline strings in the about box to single-line ones
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx.h b/gfx.h
index 331c56e15..112a7bed5 100644
--- a/gfx.h
+++ b/gfx.h
@@ -38,6 +38,7 @@ void GfxScroll(int left, int top, int width, int height, int xo, int yo);
int DrawStringCentered(int x, int y, StringID str, uint16 color);
int DrawStringCenteredTruncated(int xl, int xr, int y, StringID str, uint16 color);
+int DoDrawStringCentered(int x, int y, const char *str, uint16 color);
int DrawString(int x, int y, StringID str, uint16 color);
int DrawStringTruncated(int x, int y, StringID str, uint16 color, uint maxw);