aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <getchoo@tuta.io>2023-01-06 22:28:15 -0500
committerseth <getchoo@tuta.io>2023-01-06 22:28:15 -0500
commit8140f5136d7389ea1c134f7eb84caaefe037a3d9 (patch)
tree92d2eda22d1cd0bc6663bf4fb8321115632b6d41
parent4b12c85d91be34504384117584fb4f25a754481e (diff)
downloadPrismLauncher-8140f5136d7389ea1c134f7eb84caaefe037a3d9.tar.gz
PrismLauncher-8140f5136d7389ea1c134f7eb84caaefe037a3d9.tar.bz2
PrismLauncher-8140f5136d7389ea1c134f7eb84caaefe037a3d9.zip
feat: add teawie
drawn by sympathytea (https://github.com/SympathyTea) Signed-off-by: seth <getchoo@tuta.io>
-rw-r--r--launcher/resources/backgrounds/backgrounds.qrc1
-rw-r--r--launcher/resources/backgrounds/teawie.pngbin0 -> 187972 bytes
-rw-r--r--launcher/ui/pages/global/LauncherPage.cpp5
-rw-r--r--launcher/ui/pages/global/LauncherPage.ui5
4 files changed, 11 insertions, 0 deletions
diff --git a/launcher/resources/backgrounds/backgrounds.qrc b/launcher/resources/backgrounds/backgrounds.qrc
index e55faf15..7ed9410b 100644
--- a/launcher/resources/backgrounds/backgrounds.qrc
+++ b/launcher/resources/backgrounds/backgrounds.qrc
@@ -13,5 +13,6 @@
<file alias="rory-flat-xmas">rory-flat-xmas.png</file>
<file alias="rory-flat-bday">rory-flat-bday.png</file>
<file alias="rory-flat-spooky">rory-flat-spooky.png</file>
+ <file alias="teawie">teawie.png</file>
</qresource>
</RCC>
diff --git a/launcher/resources/backgrounds/teawie.png b/launcher/resources/backgrounds/teawie.png
new file mode 100644
index 00000000..dc32c51f
--- /dev/null
+++ b/launcher/resources/backgrounds/teawie.png
Binary files differ
diff --git a/launcher/ui/pages/global/LauncherPage.cpp b/launcher/ui/pages/global/LauncherPage.cpp
index cae0635f..bd7cec6a 100644
--- a/launcher/ui/pages/global/LauncherPage.cpp
+++ b/launcher/ui/pages/global/LauncherPage.cpp
@@ -351,6 +351,9 @@ void LauncherPage::applySettings()
case 2: // rory the cat flat edition
s->set("BackgroundCat", "rory-flat");
break;
+ case 3: // teawie
+ s->set("BackgroundCat", "teawie");
+ break;
}
s->set("MenuBarInsteadOfToolBar", ui->preferMenuBarCheckBox->isChecked());
@@ -424,6 +427,8 @@ void LauncherPage::loadSettings()
ui->themeBackgroundCat->setCurrentIndex(1);
} else if (cat == "rory-flat") {
ui->themeBackgroundCat->setCurrentIndex(2);
+ } else if (cat == "teawie") {
+ ui->themeBackgroundCat->setCurrentIndex(3);
}
{
diff --git a/launcher/ui/pages/global/LauncherPage.ui b/launcher/ui/pages/global/LauncherPage.ui
index c44718a1..ded333aa 100644
--- a/launcher/ui/pages/global/LauncherPage.ui
+++ b/launcher/ui/pages/global/LauncherPage.ui
@@ -386,6 +386,11 @@
<string>Rory ID 11 (flat edition, drawn by Ashtaka)</string>
</property>
</item>
+ <item>
+ <property name="text">
+ <string>Teawie (drawn by SympathyTea)</string>
+ </property>
+ </item>
</widget>
</item>
</layout>