From e9603f4218e7dffe0ded08ffab7e292263a0a2b6 Mon Sep 17 00:00:00 2001 From: Cyd Date: Thu, 13 Aug 2026 20:19:23 -0500 Subject: [PATCH] The host's LAUNCH moves to the middle of the panel The commit board - the roster of who is connecting, loading and READY, with the LAUNCH button that arms once they all are - was pinned to the top right of the game window, which puts it over the upper right MFD. It belongs on the upper centre one. The host is reading down that roster and then reaching for LAUNCH, and the middle of the panel is where they are already looking. The right-hand corner had it out at the edge of vision, furthest from everything else they are doing. One placement, so one line: the board is centred on the game window instead of inset from its right edge, and clamped for a window narrower than the board itself. Not seen on screen here - the board only exists once a remote pod has joined (a solo commit launches itself and draws no board), so watching it land needs the second machine. Co-Authored-By: Claude Opus 5 (1M context) --- RP_L4/RPL4CONSOLE.cpp | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/RP_L4/RPL4CONSOLE.cpp b/RP_L4/RPL4CONSOLE.cpp index d4fa952..60c4582 100644 --- a/RP_L4/RPL4CONSOLE.cpp +++ b/RP_L4/RPL4CONSOLE.cpp @@ -684,16 +684,26 @@ namespace int width = 280; // - // Top-right of the game window, inset a little - over the 3D - // view, clear of the instrument panes along the edges. + // Top of the game window, centred - over the upper centre MFD + // rather than the upper right one it used to sit on. The host is + // reading the roster and then reaching for LAUNCH, and the middle + // of the panel is where the eye already is; the right-hand corner + // put it out at the edge of vision, furthest from everything else + // the host is doing. // RECT game; GetWindowRect(ghWnd, &game); + int board_x = game.left + ((game.right - game.left) - width) / 2; + if (board_x < game.left) + { + board_x = game.left; // narrower window than the board + } + gStatusWindow = CreateWindowExA( WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_TOOLWINDOW, "RPCommitBoard", "", WS_POPUP, - game.right - width - 48, game.top + 64, + board_x, game.top + 64, width, height, ghWnd, NULL, GetModuleHandleA(NULL), NULL); if (gStatusWindow != NULL)