From 6ae437ef75b5ea9634d628cb1bf7407481f7c2a0 Mon Sep 17 00:00:00 2001 From: _brxxh <11dac2t@huhn-online.de> Date: Thu, 23 Nov 2023 19:17:57 +0100 Subject: [PATCH] Setted window "spawn point" to middle of screen --- examples/quickwings/quickwings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/quickwings/quickwings.cpp b/examples/quickwings/quickwings.cpp index 2a91d22..9ba279e 100644 --- a/examples/quickwings/quickwings.cpp +++ b/examples/quickwings/quickwings.cpp @@ -319,7 +319,7 @@ auto main() -> int { */ window .set_size(size) // ... Grösse - .set_position(paradiso::Point{.x = 100, .y = 100}) // ... Position + .set_position(paradiso::Point{.x = 1920 / 2 - 500 / 2, .y = 1080 / 2 - 700 / 2}) // ... Position .set_title("PardiSO.FlappyBird") // ... Titel .set_visible(true); // ... und jetzt anzeigen!