1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00

Make WINDOW_SKELETON take a title, height and width

This commit is contained in:
Gymnasiast
2020-05-05 22:11:10 +02:00
parent 559ede5d14
commit 96fe3d3b3c
50 changed files with 72 additions and 70 deletions

View File

@@ -40,7 +40,7 @@ enum WINDOW_TEXT_INPUT_WIDGET_IDX {
// 0x9DE4E0
static rct_widget window_text_input_widgets[] = {
WINDOW_SKELETON,
{ WINDOW_SKELETON(WINDOW_TITLE, WW, WH) },
{ WWT_BUTTON, 1, WW - 80, WW - 10, WH - 22, WH - 9, STR_CANCEL, STR_NONE },
{ WWT_BUTTON, 1, 10, 80, WH - 22, WH - 9, STR_OK, STR_NONE },
{ WIDGETS_END }