aboutsummaryrefslogtreecommitdiff
path: root/src/options.h
diff options
context:
space:
mode:
authorLeifa <26681464+TrickyLeifa@users.noreply.github.com>2024-07-13 15:31:51 +0200
committerGitHub <noreply@github.com>2024-07-13 15:31:51 +0200
commit23077d0291426037b6b120cf765664b4487c9330 (patch)
treeb1835d2d97791a99feb6d428ea6d3c2c941960d7 /src/options.h
parenta09712cc4d11ace7ae0476a1d1f060abfa8de445 (diff)
Resize mode patch (#1019)
* Fix transformation mode for layers Resolve #997 * always use smooth transform resampling for stretched images * Used fixed frame size * Implemented resize mode changes Resolve #999 * Added alias to pixel resize mode * Added user option --------- Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
Diffstat (limited to 'src/options.h')
-rw-r--r--src/options.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/options.h b/src/options.h
index f28dfcd3..f96f994b 100644
--- a/src/options.h
+++ b/src/options.h
@@ -1,5 +1,6 @@
#pragma once
+#include "datatypes.h"
#include "network/serverinfo.h"
#include <QCoreApplication>
@@ -224,10 +225,6 @@ public:
bool animatedThemeEnabled() const;
void setAnimatedThemeEnabled(bool value);
- // Get the default scaling method
- QString defaultScalingMode() const;
- void setDefaultScalingMode(QString value);
-
// Get a list of custom mount paths
QStringList mountPaths() const;
void setMountPaths(QStringList value);
@@ -252,6 +249,10 @@ public:
QString language() const;
void setLanguage(QString value);
+ // The scaling algorithm to use on images.
+ RESIZE_MODE resizeMode() const;
+ void setResizeMode(RESIZE_MODE value);
+
// Callwords notify the user when the word/words are used in a game message.
QStringList callwords() const;
void setCallwords(QStringList value);