From b2a123a731744f11f3f3c5980b5a53c494c4a858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 18 May 2025 13:27:19 +0200 Subject: [PATCH] Some more GARMIN marine lines fixes/improvements --- gpxsee.qrc | 1 + icons/map/marine/dumping-ground-line.png | Bin 0 -> 200 bytes src/map/IMG/style.cpp | 6 +++++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 icons/map/marine/dumping-ground-line.png diff --git a/gpxsee.qrc b/gpxsee.qrc index 9d4af40f..17df2d13 100644 --- a/gpxsee.qrc +++ b/gpxsee.qrc @@ -333,6 +333,7 @@ icons/map/marine/seaward-limit-of-territorial-sea.png icons/map/marine/seaward-limit-of-contiguous-zone.png icons/map/marine/foul.png + icons/map/marine/dumping-ground-line.png diff --git a/icons/map/marine/dumping-ground-line.png b/icons/map/marine/dumping-ground-line.png new file mode 100644 index 0000000000000000000000000000000000000000..2965627885c7ac7c0d08d5408d7089e953150208 GIT binary patch literal 200 zcmeAS@N?(olHy`uVBq!ia0y~yVBlw9U|{87V_;yI<-1LXfq{XsILO_J@#aaLdIkmt zmUKs7M+SzC{oH>NSs54@6p}rHd>I(3)EF2VS{N99F)%PRykKA`HDF+PmB7GYHG_dc zykO3*KpO@I2DT(`cNYc&h6N1L-1XB-85kHi3p^r=85p>QL70(Y)*J~21_pUg7sn8Z z%gHf&Dn8b;DLLlk=qNk79+5h6#DP)5;w*#EPPPw$I%gUg7#J8lUHx3vIVCg!0DAQ= AsQ>@~ literal 0 HcmV?d00001 diff --git a/src/map/IMG/style.cpp b/src/map/IMG/style.cpp index fddc7dd6..a92d3070 100644 --- a/src/map/IMG/style.cpp +++ b/src/map/IMG/style.cpp @@ -497,7 +497,7 @@ void Style::defaultLineStyle(qreal ratio) _lines[0x10401] = Line(QImage(":/marine/cable.png")); _lines[0x10402] = Line(QImage(":/marine/pipeline.png")); - _lines[0x10403] = Line(QPen(QColor(0xe7, 0x28, 0xe7), 2, Qt::DotLine)); + _lines[0x10403] = Line(QPen(QColor(0, 0, 0), 2, Qt::DotLine)); _lines[0x10404] = Line(QPen(QColor(0, 0, 0), 1, Qt::DashLine)); _lines[0x110404] = Line(QImage(":/marine/fishing-farm-line.png")); _lines[0x10405] = Line(QPen(QColor(0xe7, 0x28, 0xe7), 1, Qt::DashLine)); @@ -505,7 +505,9 @@ void Style::defaultLineStyle(qreal ratio) _lines[0x10406] = Line(QPen(QColor(0xe7, 0x28, 0xe7), 1, Qt::DashLine)); _lines[0x110406] = Line(QImage(":/marine/cable-area-line.png")); _lines[0x10407] = Line(QPen(QColor(0xa3, 0xa3, 0xa3), 1, Qt::DashLine)); + _lines[0x110407] = Line(QImage(":/marine/dumping-ground-line.png")); _lines[0x10408] = Line(QPen(QColor(0xff, 0x40, 0x40), 1, Qt::DashLine)); + _lines[0x110408] = Line(QImage(":/marine/minefield-line.png")); _lines[0x10409] = Line(QPen(QColor(0, 0, 0), 1, Qt::DotLine)); _lines[0x1040b] = Line(QPen(QColor(0, 0, 0), 2, Qt::DashLine)); _lines[0x1040c] = Line(QPen(QColor(0, 0, 0), 2)); @@ -558,6 +560,8 @@ void Style::defaultLineStyle(qreal ratio) _lines[0x11060b] = Line(QPen(QColor(0xe7, 0x28, 0xe7), 1, Qt::DashDotDotLine)); _lines[0x1060c] = Line(QPen(QColor(0xe7, 0x28, 0xe7), 1, Qt::SolidLine)); _lines[0x1060d] = Line(QPen(QColor(0xeb, 0x49, 0xeb), 1, Qt::DashLine)); + _lines[0x1060e] = Line(QPen(QColor(0xff, 0x40, 0x40), 1, Qt::DashLine)); + _lines[0x11060e] = Line(QPen(QColor(0xff, 0x40, 0x40), 1, Qt::DashLine)); _lines[0x10611] = Line(QPen(QColor(0xeb, 0x49, 0xeb), 1, Qt::DashLine)); }