diff options
author | rubidium <rubidium@openttd.org> | 2009-03-22 14:55:49 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-03-22 14:55:49 +0000 |
commit | e75e1e62cb7e5cacb2abb522bb8bfbd67a125256 (patch) | |
tree | 425930cb2e5aff8c923901cc897b50e72158a7b0 /src/gfx.cpp | |
parent | 9038733f1aa4f3203b229ac6350833f5af5b016a (diff) | |
download | openttd-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.cpp | 15 |
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. |