Add Windows resource files and load the app icon in the window class. Introduce resources/nebula.rc and resources/resource.h (defines IDI_APPICON referencing assets/images/branding/Nebula-Favicon.ico). Include resource.h in nebula_window_win.cpp and set window_class.hIcon/hIconSm via LoadImageW. Update CMakeLists.txt to compile the .rc and add the resources include directory for Windows.
4 lines
91 B
Plaintext
4 lines
91 B
Plaintext
#include "resource.h"
|
|
|
|
IDI_APPICON ICON "..\\assets\\images\\branding\\Nebula-Favicon.ico"
|