1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00

Close #12403: Refactor FILTER_PALETTE_ID to use strong enum (#13273)

This commit is contained in:
Łukasz Pękalski
2020-12-05 19:13:59 +01:00
committed by GitHub
parent 1b61b4b104
commit 4adf745237
49 changed files with 287 additions and 270 deletions

View File

@@ -143,7 +143,7 @@ void chat_draw(rct_drawpixelinfo* dpi, uint8_t chatBackgroundColor)
{ topLeft - ScreenCoordsXY{ 0, 5 }, bottomRight + ScreenCoordsXY{ 0, 5 } }); // Background area + Textbox
gfx_filter_rect(
dpi, { topLeft - ScreenCoordsXY{ 0, 5 }, bottomRight + ScreenCoordsXY{ 0, 5 } },
PALETTE_51); // Opaque gray background
FilterPaletteID::Palette51); // Opaque gray background
gfx_fill_rect_inset(
dpi, { topLeft - ScreenCoordsXY{ 0, 5 }, bottomRight + ScreenCoordsXY{ 0, 5 } }, chatBackgroundColor,
INSET_RECT_FLAG_FILL_NONE);