更新UpdateInfo方法,使用透明色清空Info

This commit is contained in:
zqm
2025-10-31 14:07:31 +08:00
parent 4629798115
commit 78c46dad6c
2 changed files with 46 additions and 12 deletions

View File

@@ -12,9 +12,10 @@
5. 图像更新时, 保存LastImage, 调用更新到UI
6. 2-5 只在非暂停状态下调用更新暂停状态下不更新Info和UI
### 更新Info:
1. 如果暂停显示暂停信息否则如果Ping不通或断开显示重连信息
2. 如果有温度数据显示最高温度否则清空Info
3. 最后调用更新UI
1. 以透明色清空Info
2. 如果暂停显示暂停信息否则如果Ping不通或断开显示重连信息 否则满足就绪条件
3. 在就绪条件下,如果有温度数据,显示最高温度
4. 最后调用更新UI
### 更新UI:
1. 先将LastImage绘制到全局缓冲
2. 再将InfoImage绘制到缓冲