Commit Graph

8 Commits

Author SHA1 Message Date
wmayer
ef598dd1e3 Gui: add method NavigationStyle::processClickEvent() to reduce code duplication in sub-classes 2021-11-05 14:37:18 +01:00
wmayer
fbca4b10f2 Gui: [skip ci] rename handleKeyboardEvent to processKeyboardEvent 2021-11-05 12:58:36 +01:00
Uwe
56a90ed675 Squashed commit of the following:
commit b5aa19950f09d9a391b189a578073b9920943294
Author: Roy-043 <70520633+Roy-043@users.noreply.github.com>
Date:   Tue Nov 2 14:37:19 2021 +0100

    Std: Fix OpenSCAD navigation string

    Holding down SHIFT is not required when zooming with the MMB.
2021-11-04 00:52:08 +01:00
wmayer
5bd156066e Gui: [skip ci] replace getNormalizedPosition() with normalizePixelPos() 2021-11-02 19:06:12 +01:00
wmayer
0c59884e83 Gui: [skip ci] add method NavigationStyle::getNormalizedPosition() to reduce code duplication 2021-11-02 15:57:54 +01:00
wmayer
3b7a758563 Gui: [skip ci] add method NavigationStyle::handleKeyboardEvent() to achieve consistent handling and reduce code duplication 2021-11-02 15:32:20 +01:00
wmayer
4c1ddafb15 Gui: [skip ci] add method NavigationStyle::syncModifierKeys() to reduce code duplication 2021-11-02 14:52:22 +01:00
wmayer
4e246ada88 Gui: add support of OpenSCAD navigation style 2021-10-26 00:21:31 +02:00