Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

[Feature]: 增加时钟视图 #6

Closed
3 of 4 tasks
xqyjlj opened this issue Aug 21, 2022 · 3 comments
Closed
3 of 4 tasks

[Feature]: 增加时钟视图 #6

xqyjlj opened this issue Aug 21, 2022 · 3 comments
Assignees
Labels
enhancement 新功能需求

Comments

@xqyjlj
Copy link
Owner

xqyjlj commented Aug 21, 2022

想要的功能

  • 实现可拖拽
  • 与芯片的时钟树相同
  • 靠XML文件描述
  • 支持自由配置(可给出超频提醒?)
@xqyjlj xqyjlj added the enhancement 新功能需求 label Aug 21, 2022
@xqyjlj
Copy link
Owner Author

xqyjlj commented Aug 21, 2022

关联 #1

@xqyjlj xqyjlj self-assigned this Aug 21, 2022
@xqyjlj
Copy link
Owner Author

xqyjlj commented Aug 24, 2022

目前方案:

  1. 使用一张1280*720大小的Canvas画布(采用720p一个原因是为了省大小,一个是为了兼容低分辨率)
  2. 绘制一个时钟树的矢量图,这里可以使用https://app.diagrams.net/, 这个可以导出透明背景的svg
  3. 将矢量图作为画布背景
  4. 在画布上按照xml的描述绘制控件(大小,属性,种类,位置)
  5. 解析xml的脚本(四则运算,可能还需要支持优先级?)
  6. 将脚本的key与程序的value进行绑定,实现运算
  7. 与C代码一一对应

@xqyjlj
Copy link
Owner Author

xqyjlj commented Aug 27, 2022

  1. 改用1600*900的画布,适配低分辨率的只需要自动进行缩放即可
  2. 采用Python进行解析svg图片
  3. 将svg图片为红色边框的方框全部提出,按从左到右从上到下,将其排列生成,并依次编号
  4. 将描述文件与坐标文件进行整合,产出……
  5. 数据库要做成联动形式,使用python脚本对其进行构建与生成

@xqyjlj xqyjlj pinned this issue Sep 18, 2022
@xqyjlj xqyjlj closed this as completed Sep 26, 2022
@xqyjlj xqyjlj unpinned this issue Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement 新功能需求
Projects
None yet
Development

No branches or pull requests

1 participant