Add option to save game covers losslessly

This commit is contained in:
kramo
2023-03-25 19:52:26 +01:00
parent 5e0c5970ad
commit a1bf94904c
4 changed files with 34 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ template PreferencesWindow : Adw.PreferencesWindow {
default-height: 500;
Adw.PreferencesPage page {
Adw.PreferencesGroup {
Adw.PreferencesGroup general_group {
title: _("General");
Adw.ActionRow {
@@ -16,6 +16,14 @@ template PreferencesWindow : Adw.PreferencesWindow {
valign: center;
}
}
Adw.ActionRow {
title: _("High Quality Images");
subtitle: _("Save game covers losslessly at the cost of storage");
Switch high_quality_images_switch {
valign: center;
}
}
}
Adw.PreferencesGroup steam_group {
@@ -72,7 +80,7 @@ template PreferencesWindow : Adw.PreferencesWindow {
Adw.ActionRow {
title: _("Import Epic Games");
Switch import_epic_games_switch {
Switch heroic_epic_switch {
valign: center;
}
}
@@ -80,7 +88,7 @@ template PreferencesWindow : Adw.PreferencesWindow {
Adw.ActionRow {
title: _("Import GOG Games");
Switch import_gog_games_switch {
Switch heroic_gog_switch {
valign: center;
}
}
@@ -88,7 +96,7 @@ template PreferencesWindow : Adw.PreferencesWindow {
Adw.ActionRow {
title: _("Import Sideloaded Games");
Switch import_sideload_games_switch {
Switch heroic_sideloaded_switch {
valign: center;
}
}

View File

@@ -24,6 +24,9 @@
</key>
<key name="bottles-location" type="s">
<default>"~/.var/app/com.usebottles.bottles/data/bottles/"</default>
</key>
<key name="high-quality-images" type="b">
<default>false</default>
</key>
</schema>
<schema id="hu.kramo.Cartridge.State" path="/hu/kramo/Cartridges/State/">