launch_live.ps1: enlarge exploded cockpit windows +25% (0.75 scale)
Per user request, bumped the cockpit MFD/radar windows from 0.6 to 0.75 of native 640x480 (MFD 384->480, radar 288->360 logical). Live-verified on the secondary: MFDs now render 331x266 (was 267x218, ~+24% after the primary's DPI downscale), radar 251x346, all six still fit the 1707x1067 secondary with margin, renderer unchanged on the primary. No wire stall. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -47,10 +47,13 @@ function Get-ExplodeEnv {
|
||||
$b = $sec.Bounds
|
||||
Write-Host ("exploded view -> secondary '{0}' {1}x{2} @ ({3},{4})" -f `
|
||||
$sec.DeviceName, $b.Width, $b.Height, $b.X, $b.Y)
|
||||
# local layout (fits ~1120x820) then offset onto the secondary; radar is
|
||||
# portrait. g: 0=radar 5=LL 6=LR 7=UR 8=UC 9=UL (7/9 swapped per the pod).
|
||||
$m = 384; $n = 288 # MFD w,h (0.6 scale of 640x480)
|
||||
$rw = 288; $rh = 384 # radar w,h (portrait)
|
||||
# local layout then offset onto the secondary; radar is portrait.
|
||||
# g: 0=radar 5=LL 6=LR 7=UR 8=UC 9=UL (7/9 swapped per the pod). Sizes are
|
||||
# requested logical px; Windows DPI-scaling on a HiDPI primary renders them
|
||||
# ~0.7x on screen, so these run large to land right (user asked +25% over
|
||||
# the first 0.6-scale pass -> 0.75 of native 640x480).
|
||||
$m = 480; $n = 360 # MFD w,h (0.75 scale of 640x480)
|
||||
$rw = 360; $rh = 480 # radar w,h (portrait)
|
||||
$x0 = $b.X + 20; $y0 = $b.Y + 20
|
||||
$col = @($x0, ($x0 + $m + 16), ($x0 + 2*($m + 16))) # 3 columns
|
||||
$rowU = $y0; $rowL = $y0 + $n + 16
|
||||
|
||||
Reference in New Issue
Block a user