summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-22 14:55:49 +0000
committerrubidium <rubidium@openttd.org>2009-03-22 14:55:49 +0000
commite75e1e62cb7e5cacb2abb522bb8bfbd67a125256 (patch)
tree425930cb2e5aff8c923901cc897b50e72158a7b0 /src/gfx.cpp
parent9038733f1aa4f3203b229ac6350833f5af5b016a (diff)
downloadopenttd-e75e1e62cb7e5cacb2abb522bb8bfbd67a125256.tar.xz
(svn r15813) -Codechange: remove the last remnants of the old text drawing API.
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index be008c1c0..6d6a7342e 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -425,21 +425,6 @@ static int DrawString(int left, int right, int top, char *str, const char *last,
}
/**
- * Draw string starting at position (x,y).
- *
- * @param x X position to start drawing
- * @param y Y position to start drawing
- * @param str String to draw
- * @param colour Colour used for drawing the string, see DoDrawString() for details
- *
- * @return Horizontal coordinate after drawing the string
- */
-int DrawString(int x, int y, StringID str, TextColour colour)
-{
- return DrawString(x, INT32_MAX, y, str, colour);
-}
-
-/**
* Draw string, possibly truncated to make it fit in its allocated space
*
* @param left The left most position to draw on.