From e75e1e62cb7e5cacb2abb522bb8bfbd67a125256 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 22 Mar 2009 14:55:49 +0000 Subject: (svn r15813) -Codechange: remove the last remnants of the old text drawing API. --- src/gfx.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/gfx.cpp') diff --git a/src/gfx.cpp b/src/gfx.cpp index be008c1c0..6d6a7342e 100644 --- a/src/gfx.cpp +++ b/src/gfx.cpp @@ -424,21 +424,6 @@ static int DrawString(int left, int right, int top, char *str, const char *last, return align == SA_RIGHT ? left : right; } -/** - * 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 * -- cgit v1.2.3-54-g00ecf