华芯微特开发论坛

 找回密码
 立即注册
搜索
热搜: SWM341 资料
查看: 1443|回复: 2

有关设置和使用Synwit UI创建者的问题 (Synwit UI Creator)

[复制链接]

1

主题

3

帖子

29

积分

新手上路

Rank: 1

积分
29
发表于 2024-1-12 20:20:07 | 显示全部楼层 |阅读模式
你好! 我来自俄罗斯,并使用您的Synwit UI创建器程序。 我喜欢该程序的界面和功能。 当然,我不太了解您的语言,我必须使用翻译器,因此使用电子翻译程序翻译这封信。 让我问一些问题,我没有任何答案。 当我将相应的文件从Synwit UI创建器程序连接到Keil Uvision项目时,图形接口的变化很小,Keil程序将Screen00x.c文件删除到原始的“空”条件中,擦除了我的功能和线条程序。 我必须再次写功能。 是否有可能以某种方式组织“ Synwit UI Creator程序更改”的代码线“受保护”区域? 第二个问题是,我需要使用圆柱形符号在文本领域显示信息。 我试图连接.ttf cyrilic字体,但是在使用lv_textarea_add_text(synwit_ui_find_lv_obj(WIDGET_TEXTAREA_1), “ <Some_russian_symbols>”); 我的符号不是在TextArea_1中打印的,但同时英文符号和数字印刷得很好。 您能推荐我如何用Textarea领域的圆柱形符号打印俄语单词吗? 非常感谢您,感谢您创建一个非常有趣的Synwit UI创建程序。 真挚地, 罗马•切尔尼夫(Roman Chernyaev)

Hello! I am from Russia and use Synwit UI Creator program. I like the interface and the capabilities of this program. Of course, I don't know your language well and I have to use the translator, so this letter is translated using the electronic translation program. Let me ask a few questions, which I do not have any answers to. When I connected the corresponding files from the Synwit UI Creator program to the KEIL UVISION project, with the slightest change in the graphic interface, the KEIL program drops Screen00x.c files into the original “empty” condition, erasing my functions and lines of my program. I have to write functions again. Is it possible to somehow organize “protected” areas for the lines of code that would not be wiped with changes in the Synwit UI Creator program? And the second question is that I need to use Cyrilic symbols to display information in the Textarea field. I tried to connect .ttf Cyrilic fonts, but when displaying using the lv_textarea_add_text(synwit_ui_find_lv_obj(WIDGET_TEXTAREA_1), "<Some_russian_symbols>"); My symbols are not printed in Textarea_1, but at the same time English symbols and numbers are printed well. Could you recommend me how to print Russian words in the Cyrilic symbols in the field of Textarea? Thank you very much and thank you for creating a very interesting Synwit UI Creator program.
Sincerely,
Roman Chernyaev
回复

使用道具 举报

1

主题

3

帖子

29

积分

新手上路

Rank: 1

积分
29
 楼主| 发表于 2024-1-13 15:47:39 | 显示全部楼层
使用触摸板驱动程序还有另一点。 我使用GT9X。 在我的情况下,屏幕的垂直位置(topheral.tp.driver = gt9x,compheral.display.hres.hres = 800,coppheral.display.display.vres = 480,copipheral.display.display.Rotation.Rotation = 270,SynwitManifeed文件),SynwitManifeed文件)该区域是左侧的镜子。 也就是说,触摸左侧被解释为在同一级别的右侧触摸,反之亦然。 为了克服这一点,有必要在tp_gt9x.c文件中暂时制作179-181行。 也许这将在下一个更新中解决。
真挚地,
罗马·切尔尼夫(Roman Chernyaev)

There is another point using the TouchPad driver. I use GT9X. In my case, with the vertical location of the screen (peripheral.tp.driver = gt9x, peripheral.display.hres = 800, peripheral.display.vres = 480, peripheral.display.rotation = 270 in the Synwitmaniefest file), sensor The area is a mirror on the left right. That is, touching on the left side are interpreted as touching in the right at the same level vertically and vice versa.  To overcome this, I had to temporarily turn off the lines 179-181 in the tp_gt9x.c file. Perhaps this will be fixed in the next update.
Sincerely,
Roman Chernyaev
回复

使用道具 举报

3

主题

8

帖子

228

积分

中级会员

Rank: 3Rank: 3

积分
228
发表于 2024-1-15 11:34:15 | 显示全部楼层
Hello, thank you for using and liking synwit products.
For the first problem, when we fine-tuning some interfaces in the UI Creator, we only need to update <appkit> file document in Keil Uversion, so that we don't overwrite the original screen00x.c content.
For the second problem, UI Creator can display UTF-8 encoded fonts, and we can print Russian words based on UTF-8 encoding,
For the third problem, the driver will be slightly different due to the different firmware of each screen manufacturer, so only the following code needs to be modified to make the touch normal (in tp_gt9x.c line180)Sincerely,
wut


您好,感谢您使用和喜欢华芯微特的产品、
对于第一个问题,当我们在UI Creator中微调某些界面时,在Keil Uversion只需要更新appkit文件夹即可,这样就不会覆盖掉原先screen00x.c的内容。
对于第二个问题,UI Creator可以显示UTF-8编码的字体,我们可以显示基于UTF-8编码的俄罗斯单词
对于第三个问题,由于各个厂家的固件不同,因此驱动会略有差异,因此只需要修改以下代码可以使得触摸正常



a2f7ee83250985991a99432f99972d0.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|华芯微特开发论坛

GMT+8, 2025-1-9 21:23 , Processed in 0.034670 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表