1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00

Merge branch '174-add-godot-wallpaper-support' of https://gitlab.com/kelteseth/ScreenPlay into 174-add-godot-wallpaper-support

This commit is contained in:
Elias Steurer 2023-11-29 18:58:57 +01:00
commit 3bc1389a8c
3 changed files with 11 additions and 11 deletions

View File

@ -86,7 +86,7 @@ endif()
option(SCREENPLAY_OSX_BUNDLE "Enable distribution macOS bundle" OFF) option(SCREENPLAY_OSX_BUNDLE "Enable distribution macOS bundle" OFF)
option(SCREENPLAY_STEAM "For FOSS distribution so we do not bundle proprietary code." ON) option(SCREENPLAY_STEAM "For FOSS distribution so we do not bundle proprietary code." ON)
option(SCREENPLAY_DEPLOY "Marks this version as an official deploy version. This version uses different import paths and other settings." option(SCREENPLAY_DEPLOY "Marks this version as an official deploy version. This version uses different import paths and other settings."
OFF) OFF)
option(SCREENPLAY_TESTS "Enables UI tests." ON) option(SCREENPLAY_TESTS "Enables UI tests." ON)
option(SCREENPLAY_INSTALLER "Indicates whether an installer via the Qt Installer Framework is created." OFF) option(SCREENPLAY_INSTALLER "Indicates whether an installer via the Qt Installer Framework is created." OFF)
option(SCREENPLAY_GODOT "Compiles ScreenPlayGodotWallpaper." ON) option(SCREENPLAY_GODOT "Compiles ScreenPlayGodotWallpaper." ON)

View File

@ -128,7 +128,6 @@ set(RESOURCES
assets/icons/brand_reddit.svg assets/icons/brand_reddit.svg
assets/icons/brand_twitch.svg assets/icons/brand_twitch.svg
assets/icons/brand_twitter.svg assets/icons/brand_twitter.svg
assets/icons/icon_cancel_presentation.svg
assets/icons/exclamation-triangle-solid.svg assets/icons/exclamation-triangle-solid.svg
assets/icons/font-awsome/close.svg assets/icons/font-awsome/close.svg
assets/icons/font-awsome/frown-o.svg assets/icons/font-awsome/frown-o.svg
@ -138,6 +137,7 @@ set(RESOURCES
assets/icons/icon_build.svg assets/icons/icon_build.svg
assets/icons/icon_cake.afdesign assets/icons/icon_cake.afdesign
assets/icons/icon_cake.svg assets/icons/icon_cake.svg
assets/icons/icon_cancel_presentation.svg
assets/icons/icon_close.svg assets/icons/icon_close.svg
assets/icons/icon_code.svg assets/icons/icon_code.svg
assets/icons/icon_community.svg assets/icons/icon_community.svg
@ -238,16 +238,16 @@ set(RESOURCES
legal/OFL.txt legal/OFL.txt
legal/OpenSSL.txt legal/OpenSSL.txt
profiles.json profiles.json
qml/Create/WizardsFiles/HTMLWallpaperMain.html
qml/Create/WizardsFiles/HTMLWidgetMain.html
qml/Create/WizardsFiles/QmlProject.qmlproject
qml/Create/WizardsFiles/QMLWallpaperMain.qml
qml/Create/WizardsFiles/QMLWidgetMain.qml
qml/Create/WizardsFiles/Godot_v5/export_presets.cfg qml/Create/WizardsFiles/Godot_v5/export_presets.cfg
qml/Create/WizardsFiles/Godot_v5/project.godot qml/Create/WizardsFiles/Godot_v5/project.godot
qml/Create/WizardsFiles/Godot_v5/spinner.gd qml/Create/WizardsFiles/Godot_v5/spinner.gd
qml/Create/WizardsFiles/Godot_v5/wallpaper.tscn qml/Create/WizardsFiles/Godot_v5/wallpaper.tscn
qml/Create/WizardsFiles/HTMLWallpaperMain.html
qml/Create/WizardsFiles/HTMLWidgetMain.html
qml/Create/WizardsFiles/QmlProject.qmlproject
qml/Create/WizardsFiles/QMLWallpaperMain.qml qml/Create/WizardsFiles/QMLWallpaperMain.qml
qml/Create/WizardsFiles/QMLWallpaperMain.qml
qml/Create/WizardsFiles/QMLWidgetMain.qml
qml/Create/WizardsFiles/QMLWidgetMain.qml qml/Create/WizardsFiles/QMLWidgetMain.qml
qtquickcontrols2.conf) qtquickcontrols2.conf)

View File

@ -114,12 +114,12 @@ SystemTrayIcon {
if (miMuteAll.isMuted) { if (miMuteAll.isMuted) {
isMuted = false; isMuted = false;
miMuteAll.text = qsTr("Mute all"); miMuteAll.text = qsTr("Mute all");
miMuteAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_volume_mute.svg" miMuteAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_volume_mute.svg";
App.screenPlayManager.setAllWallpaperValue("muted", "true"); App.screenPlayManager.setAllWallpaperValue("muted", "true");
} else { } else {
isMuted = true; isMuted = true;
miMuteAll.text = qsTr("Unmute all"); miMuteAll.text = qsTr("Unmute all");
miMuteAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_volume_up.svg" miMuteAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_volume_up.svg";
App.screenPlayManager.setAllWallpaperValue("muted", "false"); App.screenPlayManager.setAllWallpaperValue("muted", "false");
} }
} }
@ -136,12 +136,12 @@ SystemTrayIcon {
if (miStopAll.isPlaying) { if (miStopAll.isPlaying) {
isPlaying = false; isPlaying = false;
miStopAll.text = qsTr("Pause all"); miStopAll.text = qsTr("Pause all");
miStopAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_pause.svg" miStopAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_pause.svg";
App.screenPlayManager.setAllWallpaperValue("isPlaying", "true"); App.screenPlayManager.setAllWallpaperValue("isPlaying", "true");
} else { } else {
isPlaying = true; isPlaying = true;
miStopAll.text = qsTr("Play all"); miStopAll.text = qsTr("Play all");
miStopAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_play.svg" miStopAll.icon.source = "qrc:/qml/ScreenPlayApp/assets/icons/icon_play.svg";
App.screenPlayManager.setAllWallpaperValue("isPlaying", "false"); App.screenPlayManager.setAllWallpaperValue("isPlaying", "false");
} }
} }