Replace more occurences of 28

This commit is contained in:
Marijn van der Werf committed 2017-06-01 22:38:35 +02:00
1 parent fad3c11827
commit 2e40d90f5f
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ void window_install_track_open(const utf8 *path)
sint32 screenWidth = context_get_width();
sint32 screenHeight = context_get_height();
sint32 x = screenWidth / 2 - 201;
sint32 y = max(28, screenHeight / 2 - 200);
sint32 y = max(TOP_TOOLBAR_CLEARANCE, screenHeight / 2 - 200);
rct_window *w = window_create(x, y, 402, 400, &window_install_track_events, WC_INSTALL_TRACK, 0);
w->widgets = window_install_track_widgets;
+1 -1
View File
@@ -293,7 +293,7 @@ void window_top_toolbar_open()
{
rct_window * window = window_create(
0, 0,
context_get_width(), 28,
context_get_width(), TOP_TOOLBAR_CLEARANCE,
&window_top_toolbar_events,
WC_TOP_TOOLBAR,
WF_STICK_TO_FRONT | WF_TRANSPARENT | WF_NO_BACKGROUND
+2 -2
View File
@@ -125,10 +125,10 @@ void window_track_list_open(ride_list_item item)
sint32 screenWidth = context_get_width();
sint32 screenHeight = context_get_height();
x = screenWidth / 2 - 300;
y = max(28, screenHeight / 2 - 200);
y = max(TOP_TOOLBAR_CLEARANCE, screenHeight / 2 - 200);
} else {
x = 0;
y = 29;
y = TOP_TOOLBAR_CLEARANCE + 1;
}
rct_window *w = window_create(
x,
+1 -1
View File
@@ -258,7 +258,7 @@ static void window_track_delete_prompt_open()
sint32 screenWidth = context_get_width();
sint32 screenHeight = context_get_height();
rct_window *w = window_create(
max(28, (screenWidth - 250) / 2),
max(TOP_TOOLBAR_CLEARANCE, (screenWidth - 250) / 2),
(screenHeight - 44) / 2,
250,
74,