(svn r15812) -Codechange: use the new DrawString API in another set of GUIs

This commit is contained in:
rubidium
2009-03-22 14:39:20 +00:00
parent 22d4270ea8
commit 9038733f1a
7 changed files with 38 additions and 38 deletions

View File

@@ -179,7 +179,7 @@ struct GameOptionsWindow : Window {
SetDParamStr(9, GetGraphicsSetName(GetIndexOfCurrentGraphicsSet()));
this->DrawWidgets();
DrawString(20, 175, STR_OPTIONS_FULLSCREEN, TC_FROMSTRING); // fullscreen
DrawString(20, this->width / 2, 175, STR_OPTIONS_FULLSCREEN, TC_FROMSTRING); // fullscreen
}
virtual void OnClick(Point pt, int widget)
@@ -475,7 +475,7 @@ public:
value += sdb->str;
SetDParam(0, value);
DrawString(30, y, str, TC_FROMSTRING);
DrawString(30, this->width, y, str, TC_FROMSTRING);
y += GAMEDIFF_WND_ROWSIZE + 2; // space items apart a bit
str++;