aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface.qrc
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-25 18:55:36 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commit8c7d1a1163ba22cd1b5e75b723affacc9d0cfd1c (patch)
tree425773ae0a8b44b7a2079cd71e348fc2b16cc332 /subsurface.qrc
parentf94aa61009214d5e1d73eb6b19af482bca09e05a (diff)
downloadsubsurface-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 'subsurface.qrc')
-rw-r--r--subsurface.qrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface.qrc b/subsurface.qrc
index 017451c3c..55c5e2c02 100644
--- a/subsurface.qrc
+++ b/subsurface.qrc
@@ -7,6 +7,8 @@
<file alias="mapwidget-toggle-satellite">mobile-widgets/qml/icons/mapwidget-toggle-satellite.png</file>
<file alias="mapwidget-toggle-street">mobile-widgets/qml/icons/mapwidget-toggle-street.png</file>
<file alias="mapwidget-context-menu">mobile-widgets/qml/icons/mapwidget-context-menu.png</file>
+ <file alias="mapwidget-zoom-in">mobile-widgets/qml/icons/mapwidget-zoom-in.png</file>
+ <file alias="mapwidget-zoom-out">mobile-widgets/qml/icons/mapwidget-zoom-out.png</file>
<file alias="star">icons/star.svg</file>
<file alias="subsurface-icon">icons/subsurface-icon.png</file>
<file alias="subsurface-mobile-icon">icons/subsurface-mobile-icon.png</file>