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

请教移植awtk遇到的几个问题 #182

Open
Jun1172 opened this issue Jul 17, 2019 · 1 comment
Open

请教移植awtk遇到的几个问题 #182

Jun1172 opened this issue Jul 17, 2019 · 1 comment

Comments

@Jun1172
Copy link

Jun1172 commented Jul 17, 2019

您好:
目前移植了awtk到rt10501,运行demo程序,屏幕上能刷出一些空间,但是目前有几个问题,不知道原因,想请教一下。

1.字符显示不出来。
我将demo在pc端运行,发现按键上都有一些字符,但是我移植的GUI,屏幕上只有个按键的框框

2.触摸不正常
demo有个滑块控件,在电脑上能拖的,但是在屏幕上,一拖它就自己跑到滑块的一端,然后就拉不动了

3.屏幕是rgb888的,怎么选择LCD
在库里面,有bgr888/bgra8888/rgba8888,但是我是rgb888的,我该怎么选择屏幕类型,主要是platform_create_lcd会使用这个东西

下面是PC端显示截图
image

下面是移植之后在硬件上的显示状态
image

@sosotan
Copy link
Contributor

sosotan commented Aug 5, 2019

可能是 awtk_config.h 中的功能裁剪缺少一些组件
移植的时候, 需要配置预编译宏 HAS_AWTK_CONFIG

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