1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 05:23:04 +01:00

Refactor out IMAGE_TYPE_REMAP from widgets

This commit is contained in:
Gymnasiast
2022-12-24 16:39:43 +01:00
parent b712cc8f07
commit b97ee766d5
9 changed files with 21 additions and 24 deletions

View File

@@ -902,7 +902,7 @@ namespace OpenRCT2::Ui::Windows
widget.right = widget.left + 30;
widget.top = 17;
widget.bottom = 43;
widget.image = IMAGE_TYPE_REMAP | SPR_TAB;
widget.image = ImageId(SPR_TAB, FilterPaletteID::PaletteNull).ToUInt32();
widget.tooltip = STR_NONE;
widgetList.push_back(widget);
info.WidgetIndexMap.push_back(std::numeric_limits<size_t>::max());