mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix icons for SDL and Windows
This commit is contained in:
parent
72d51a8e2c
commit
9013032ce5
@ -52,7 +52,7 @@ file (COPY resources/image DESTINATION share/planetblupi)
|
|||||||
file (COPY resources/movie DESTINATION share/planetblupi)
|
file (COPY resources/movie DESTINATION share/planetblupi)
|
||||||
file (COPY resources/sound DESTINATION share/planetblupi)
|
file (COPY resources/sound DESTINATION share/planetblupi)
|
||||||
file (COPY resources/music DESTINATION share/planetblupi)
|
file (COPY resources/music DESTINATION share/planetblupi)
|
||||||
file (COPY resources/icon/planetblupi.png DESTINATION share/planetblupi)
|
file (COPY resources/icon/blupi-256.png DESTINATION share/planetblupi)
|
||||||
|
|
||||||
# Windows stuff
|
# Windows stuff
|
||||||
|
|
||||||
@ -155,7 +155,7 @@ install (DIRECTORY resources/image DESTINATION share/planetblupi)
|
|||||||
install (DIRECTORY resources/movie DESTINATION share/planetblupi)
|
install (DIRECTORY resources/movie DESTINATION share/planetblupi)
|
||||||
install (DIRECTORY resources/sound DESTINATION share/planetblupi)
|
install (DIRECTORY resources/sound DESTINATION share/planetblupi)
|
||||||
install (DIRECTORY resources/music DESTINATION share/planetblupi)
|
install (DIRECTORY resources/music DESTINATION share/planetblupi)
|
||||||
install (FILES resources/icon/planetblupi.png DESTINATION share/planetblupi)
|
install (FILES resources/icon/blupi-256.png DESTINATION share/planetblupi)
|
||||||
|
|
||||||
# Copy libwinpthread-1.dll which seems not be linkable statically
|
# Copy libwinpthread-1.dll which seems not be linkable statically
|
||||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND MINGW)
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND MINGW)
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 44 KiB |
BIN
resources/win32/blupi.ico
Normal file
BIN
resources/win32/blupi.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
Binary file not shown.
Before Width: | Height: | Size: 264 KiB |
@ -1 +1 @@
|
|||||||
id ICON "planetblupi.ico"
|
id ICON "blupi.ico"
|
||||||
|
@ -405,7 +405,7 @@ static bool DoInit (Sint32 argc, char *argv[])
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto icon = IMG_Load ((GetBaseDir () + "planetblupi.png").c_str ());
|
auto icon = IMG_Load ((GetBaseDir () + "blupi-256.png").c_str ());
|
||||||
SDL_SetWindowIcon (g_window, icon);
|
SDL_SetWindowIcon (g_window, icon);
|
||||||
SDL_FreeSurface (icon);
|
SDL_FreeSurface (icon);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user