From 23e293f39a4e92c37fba9c0fdffb0756faf10a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Tue, 20 May 2025 08:40:47 +0200 Subject: [PATCH] Radio reporting points --- gpxsee.qrc | 1 + icons/map/marine/radio-call-garmin.png | Bin 0 -> 290 bytes src/map/IMG/rgnfile.cpp | 2 +- src/map/IMG/style.cpp | 1 + 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 icons/map/marine/radio-call-garmin.png diff --git a/gpxsee.qrc b/gpxsee.qrc index 17df2d13..735dbf77 100644 --- a/gpxsee.qrc +++ b/gpxsee.qrc @@ -334,6 +334,7 @@ icons/map/marine/seaward-limit-of-contiguous-zone.png icons/map/marine/foul.png icons/map/marine/dumping-ground-line.png + icons/map/marine/radio-call-garmin.png diff --git a/icons/map/marine/radio-call-garmin.png b/icons/map/marine/radio-call-garmin.png new file mode 100644 index 0000000000000000000000000000000000000000..9d3e44b4d27969ed3d5ed803bec4c6988c90ba09 GIT binary patch literal 290 zcmeAS@N?(olHy`uVBq!ia0vp@Ak4wWz`#)S`biA~0|R4mkh>G(&67Iy3=9k`>5jgR z3=A9lx&I`xGB7YGBzpw;GB8xBF)%c=FfjaLU|?u?!N5>zz`*b-fq}tl1_Oh5!JJ)z zHVh05Y)RhkE(`_?3mBxi>!+78FfecyctjR6Fz_7#VaBQ2e9{aI43(ZPjv*T7=LYTO zJD|W}(-D1nA+!8b@y~%evUlDFNjo1{a!;i|&cCTS^z}V;EtA_K6Vrp9wTHeAWQ#xe zKxB0pL&l;ax2L?NfeYUYH*9-#a8+r3@s*6WgW8dQZ$4pYFg_YucCPI6qglz1&uY5{ m?!2t{_wMCut{2X|wY^;sHPM4jER}(Qfx*+&&t;ucLK6T7En>O= literal 0 HcmV?d00001 diff --git a/src/map/IMG/rgnfile.cpp b/src/map/IMG/rgnfile.cpp index 362ce206..829b99c0 100644 --- a/src/map/IMG/rgnfile.cpp +++ b/src/map/IMG/rgnfile.cpp @@ -374,9 +374,9 @@ bool RGNFile::readClassFields(Handle &hdl, SegmentType segmentType, if (poly && Style::isRaster(poly->type)) readRasterInfo(hdl, lbl, rs, poly); + if (point && !Style::isMarinePoint(point->type)) readLabel(hdl, lbl, lblHdl, flags, rs, point); - if (point && Style::isDepthPoint(point->type)) readDepthInfo(hdl, flags, rs, point); if (point && Style::isObstructionPoint(point->type)) diff --git a/src/map/IMG/style.cpp b/src/map/IMG/style.cpp index 7f6421b4..0c492014 100644 --- a/src/map/IMG/style.cpp +++ b/src/map/IMG/style.cpp @@ -909,6 +909,7 @@ void Style::defaultPointStyle(qreal ratio) _points[0x10703] = Point(QImage(":/marine/yacht-harbor.png")); _points[0x10704] = Point(QImage(":/marine/pile.png")); _points[0x10705] = Point(QImage(":/marine/anchoring-prohibited.png")); + _points[0x10708] = Point(QImage(":/marine/radio-call-garmin.png")); _points[0x1070a] = Point(QImage(":/marine/rescue-station.png")); _points[0x1070b] = Point(QImage(":/marine/fishing-harbor.png")); }