(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.

This commit is contained in:
rubidium
2009-04-26 14:52:56 +00:00
parent e83ef9b4c7
commit 650cb3694e
24 changed files with 130 additions and 130 deletions

View File

@@ -95,8 +95,8 @@ enum StringAlignment {
};
DECLARE_ENUM_AS_BIT_SET(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 DrawString(int left, int right, int top, const char *str, TextColour colour = TC_FROMSTRING, StringAlignment align = SA_LEFT, bool underline = false);
int DrawString(int left, int right, int top, StringID str, TextColour colour = TC_FROMSTRING, StringAlignment align = SA_LEFT, bool underline = false);
int DrawStringMultiLine(int left, int right, int top, int bottom, StringID str, TextColour colour = TC_FROMSTRING, StringAlignment align = SA_LEFT, bool underline = false);
void DrawCharCentered(uint32 c, int x, int y, TextColour colour);