2140533_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2140533_en-US

2140533_en-US

提问关于窗体图标的问题

lv_drivers\display\monitor.c创建窗体的函数window_create中有段代码

iconSurface = SDL_CreateRGBSurfaceFrom(simulator_icon, 32, 32, 16, 32 * 2, 0xf000, 0x0f00, 0x00f0, 0x000f);
SDL_SetWindowIcon(m->window, iconSurface);
SDL_FreeSurface(iconSurface);

它们的作用应该是显示SDL窗体的图标,但是整个软件找下来也没找到设置这个图标的地方,请问是否固化为GUI_Guider_Icon256×256.png这个图标了?能否修改?怎么修改?

PS:我的工作是使用GuiGuider设计在图形化Linux下的可执行程序。

Re: 提问关于窗体图标的问题

Hello @cabbage.

Thank you for your post. The code is indeed used to set the SDL window icon, which is the default logo for GuiGuider, and the related image data has been written directly in the source code. The compiled software cannot be modified.

The software source code is not provided, so it does not support users to make changes. Just the application code generated by the software can be viewed in the code editor.

I hope to help you.

BRs.

Celeste

标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 06:21 PM
更新人: