(svn r6046) CodeChange : Rename WWT_5 Widget type to WWT_LABEL : a centered label

CodeChange : Move almost all fixed strings from ON_PAINT event to Widget array using WWT_LABEL.
Feature : All "Select Refit Cargo" are now centered, instead of been left aligned
This commit is contained in:
belugas
2006-08-22 15:23:25 +00:00
parent 480af9c917
commit 4c2abf1de5
11 changed files with 69 additions and 68 deletions

View File

@@ -197,7 +197,7 @@ void DrawWindowWidgets(const Window *w)
}
/* fall through */
case WWT_5: {
case WWT_LABEL: {
StringID str = wi->unkA;
if ((wi->type&WWT_MASK) == WWT_4 && clicked) str++;