mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
Create WindowColour enum for widget definition calls (#12722)
* Make MakeWidget* functions take enum colour * Make windows A-D use WindowColour enum * Make windows E-G use WindowColour enum * Make windows I-M use WindowColour enum * Make windows N-P use WindowColour enum * Make windows R-S use WindowColour enum * Make windows T use WindowColour enum * Make windows V-W use WindowColour enum
This commit is contained in:
@@ -20,7 +20,7 @@ enum WINDOW_TITLE_OPTIONS_WIDGET_IDX {
|
||||
};
|
||||
|
||||
static rct_widget window_title_options_widgets[] = {
|
||||
MakeWidget({0, 0}, {80, 15}, WWT_BUTTON, 2, STR_OPTIONS, STR_OPTIONS_TIP),
|
||||
MakeWidget({0, 0}, {80, 15}, WWT_BUTTON, WindowColour::Tertiary, STR_OPTIONS, STR_OPTIONS_TIP),
|
||||
{ WIDGETS_END },
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user