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

@@ -115,7 +115,7 @@ constexpr int32_t WW = 250;
constexpr int32_t WH = 273;
#define SHARED_WIDGETS \
WINDOW_SKELETON, /* WIDX_BACKGROUND, WIDX_TITLE, WIDX_CLOSE */ \
{ WINDOW_SKELETON(WINDOW_TITLE, WW, WH) }, /* WIDX_BACKGROUND, WIDX_TITLE, WIDX_CLOSE */ \
{ WWT_RESIZE, 1, 0, WW - 1, 43, WH - 2, 0xFFFFFFFF, STR_NONE }, /* WIDX_PAGE_BACKGROUND */ \
{ WWT_TAB, 1, 3, 33, 17, 43, IMAGE_TYPE_REMAP | SPR_TAB, STR_NONE }, /* WIDX_TAB_1 */ \
{ WWT_TAB, 1, 34, 64, 17, 43, IMAGE_TYPE_REMAP | SPR_TAB, STR_NONE }, /* WIDX_TAB_2 */ \