docs(app-iced): M116 r3 复审 —— 只对齐注释里的「只读下层键」数量与取证日志模板
复审 r3:p2 ×2,纯注释/文档漂移,**行为零改动、断言零改动**。 1. `app/appearance.rs:8,15-20,68` 与 `app/state.rs:170-171`:M116 之后 `AppearanceBase` 是**四个**字段(整窗 α / 标题栏三态 / 配色来源 / 窗口圆角), 走 `AppCommand::SetSetting` 的是**三个**键(标题栏三态还没有 UI 写者,D37 接线未落地)。 两处数字与列举按 grep 到的实际代码改(`AppearanceBase` 的 `pub` 字段数 = 4; `on_appearance` 的 match 守卫 = WindowOpacity / PaletteSource / Corner)。 2. `pages/appearance/mod.rs:41` 的取证件模板补 `corner=`:`[appearance]` 行确实有这一栏, 圆角还有一条独立管线 `[corner] <ctx> corner=policy=… source=… os=… excluded_reason=… radius=system pref=… readback=… read_hr=… frame=… layered=…`(取值形状取自探针实跑, 见 corner/tests.rs 的格式单测),模板已按此补齐,并注明「看上去圆不圆」同样不可信。 门禁(`CARGO_TARGET_DIR=C:/Temp/ull-target/wt-116`, `-j 4`,退出码逐个落盘): check 0 / fmt --check 0 / `cargo test -p unlucky-app-iced --lib` 0(447 passed, 0 failed, 2 ignored)。 行数:appearance.rs 130、state.rs 343、pages/appearance/mod.rs 180(均 ≤400)。
This commit is contained in:
1 parent
41746d1612
commit
bc3a2b56a4
3 files changed
+15
-8
No files matched your search
@@ -39,8 +39,12 @@
|
||||
//! ## 取证
|
||||
//!
|
||||
//! 每一处改动都打一行 [`state::State::log_line`]:`[appearance] window_alpha=… panel_alpha=…
|
||||
//! byte=…`。数值是**下发前**的字节(不是观感),因为在 RDP + 虚拟显示适配器上「看上去多透明」
|
||||
//! 不可信。截图矩阵用 `ULL_APPEARANCE_*` 环境变量灌值(见 [`state`] 的常量)。
|
||||
//! byte=… corner=…`;圆角另有一条独立管线,行形如
|
||||
//! `[corner] <ctx> corner=policy=system source=dwm os=10.0.26100 excluded_reason=none
|
||||
//! radius=system pref=2 readback=? read_hr=0x80070057 frame=popup layered=on`
|
||||
//! (见 `app::update::appearance` 与 `platform::win32::corner::format_line`)。数值是**下发前**的
|
||||
//! 字节/属性值(不是观感),因为在 RDP + 虚拟显示适配器上「看上去多透明 / 圆不圆」不可信。
|
||||
//! 截图矩阵用 `ULL_APPEARANCE_*` 环境变量灌值(见 [`state`] 的常量)。
|
||||
|
||||
pub mod alpha;
|
||||
pub mod background;
|
||||
|
||||
Reference in new issue
Block a user