mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-24 18:00:18 +01:00
Compare commits
No commits in common. "5ffbab8208b1b341e49199761267ed67ccad6c62" and "4db4e5fbcb84c9f9e1b9e681f3bccae746034338" have entirely different histories.
5ffbab8208
...
4db4e5fbcb
6 changed files with 14 additions and 10 deletions
|
@ -222,9 +222,13 @@ if(UNIX AND NOT APPLE)
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||||
install(FILES "/Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications")
|
install(FILES "/Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications")
|
||||||
install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo")
|
install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo")
|
||||||
foreach(S 16 32 48 128 192)
|
install(FILES "${PROJECT_NAME}/Icon_16x16.png" DESTINATION
|
||||||
install(FILES "${PROJECT_NAME}/Icon_${S}x${S}.png" DESTINATION
|
"share/icons/hicolor/16x16/apps" RENAME "${PROJECT_NAME}.png")
|
||||||
"share/icons/hicolor/${S}x${S}/apps" RENAME "${PROJECT_NAME}.png")
|
install(FILES "${PROJECT_NAME}/Icon_32x32.png" DESTINATION
|
||||||
endforeach(S)
|
"share/icons/hicolor/32x32/apps" RENAME "${PROJECT_NAME}.png")
|
||||||
|
install(FILES "${PROJECT_NAME}/Icon_48x48.png" DESTINATION
|
||||||
|
"share/icons/hicolor/48x48/apps" RENAME "${PROJECT_NAME}.png")
|
||||||
|
install(FILES "${PROJECT_NAME}/Icon_192x192.png" DESTINATION
|
||||||
|
"share/icons/hicolor/192x192/apps" RENAME "${PROJECT_NAME}.png")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -21,10 +21,13 @@
|
||||||
</provides>
|
</provides>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<screenshot type="default">
|
||||||
<image>https://raw.githubusercontent.com/k4zmu2a/SpaceCadetPinball/master/Screenshots/screenshot-1.jpg</image>
|
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-1.png?raw=true</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
<screenshot>
|
<screenshot>
|
||||||
<image>https://raw.githubusercontent.com/k4zmu2a/SpaceCadetPinball/master/Screenshots/screenshot-2.jpg</image>
|
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-2.png?raw=true</image>
|
||||||
|
</screenshot>
|
||||||
|
<screenshot>
|
||||||
|
<image>https://github.com/kowalski7cc/com.github.k4zmu2a.spacecadetpinball/blob/main/screenshots/screenshot-3.png?raw=true</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<releases>
|
<releases>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 612 KiB |
Binary file not shown.
Before Width: | Height: | Size: 278 KiB |
Binary file not shown.
Before Width: | Height: | Size: 24 KiB |
|
@ -253,9 +253,6 @@ int winmain::WinMain(LPCSTR lpCmdLine)
|
||||||
RenderUi();
|
RenderUi();
|
||||||
|
|
||||||
SDL_RenderClear(renderer);
|
SDL_RenderClear(renderer);
|
||||||
// Alternative clear hack, clear might fail on some systems
|
|
||||||
// Todo: remove original clear, if save for all platforms
|
|
||||||
SDL_RenderFillRect(renderer, nullptr);
|
|
||||||
render::PresentVScreen();
|
render::PresentVScreen();
|
||||||
|
|
||||||
ImGui::Render();
|
ImGui::Render();
|
||||||
|
|
Loading…
Reference in a new issue