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

@@ -141,7 +141,7 @@ validate_global_widx(WC_EDITOR_OBJECT_SELECTION, WIDX_TAB_1);
static bool _window_editor_object_selection_widgets_initialised;
static std::vector<rct_widget> _window_editor_object_selection_widgets = {
WINDOW_SKELETON,
{ WINDOW_SKELETON(WINDOW_TITLE, WW, WH) },
{ WWT_RESIZE, 1, 0, 599, 43, 399, 0xFFFFFFFF, STR_NONE },
{ WWT_BUTTON, 0, 470, 591, 23, 34, STR_OBJECT_SELECTION_ADVANCED, STR_OBJECT_SELECTION_ADVANCED_TIP },
{ WWT_SCROLL, 1, 4, 291, 60, 386, SCROLL_VERTICAL, STR_NONE },