aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-07-18 23:16:10 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-28 07:31:11 -0700
commitea5221bcf02c1dd6a6143b0114168ec2094a7e5c (patch)
treeb4d5e2279c903828795af9aa2d4fe9bcb9100ed2
parent476670cb8da0b0e4823e95a3eecdae40e7402811 (diff)
downloadsubsurface-ea5221bcf02c1dd6a6143b0114168ec2094a7e5c.tar.gz
qrc: use a separate image for the selected and unselected markers
The image for the unselected marker is now a slightly darker flag. Same behaviour as the current Marble implementation. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-rw-r--r--mobile-widgets/qml/icons/mapmarker-selected.pngbin0 -> 1995 bytes
-rw-r--r--mobile-widgets/qml/icons/mapmarker.pngbin1995 -> 1849 bytes
-rw-r--r--subsurface.qrc3
3 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/icons/mapmarker-selected.png b/mobile-widgets/qml/icons/mapmarker-selected.png
new file mode 100644
index 000000000..57f4efa27
--- /dev/null
+++ b/mobile-widgets/qml/icons/mapmarker-selected.png
Binary files differ
diff --git a/mobile-widgets/qml/icons/mapmarker.png b/mobile-widgets/qml/icons/mapmarker.png
index 57f4efa27..dca749bd9 100644
--- a/mobile-widgets/qml/icons/mapmarker.png
+++ b/mobile-widgets/qml/icons/mapmarker.png
Binary files differ
diff --git a/subsurface.qrc b/subsurface.qrc
index 5443fc596..bd20d2ac3 100644
--- a/subsurface.qrc
+++ b/subsurface.qrc
@@ -1,7 +1,8 @@
<RCC>
<qresource prefix="/">
<file alias="mapwidget-qml">mobile-widgets/qml/MapWidget.qml</file>
- <file alias="mapwidget-marker-image">mobile-widgets/qml/icons/mapmarker.png</file>
+ <file alias="mapwidget-marker">mobile-widgets/qml/icons/mapmarker.png</file>
+ <file alias="mapwidget-marker-selected">mobile-widgets/qml/icons/mapmarker-selected.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>