mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 14:54: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:
@@ -41,8 +41,8 @@ enum WINDOW_TEXT_INPUT_WIDGET_IDX {
|
||||
// 0x9DE4E0
|
||||
static rct_widget window_text_input_widgets[] = {
|
||||
WINDOW_SHIM(WINDOW_TITLE, WW, WH),
|
||||
MakeWidget({170, 68}, {71, 14}, WWT_BUTTON, 1, STR_CANCEL),
|
||||
MakeWidget({ 10, 68}, {71, 14}, WWT_BUTTON, 1, STR_OK ),
|
||||
MakeWidget({170, 68}, {71, 14}, WWT_BUTTON, WindowColour::Secondary, STR_CANCEL),
|
||||
MakeWidget({ 10, 68}, {71, 14}, WWT_BUTTON, WindowColour::Secondary, STR_OK ),
|
||||
{ WIDGETS_END }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user