mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-22 05:59:10 +00:00
(svn r15782) -Codechange: replace some calls to the all text drawing API to the new one.
This commit is contained in:
@@ -478,7 +478,7 @@ void Window::DrawWidgets() const
|
||||
GfxFillRect(r.left + 2, r.top + 2, r.right - 2, r.bottom - 2, _colour_gradient[_company_colours[this->owner]][4]);
|
||||
}
|
||||
|
||||
DrawStringCenteredTruncated(r.left + 2, r.right - 2, r.top + 2, wi->data, TC_FROMSTRING);
|
||||
DrawString(r.left + 2, r.right - 2, r.top + 2, wi->data, TC_FROMSTRING, TA_CENTER);
|
||||
break;
|
||||
|
||||
case WWT_DROPDOWN: {
|
||||
|
Reference in New Issue
Block a user