mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codechange: Replace Alignment enum with struct
Alignment struct contains separate horizontal and vertical alignment members.
This commit is contained in:
committed by
Peter Nelson
parent
8e637cefed
commit
b4d16d319f
@@ -1044,7 +1044,7 @@ protected:
|
||||
y < dpi->top + dpi->height) {
|
||||
|
||||
/* And draw it. */
|
||||
DrawString(x, x + legend_text_width, y, tbl.legend, TextColour::White, SA_LEFT, false, FontSize::Small);
|
||||
DrawString(x, x + legend_text_width, y, tbl.legend, TextColour::White, AlignmentH::Start, false, FontSize::Small);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user