Add transform/scaling modes to GUI

Added zoom and stretch modes to GUI to mirror the transform modes
available on Android. They are reachable through a context menu or
shortcuts (Ctrl+S/Ctrl+Z).
CLI options --stretch and --zoom have been added as well.

Co-authored-by: Florian Märkl <info@florianmaerkl.de>
This commit is contained in:
Street Pea 2022-12-10 15:09:43 +01:00 committed by Florian Märkl
commit 801f902bea
9 changed files with 207 additions and 28 deletions

View file

@ -0,0 +1,12 @@
// SPDX-License-Identifier: LicenseRef-AGPL-3.0-only-OpenSSL
#ifndef CHIAKI_TRANSFORMMODE_H
#define CHIAKI_TRANSFORMMODE_H
enum class TransformMode {
Fit,
Zoom,
Stretch
};
#endif