mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +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:
@@ -23,7 +23,7 @@ enum {
|
||||
};
|
||||
|
||||
static rct_widget window_error_widgets[] = {
|
||||
MakeWidget({0, 0}, {200, 42}, WWT_IMGBTN, 0),
|
||||
MakeWidget({0, 0}, {200, 42}, WWT_IMGBTN, WindowColour::Primary),
|
||||
{ WIDGETS_END }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user