1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 03:35:09 +01:00

Rename rct_widgetindex to WidgetIndex

This commit is contained in:
Gymnasiast
2022-08-21 18:49:23 +02:00
parent 7f29e4e39c
commit a088537b65
87 changed files with 768 additions and 770 deletions

View File

@@ -89,7 +89,7 @@ public:
safe_strcpy(_description, gConfigNetwork.server_description.c_str(), sizeof(_description));
safe_strcpy(_greeting, gConfigNetwork.server_greeting.c_str(), sizeof(_greeting));
}
void OnMouseUp(rct_widgetindex widgetIndex) override
void OnMouseUp(WidgetIndex widgetIndex) override
{
switch (widgetIndex)
{
@@ -165,7 +165,7 @@ public:
widget_invalidate(*this, WIDX_PASSWORD_INPUT);
}
}
void OnTextInput(rct_widgetindex widgetIndex, std::string_view text) override
void OnTextInput(WidgetIndex widgetIndex, std::string_view text) override
{
if (text.empty())
return;