diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-07-25 18:55:36 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-28 07:31:11 -0700 |
commit | 8c7d1a1163ba22cd1b5e75b723affacc9d0cfd1c (patch) | |
tree | 425773ae0a8b44b7a2079cd71e348fc2b16cc332 /mobile-widgets/qml/icons | |
parent | f94aa61009214d5e1d73eb6b19af482bca09e05a (diff) | |
download | subsurface-8c7d1a1163ba22cd1b5e75b723affacc9d0cfd1c.tar.gz |
mapwidget.qml: add zoom-in and zoom-out buttons
The buttons are positioned bellow the "toggle map type" button
and increment / decrement the zoom by "zoomStep" (2 for now).
Also clamp the zoom-in level to "map.maximumZoomLevel".
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'mobile-widgets/qml/icons')
-rw-r--r-- | mobile-widgets/qml/icons/mapwidget-zoom-in.png | bin | 0 -> 256 bytes |
-rw-r--r-- | mobile-widgets/qml/icons/mapwidget-zoom-out.png | bin | 0 -> 242 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/mobile-widgets/qml/icons/mapwidget-zoom-in.png b/mobile-widgets/qml/icons/mapwidget-zoom-in.png Binary files differnew file mode 100644 index 000000000..8c2521c3e --- /dev/null +++ b/mobile-widgets/qml/icons/mapwidget-zoom-in.png diff --git a/mobile-widgets/qml/icons/mapwidget-zoom-out.png b/mobile-widgets/qml/icons/mapwidget-zoom-out.png Binary files differnew file mode 100644 index 000000000..bd372f17d --- /dev/null +++ b/mobile-widgets/qml/icons/mapwidget-zoom-out.png |