(svn r15790) -Codechange: remove the *Centered part of the old text drawing API.

This commit is contained in:
rubidium
2009-03-21 22:00:00 +00:00
parent d452a0a0ec
commit 9003641095
15 changed files with 60 additions and 119 deletions

View File

@@ -250,7 +250,7 @@ void Window::DrawWidgets() const
if ((wi->type & WWT_MASK) == WWT_TEXTBTN_2 && clicked) str++;
DrawStringCentered(((r.left + r.right + 1) >> 1) + clicked, ((r.top + r.bottom + 1) >> 1) - 5 + clicked, str, TC_FROMSTRING);
DrawString(r.left + clicked, r.right + clicked, ((r.top + r.bottom + 1) >> 1) - 5 + clicked, str, TC_FROMSTRING, SA_CENTER);
break;
}