(svn r15813) -Codechange: remove the last remnants of the old text drawing API.

This commit is contained in:
rubidium
2009-03-22 14:55:49 +00:00
parent 2e38d7c332
commit 6d3745a924
6 changed files with 44 additions and 60 deletions

View File

@@ -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
*