Add Windows app icon resource & load it

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.
This commit is contained in:
Andrew Zambazos
2026-07-12 19:42:06 +12:00
parent 76b942542a
commit 487c5fc1ae
4 changed files with 25 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
#pragma once
#define IDI_APPICON 1