Fix Window IDX enum names

This commit is contained in:
LRFLEW authored and GitHub committed 2021-01-13 23:00:35 +01:00
1 parent 0c91ed9bdd
commit 601fa5629b
5 files changed
+5 -5

No files matched your search

+1 -1
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,
+1 -1
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,
+1 -1
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,
+1 -1
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,
@@ -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,