mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 02:36:51 -07:00
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:
parent
74d39e6314
commit
801f902bea
9 changed files with 207 additions and 28 deletions
12
gui/include/transformmode.h
Normal file
12
gui/include/transformmode.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue