Enhancements include snapping for selections, vertical space, recognized shapes, images, TeX-images and text.
Fixed bugs related to rotated selections, including undo operation and cursor.
Support "no icon" stylus cursor type #2093
Make stylus cursor type combo box entries translatable
Add warning if we get an unknown stylus cursor type in settings xml
Move stylus cursor type settings to top of cursor group
Move settings enums into new SettingsEnum.cpp
Set other cursor settings "visible" based on whether a cursor icon is chosen
apply git-clang-format-9 format changes
Support "no icon" stylus cursor type #2093
Update src/control/settings/SettingsEnums.h
Co-authored-by: Roland Lötscher <40485433+rolandlo@users.noreply.github.com>
Update src/gui/dialog/SettingsDialog.cpp
Co-authored-by: Roland Lötscher <40485433+rolandlo@users.noreply.github.com>
Update src/control/settings/SettingsEnums.cpp
Co-authored-by: Roland Lötscher <40485433+rolandlo@users.noreply.github.com>
Update src/control/settings/Settings.cpp
Co-authored-by: Roland Lötscher <40485433+rolandlo@users.noreply.github.com>
move settings enum functions to cpp and harmonise use of std::string
remove duplicate stylusCursorTypeToString added during merge
The "Rephrase error message (thanks to Technius!)" commit on the issue_1397_archive branch is included in this PR.
Because that change is minor, I squashed everything into 1 commit.
Thats by the way why we should use the AAA style.
/home/febbe/ClionProjects/xournalpp/src/control/Control.cpp:2921:8: error: case value evaluates to -3, which cannot be narrowed to type 'guint' (aka 'unsigned int') [-Wc++11-narrowing]
case GTK_RESPONSE_ACCEPT:
^
/home/febbe/ClionProjects/xournalpp/src/control/Control.cpp:2931:8: error: case value evaluates to -2, which cannot be narrowed to type 'guint' (aka 'unsigned int') [-Wc++11-narrowing]
case GTK_RESPONSE_REJECT: