Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap #2

Open
20 of 26 tasks
halx99 opened this issue Jun 23, 2020 · 8 comments
Open
20 of 26 tasks

Roadmap #2

halx99 opened this issue Jun 23, 2020 · 8 comments

Comments

@halx99
Copy link
Member

halx99 commented Jun 23, 2020

roadmap

v1.x 保持兼容的情况下修复一些问题

  • appveyor ci集成
  • 模态对话框父窗口隐藏问题 [bug]
  • 使用DWM重新实现对话框阴影,详见: 如果开启了对话框阴影,双击对话框阴影即消失 #5
  • DUIWindow增加获取文本接口
  • 优化文本多行显示增强: a. 优化转义换行,更接近编程语言转义, b. 真实换行符支持
  • 设计器ValueEdit承载多行内容
  • 优化BSTR使用,修复内存泄露

v2.x 更多的优化,和特性

  • 升级pugixml库,保持可独立更新
  • 统一布局xml元素命名风格,目前看来有些大写,有些小写,早期dm对pugixml库做了特殊修改忽略大小写
  • 更换布局元素Static为label
  • 优化GetText/SetText,使之更易用,作为虚接口可作用于label, button, edit, richedit控件
  • 优化编码转换接口,统一为ntcvt实现,避免不必要的内存拷贝
  • CMake脚本增加C++标准选择, 例如: -D_CXX_STD=17
  • 优化BSTR使用,修复内存泄露
  • - UTF-8: 解析
    - UTF-16:
    - 文本渲染
    - 路径处理
    - 字体创建
  • 支持通过DM_EXCLUDE_XXX宏裁剪ActiveX等组件
  • 优化头文件包含,用户不再需要添加一堆DM头文件搜索路径,更方便集成到已有软件系统
  • DPI实现
  • 支持在vs2010~vs2022下编译
  • Github CI持续集成
  • svg支持
  • D2D渲染
  • Microsoft Edge webview2
  • 文档markdown化,后续可考虑集成readthedocs或docfx

v3.x 更远的理想

  • OpenGL渲染
  • Cross-platform
@halx99 halx99 pinned this issue Jun 23, 2020
@halx99 halx99 changed the title The roadmap of this repo The roadmap of this repo/仓库维护计划 Jun 23, 2020
@halx99 halx99 changed the title The roadmap of this repo/仓库维护计划 The roadmap of this repo/仓库维护计划, 个人能力有限,但爱好开源,欢迎大神来领任务 Jun 23, 2020
@halx99 halx99 changed the title The roadmap of this repo/仓库维护计划, 个人能力有限,但爱好开源,欢迎大神来领任务 Roadmap Jun 30, 2020
@halx99
Copy link
Member Author

halx99 commented Jul 8, 2020

DmMain.dll 二进制大小: 760KB

Performance,性能测试;

  • 目前加载Desginer主界面耗时:
    • Debug: 40ms
    • Release: 30ms
  • 平台
    • Intel i7 9700
    • 操作系统: win10 2004
    • Compiler: VS2019

@halx99
Copy link
Member Author

halx99 commented Feb 14, 2021

DPI:

  • "initsize" windowsize
  • "pos" control layout
  • itemsize tabctrl
  • "font"
  • edit cursor pos
  • "ncmargin"

@halx99
Copy link
Member Author

halx99 commented Feb 15, 2021

4K显示器 27英寸 1.5倍 DPI适配效果:
image

@IULOVE
Copy link

IULOVE commented Feb 16, 2021

可以考虑加入svg支持?

@halx99
Copy link
Member Author

halx99 commented Feb 16, 2021

可以考虑

@halx99
Copy link
Member Author

halx99 commented Feb 16, 2021

我目前是通过,customImageLoader机制,使用BCGP商业控件库提供的图像加载器来支持svg,png放大,BCGP也支持抗锯齿

@KnIfER
Copy link

KnIfER commented Mar 25, 2021

svg 有 demo 吗?

@halx99
Copy link
Member Author

halx99 commented Mar 25, 2021

svg 有 demo 吗?

svg暂未内置支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants