diff options
| author | Leifa <26681464+TrickyLeifa@users.noreply.github.com> | 2024-07-13 15:31:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 15:31:51 +0200 |
| commit | 23077d0291426037b6b120cf765664b4487c9330 (patch) | |
| tree | b1835d2d97791a99feb6d428ea6d3c2c941960d7 /src/aoapplication.h | |
| parent | a09712cc4d11ace7ae0476a1d1f060abfa8de445 (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/aoapplication.h')
| -rw-r--r-- | src/aoapplication.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aoapplication.h b/src/aoapplication.h index e90579de..d040408d 100644 --- a/src/aoapplication.h +++ b/src/aoapplication.h @@ -307,10 +307,10 @@ public: QString get_emote_property(QString p_char, QString p_emote, QString p_property); // Return a transformation mode from a string ("smooth" for smooth, anything else for fast) - Qt::TransformationMode get_scaling(QString p_scaling); + RESIZE_MODE get_scaling(QString p_scaling); // Returns the scaling type for p_miscname - Qt::TransformationMode get_misc_scaling(QString p_miscname); + RESIZE_MODE get_misc_scaling(QString p_miscname); // ====== // These are all casing-related settings. |
