mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Remove snake_case from second chunk of Drawing (#19166)
This commit is contained in:
@@ -186,7 +186,7 @@ public:
|
||||
: ImageId::FromUInt32(static_cast<uint32_t>(gDropdownItems[i].Args));
|
||||
if (item == Dropdown::FormatColourPicker && highlightedIndex == i)
|
||||
image = image.WithIndexOffset(1);
|
||||
gfx_draw_sprite(&dpi, image, screenCoords);
|
||||
GfxDrawSprite(&dpi, image, screenCoords);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -353,7 +353,7 @@ void WindowDropdownShowText(const ScreenCoordsXY& screenPos, int32_t extray, uin
|
||||
for (size_t i = 0; i < num_items; i++)
|
||||
{
|
||||
format_string(buffer, 256, gDropdownItems[i].Format, static_cast<void*>(&gDropdownItems[i].Args));
|
||||
string_width = gfx_get_string_width(buffer, FontStyle::Medium);
|
||||
string_width = GfxGetStringWidth(buffer, FontStyle::Medium);
|
||||
max_string_width = std::max(string_width, max_string_width);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user