How to set icon

Description

What MCU/Processor/Board and compiler are you using?

x86_64 and windows driver

What LVGL version are you using?

9.2.2

What do you want to achieve?

how to set this two icon

Add your icon to the folder: LvglPlatform\LvglWindowsIconResource :
“yourIcon.ico”.

And in the file “LvglWindowsIconResource.rc” write the name of your file.

old:
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_LVGL_WINDOWS ICON “LvglWindowsIconResource.ico”

#endif // Neutral language resources

your icon:
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_LVGL_WINDOWS ICON “youricon.ico”

#endif // Neutral language resources

1 Like