1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +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

@@ -60,7 +60,7 @@ enum {
validate_global_widx(WC_TRACK_DESIGN_PLACE, WIDX_ROTATE);
static rct_widget window_track_place_widgets[] = {
WINDOW_SKELETON,
{ WINDOW_SKELETON(WINDOW_TITLE, WW, WH) },
{ WWT_FLATBTN, 0, 173, 196, 83, 106, SPR_ROTATE_ARROW, STR_ROTATE_90_TIP },
{ WWT_FLATBTN, 0, 173, 196, 59, 82, SPR_MIRROR_ARROW, STR_MIRROR_IMAGE_TIP },
{ WWT_BUTTON, 0, 4, 195, 109, 120, STR_SELECT_A_DIFFERENT_DESIGN, STR_GO_BACK_TO_DESIGN_SELECTION_WINDOW_TIP },