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) <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-08-13 20:19:23 -05:00
co-authored by Claude Opus 5
parent 6467a5f930
commit e9603f4218
+13 -3
View File
@@ -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)