From 0439e21a0582ab892c0e4bfa936c4d62ca2bcc61 Mon Sep 17 00:00:00 2001 From: "Somhairle H. Marisol" Date: Tue, 29 Sep 2026 13:46:49 +0800 Subject: p76: 底部条/槽位药丸化 + 对话/交互面板半透明描边与折行 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DrawHotbar 去掉整条大色块与实心槽位,改半透明条+1px 描边+发丝线,槽位内键位小片与图形并排,选中用 accent 描边;新增 HudLayout.actionLegend(取真实 controlRows 的键位+动作名图例,纯展示不改绑定)。DrawDialogOverlay/DrawPanel 背景改半透明描边语言,禁用近纯黑底。新增 HudLayout.wrapText/wrapLines 按实测宽度折行,DrawPanel 弃用 Substring 截断。新增 P76HotbarPanelTests(4 例);LV_P43_SHOT 昼/夜 + LV_P44_SHOT 对话面板证据 + analyze-p76(四区无实心近黑块、亮像素充足,verdict=PASS)。Desktop 358/358、Kernel 120/120、digest 与 p70 一致。 --- docs/evidence/p76-analysis.txt | 16 ++++++++++++++++ docs/evidence/p76-dialog-panel.png | Bin 0 -> 130287 bytes docs/evidence/p76-hotbar-day.png | Bin 0 -> 113516 bytes docs/evidence/p76-hotbar-night.png | Bin 0 -> 112502 bytes 4 files changed, 16 insertions(+) create mode 100644 docs/evidence/p76-analysis.txt create mode 100644 docs/evidence/p76-dialog-panel.png create mode 100644 docs/evidence/p76-hotbar-day.png create mode 100644 docs/evidence/p76-hotbar-night.png (limited to 'docs/evidence') diff --git a/docs/evidence/p76-analysis.txt b/docs/evidence/p76-analysis.txt new file mode 100644 index 0000000..97513ef --- /dev/null +++ b/docs/evidence/p76-analysis.txt @@ -0,0 +1,16 @@ +P76(底部条/槽位药丸化 + 对话/交互面板半透明描边)证据分析 — 真实 Desktop xvfb 1280x720 +近黑阈值 24(旧纯黑面板底色 (14,22,30) 口径);实心块 = 24x24 全近黑。 + +p43-hud-day: hotbar=(405, 660, 470, 56) size=(470, 56) dark_frac=0.109 maxblk=94 bright=1804 | legend dark_frac=0.116 maxblk=176 bright=1275 +p43-hud-night: hotbar=(405, 660, 470, 56) size=(470, 56) dark_frac=0.108 maxblk=94 bright=1683 | legend dark_frac=0.115 maxblk=176 bright=1196 + +p44-dialog-a: panel=(190, 558, 900, 138) dark_frac=0.013 maxblk=101 bright=2837 + +p67-target task-panel region=(16,470,380,220) dark_frac=0.003 maxblk=70 bright=378 + +diff p43-hud-day vs p43-hud-night: differing_pixels=921386 +diff p44-dialog-a vs p44-dialog-b: differing_pixels=3978 + +verdict=PASS + hotbar/legend/dialog/task regions have no solid near-black block; + key chips, icons and action-name legend remain bright; frames differ pairwise. diff --git a/docs/evidence/p76-dialog-panel.png b/docs/evidence/p76-dialog-panel.png new file mode 100644 index 0000000..64a1251 Binary files /dev/null and b/docs/evidence/p76-dialog-panel.png differ diff --git a/docs/evidence/p76-hotbar-day.png b/docs/evidence/p76-hotbar-day.png new file mode 100644 index 0000000..5030d62 Binary files /dev/null and b/docs/evidence/p76-hotbar-day.png differ diff --git a/docs/evidence/p76-hotbar-night.png b/docs/evidence/p76-hotbar-night.png new file mode 100644 index 0000000..5166e17 Binary files /dev/null and b/docs/evidence/p76-hotbar-night.png differ -- cgit v1.2.3