summaryrefslogtreecommitdiff
path: root/src/gfx_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-21 22:00:00 +0000
committerrubidium <rubidium@openttd.org>2009-03-21 22:00:00 +0000
commit900364109597f02413e2f7a59e9b4e6cc9fdf97f (patch)
tree308b7c3eda7e63a306620580ef4df5f4b99b893e /src/gfx_func.h
parentd452a0a0ecaad276c893b62ab8f008a5af85ba82 (diff)
downloadopenttd-900364109597f02413e2f7a59e9b4e6cc9fdf97f.tar.xz
(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r--src/gfx_func.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h
index 1faa8dea8..43ac66491 100644
--- a/src/gfx_func.h
+++ b/src/gfx_func.h
@@ -95,15 +95,9 @@ enum StringAlignment {
int DrawString(int left, int right, int top, const char *str, TextColour colour, StringAlignment align = SA_LEFT, bool underline = false);
int DrawString(int left, int right, int top, StringID str, TextColour colour, StringAlignment align = SA_LEFT, bool underline = false);
-int DrawStringCentered(int x, int y, StringID str, TextColour colour);
-int DoDrawStringCentered(int x, int y, const char *str, TextColour colour);
-
int DrawString(int x, int y, StringID str, TextColour colour);
-
int DoDrawString(const char *string, int x, int y, TextColour colour, bool parse_string_also_when_clipped = false);
-int DrawStringCenterUnderline(int x, int y, StringID str, TextColour colour);
-
int DrawStringRightAligned(int x, int y, StringID str, TextColour colour);
int DrawStringRightAlignedUnderline(int x, int y, StringID str, TextColour colour);