1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix Window IDX enum names

This commit is contained in:
LRFLEW
2021-01-13 16:00:35 -06:00
committed by GitHub
parent 0c91ed9bdd
commit 601fa5629b
5 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ static constexpr const int32_t WH = 94;
static constexpr const int32_t WW = 98;
// clang-format off
enum WINDOW_WATER_WIDGET_IDX {
enum WINDOW_LAND_RIGHTS_WIDGET_IDX {
WIDX_BACKGROUND,
WIDX_TITLE,
WIDX_CLOSE,

View File

@@ -54,7 +54,7 @@ static constexpr const notification_def NewsItemOptionDefinitions[] = {
{ NOTIFICATION_CATEGORY_GUEST, STR_NOTIFICATION_GUEST_DIED, offsetof(NotificationConfiguration, guest_died) },
};
enum WINDOW_NEWS_WIDGET_IDX {
enum WINDOW_NEWS_OPTIONS_WIDGET_IDX {
WIDX_BACKGROUND,
WIDX_TITLE,
WIDX_CLOSE,

View File

@@ -15,7 +15,7 @@
#include <openrct2/localisation/Localisation.h>
#include <openrct2/world/Scenery.h>
enum WINDOW_CLEAR_SCENERY_WIDGET_IDX
enum WINDOW_SCENERY_SCATTER_WIDGET_IDX
{
WIDX_BACKGROUND,
WIDX_TITLE,

View File

@@ -65,7 +65,7 @@ static rct_window_event_list window_themes_events([](auto& events)
events.scroll_paint = &window_themes_scrollpaint;
});
enum WINDOW_STAFF_LIST_WIDGET_IDX {
enum WINDOW_THEMES_WIDGET_IDX {
WIDX_THEMES_BACKGROUND,
WIDX_THEMES_TITLE,
WIDX_THEMES_CLOSE,

View File

@@ -49,7 +49,7 @@ static TITLE_COMMAND_ORDER _window_title_command_editor_orders[] = {
#define NUM_COMMANDS std::size(_window_title_command_editor_orders)
enum WINDOW_WATER_WIDGET_IDX {
enum WINDOW_TITLE_COMMAND_EDITOR_WIDGET_IDX {
WIDX_BACKGROUND,
WIDX_TITLE,
WIDX_CLOSE,