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

实践反馈 #15

Closed
RgznLbq opened this issue Dec 12, 2018 · 4 comments
Closed

实践反馈 #15

RgznLbq opened this issue Dec 12, 2018 · 4 comments

Comments

@RgznLbq
Copy link

RgznLbq commented Dec 12, 2018

CPU使用过高,如果绘制股票行情图、雷达仪表等问题会很突出。中文字符乱码问题。缺少注意事项:比如必须添加一个字体否咋会崩溃。改变Helloxxx等实例窗口大小时会露出MFC的窗口。

@idea4good
Copy link
Owner

cpu使用率过高问题,已经解决,请更新代码,再验证一下

@RgznLbq
Copy link
Author

RgznLbq commented Dec 27, 2018

cpu使用率过高问题,已经解决,请更新代码,再验证一下

image
还是挺高的。

@idea4good
Copy link
Owner

当界面在进行大面积刷新的时候,会占用较大的CPU资源,这是合理的,可能无法避免
在界面处于静止状态,或小面积刷新时,CPU使用率就会降下来;你可以再看下小面积刷新(或静止)情况下的CPU使用率。比如:选择helloxxx的实例看一下

@idea4good
Copy link
Owner

关于添加字体,导致程序崩溃的问题,是assert所致,我们换成了更加友好的方式来提醒开发者:

  1. 如果没有该字体资源,输出的文字会出现红色的“X”
  2. 如果有字体资源,但没有制作某个字的点阵,该字会出现白色的“X”

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

2 participants