1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 18:25:16 +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

@@ -34,7 +34,7 @@ enum WINDOW_CLEAR_SCENERY_WIDGET_IDX {
#define WH 93
static rct_widget window_clear_scenery_widgets[] = {
WINDOW_SKELETON,
{ WINDOW_SKELETON(WINDOW_TITLE, WW, WH) },
{ WWT_IMGBTN, 0, 27, 70, 17, 48, SPR_LAND_TOOL_SIZE_0, STR_NONE }, // preview box
{ WWT_TRNBTN, 1, 28, 43, 18, 33, IMAGE_TYPE_REMAP | SPR_LAND_TOOL_DECREASE, STR_ADJUST_SMALLER_LAND_TIP }, // decrement size
{ WWT_TRNBTN, 1, 54, 69, 32, 47, IMAGE_TYPE_REMAP | SPR_LAND_TOOL_INCREASE, STR_ADJUST_LARGER_LAND_TIP }, // increment size