diff --git a/ion/src/simulator/assets/logoWin.ico b/ion/src/simulator/assets/logoWin.ico new file mode 100644 index 000000000..b2927c075 Binary files /dev/null and b/ion/src/simulator/assets/logoWin.ico differ diff --git a/ion/src/simulator/windows/images.cpp b/ion/src/simulator/windows/images.cpp index 1bae507fa..8ce55e5fe 100644 --- a/ion/src/simulator/windows/images.cpp +++ b/ion/src/simulator/windows/images.cpp @@ -7,6 +7,8 @@ #include #include +#define SIMUICON 101 + /* Loading images using GDI+ * On Windows, we decompress JPEG images using GDI+ which is widely available. * Note that this adds an extra runtime dependency (as compared to just SDL), @@ -14,6 +16,7 @@ HRESULT CreateStreamOnResource(const char * name, LPSTREAM * stream) { HINSTANCE hInstance = GetModuleHandle(0); + HICON Icon = LoadIcon(hInstance, MAKEINTRESOURCE(SIMUICON)); *stream = nullptr; HRSRC hC = FindResource(hInstance, name, RT_RCDATA); if (!hC) { diff --git a/ion/src/simulator/windows/resources.rc b/ion/src/simulator/windows/resources.rc index 9994a689a..08c733227 100644 --- a/ion/src/simulator/windows/resources.rc +++ b/ion/src/simulator/windows/resources.rc @@ -1,4 +1,5 @@ #include +SIMUICON ICON "../assets/logoWin.ico" 1 VERSIONINFO FILEVERSION 1,0,0,0