(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

@@ -96,7 +96,7 @@ struct SignListWindow : Window, SignList {
/* No signs? */
int y = 16; // offset from top of widget
if (this->vscroll.count == 0) {
DrawString(2, y, STR_304A_NONE, TC_FROMSTRING);
DrawString(2, 346, y, STR_304A_NONE, TC_FROMSTRING);
return;
}
@@ -107,7 +107,7 @@ struct SignListWindow : Window, SignList {
if (si->owner != OWNER_NONE) DrawCompanyIcon(si->owner, 4, y + 1);
SetDParam(0, si->index);
DrawString(22, y, STR_SIGN_NAME, TC_YELLOW);
DrawString(22, 346, y, STR_SIGN_NAME, TC_YELLOW);
y += 10;
}
}