Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions launcher/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
#include <FileSystem.h>
#include <LocalPeer.h>

#include <qcontainerfwd.h>
#include <stdlib.h>
#include "SysInfo.h"

Expand Down Expand Up @@ -662,6 +663,19 @@ Application::Application(int& argc, char** argv) : QApplication(argc, argv)
m_settings->registerSetting("ApplicationTheme", QString("freesm"));
m_settings->registerSetting("BackgroundCat", QString("typescript"));
m_settings->registerSetting("Snow", isWinter);
m_settings->registerSetting("BackgroundSnowflake", QString("builtin-snowflake"));
m_settings->registerSetting("SnowColor", "white");
m_settings->registerSetting("SnowCustomColor", "#ffffff");
m_settings->registerSetting("SnowFallSpeedMin", 60);
m_settings->registerSetting("SnowFallSpeedMax", 100);
m_settings->registerSetting("SnowSizeMin", 2);
m_settings->registerSetting("SnowSizeMax", 6);
m_settings->registerSetting("SnowOpacityMin", 50);
m_settings->registerSetting("SnowOpacityMax", 100);
m_settings->registerSetting("WindStrengthMin", -1);
m_settings->registerSetting("WindStrengthMax", 1);
m_settings->registerSetting("SnowCount", 100);
m_settings->registerSetting("SnowFps", 30);

// Remembered state
m_settings->registerSetting("LastUsedGroupForNewInstance", QString());
Expand Down
1 change: 1 addition & 0 deletions launcher/Application.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

#pragma once

#include <qvariant.h>
#include <memory>

#include <QApplication>
Expand Down
3 changes: 3 additions & 0 deletions launcher/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,7 @@ SET(LAUNCHER_SOURCES
ui/themes/CatPack.h
ui/themes/CatPainter.cpp
ui/themes/CatPainter.h
ui/themes/SnowflakePack.h

# Processes
LaunchMode.h
Expand Down Expand Up @@ -1170,6 +1171,8 @@ SET(LAUNCHER_SOURCES
ui/dialogs/skins/draw/BoxGeometry.cpp

# GUI - widgets
ui/widgets/RangeSlider.h
ui/widgets/RangeSlider.cpp
ui/widgets/CheckComboBox.cpp
ui/widgets/CheckComboBox.h
ui/widgets/Common.cpp
Expand Down
Loading
Loading