发布前托管重绘与布局封版收口

收口 Dialog/overlay 后鼠标状态同步、Tooltip 临时 coverage 与持久 coverage 拆分、跨 root 脏区补提交、TextBox/Button 绘制副作用修复,并补充 KEY6 回归用例和 BUG/Fix/Feature 开发记录。
This commit is contained in:
Codex
2026-05-17 00:26:08 +08:00
parent 2388f22c99
commit 9155a86a8a
26 changed files with 1355 additions and 175 deletions
+7
View File
@@ -579,6 +579,13 @@ RECT Control::getManagedRepaintCoverageRect() const
return getBoundsRect();
}
RECT Control::getManagedRepaintPersistentCoverageRect() const
{
// 基类默认认为持久绘制范围等于控件本体。
// 只有 Tooltip 这类临时浮层需要从持久范围中剔除。
return getBoundsRect();
}
bool Control::canCommitManagedPartialRepaint() const
{
// 基类默认不承诺自己能安全做局部提交;