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窗体的图标,但是整个软件找下来也没找到设置这个图标的地方,请问是否固化为这个图标了?能否修改?怎么修改?
PS:我的工作是使用GuiGuider设计在图形化Linux下的可执行程序。
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