diff --git a/gpxsee.qrc b/gpxsee.qrc index 38b2b309..21e6e8e2 100644 --- a/gpxsee.qrc +++ b/gpxsee.qrc @@ -204,6 +204,32 @@ icons/map/marine/beacon-black-green.png icons/map/marine/beacon-black-yellow.png icons/map/marine/beacon-black-yellow-black.png + icons/map/marine/spar-buoy.png + icons/map/marine/spar-buoy-red.png + icons/map/marine/spar-buoy-green.png + icons/map/marine/spar-buoy-yellow.png + icons/map/marine/spar-buoy-white.png + icons/map/marine/spar-buoy-black-yellow.png + icons/map/marine/spar-buoy-white-red.png + icons/map/marine/spar-buoy-black-red.png + icons/map/marine/spar-buoy-white-green.png + icons/map/marine/spar-buoy-red-yellow.png + icons/map/marine/spar-buoy-red-green.png + icons/map/marine/spar-buoy-black-yellow-black.png + icons/map/marine/spar-buoy-yellow-black.png + icons/map/marine/spar-buoy-yellow-black-yellow.png + icons/map/marine/spar-buoy-red-white.png + icons/map/marine/spar-buoy-green-red-green.png + icons/map/marine/spar-buoy-red-green-red.png + icons/map/marine/spar-buoy-black-red-black.png + icons/map/marine/spar-buoy-yellow-red-yellow.png + icons/map/marine/spar-buoy-green-red.png + icons/map/marine/spar-buoy-black-white.png + icons/map/marine/spar-buoy-white-yellow.png + icons/map/marine/spar-buoy-yellow-white.png + icons/map/marine/spar-buoy-green-white.png + icons/map/marine/mooring-buoy.png + icons/map/marine/platform.png icons/map/marine/rock-exposed.png icons/map/marine/rock-dangerous.png icons/map/marine/wreck.png @@ -223,11 +249,8 @@ icons/map/marine/yacht-harbor.png icons/map/marine/fishing-harbor.png icons/map/marine/pile.png - icons/map/marine/spar-buoy.png - icons/map/marine/mooring-buoy.png icons/map/marine/tower.png icons/map/marine/chimney.png - icons/map/marine/platform.png icons/map/marine/ferry-line.png icons/map/marine/dw-route-line.png icons/map/marine/fence-line.png diff --git a/icons/map/marine/spar-buoy-black-red-black.png b/icons/map/marine/spar-buoy-black-red-black.png new file mode 100644 index 00000000..b643509c Binary files /dev/null and b/icons/map/marine/spar-buoy-black-red-black.png differ diff --git a/icons/map/marine/spar-buoy-black-red.png b/icons/map/marine/spar-buoy-black-red.png new file mode 100644 index 00000000..f7972a2d Binary files /dev/null and b/icons/map/marine/spar-buoy-black-red.png differ diff --git a/icons/map/marine/spar-buoy-black-white.png b/icons/map/marine/spar-buoy-black-white.png new file mode 100644 index 00000000..caed2975 Binary files /dev/null and b/icons/map/marine/spar-buoy-black-white.png differ diff --git a/icons/map/marine/spar-buoy-black-yellow-black.png b/icons/map/marine/spar-buoy-black-yellow-black.png new file mode 100644 index 00000000..df5718ec Binary files /dev/null and b/icons/map/marine/spar-buoy-black-yellow-black.png differ diff --git a/icons/map/marine/spar-buoy-black-yellow.png b/icons/map/marine/spar-buoy-black-yellow.png new file mode 100644 index 00000000..1c10d7e8 Binary files /dev/null and b/icons/map/marine/spar-buoy-black-yellow.png differ diff --git a/icons/map/marine/spar-buoy-green-red-green.png b/icons/map/marine/spar-buoy-green-red-green.png new file mode 100644 index 00000000..af6db7c4 Binary files /dev/null and b/icons/map/marine/spar-buoy-green-red-green.png differ diff --git a/icons/map/marine/spar-buoy-green-red.png b/icons/map/marine/spar-buoy-green-red.png new file mode 100644 index 00000000..44a44ba4 Binary files /dev/null and b/icons/map/marine/spar-buoy-green-red.png differ diff --git a/icons/map/marine/spar-buoy-green-white.png b/icons/map/marine/spar-buoy-green-white.png new file mode 100644 index 00000000..7791afe2 Binary files /dev/null and b/icons/map/marine/spar-buoy-green-white.png differ diff --git a/icons/map/marine/spar-buoy-green.png b/icons/map/marine/spar-buoy-green.png new file mode 100644 index 00000000..037aa9e8 Binary files /dev/null and b/icons/map/marine/spar-buoy-green.png differ diff --git a/icons/map/marine/spar-buoy-red-green-red.png b/icons/map/marine/spar-buoy-red-green-red.png new file mode 100644 index 00000000..3b7a8013 Binary files /dev/null and b/icons/map/marine/spar-buoy-red-green-red.png differ diff --git a/icons/map/marine/spar-buoy-red-green.png b/icons/map/marine/spar-buoy-red-green.png new file mode 100644 index 00000000..6f6b00e5 Binary files /dev/null and b/icons/map/marine/spar-buoy-red-green.png differ diff --git a/icons/map/marine/spar-buoy-red-white.png b/icons/map/marine/spar-buoy-red-white.png new file mode 100644 index 00000000..03e0a0c4 Binary files /dev/null and b/icons/map/marine/spar-buoy-red-white.png differ diff --git a/icons/map/marine/spar-buoy-red-yellow.png b/icons/map/marine/spar-buoy-red-yellow.png new file mode 100644 index 00000000..988e03a0 Binary files /dev/null and b/icons/map/marine/spar-buoy-red-yellow.png differ diff --git a/icons/map/marine/spar-buoy-red.png b/icons/map/marine/spar-buoy-red.png new file mode 100644 index 00000000..bb09c6f5 Binary files /dev/null and b/icons/map/marine/spar-buoy-red.png differ diff --git a/icons/map/marine/spar-buoy-white-green.png b/icons/map/marine/spar-buoy-white-green.png new file mode 100644 index 00000000..d25b0e42 Binary files /dev/null and b/icons/map/marine/spar-buoy-white-green.png differ diff --git a/icons/map/marine/spar-buoy-white-red.png b/icons/map/marine/spar-buoy-white-red.png new file mode 100644 index 00000000..779b90eb Binary files /dev/null and b/icons/map/marine/spar-buoy-white-red.png differ diff --git a/icons/map/marine/spar-buoy-white-yellow.png b/icons/map/marine/spar-buoy-white-yellow.png new file mode 100644 index 00000000..06e4b779 Binary files /dev/null and b/icons/map/marine/spar-buoy-white-yellow.png differ diff --git a/icons/map/marine/spar-buoy-white.png b/icons/map/marine/spar-buoy-white.png new file mode 100644 index 00000000..029081c7 Binary files /dev/null and b/icons/map/marine/spar-buoy-white.png differ diff --git a/icons/map/marine/spar-buoy-yellow-black-yellow.png b/icons/map/marine/spar-buoy-yellow-black-yellow.png new file mode 100644 index 00000000..8a0370b2 Binary files /dev/null and b/icons/map/marine/spar-buoy-yellow-black-yellow.png differ diff --git a/icons/map/marine/spar-buoy-yellow-black.png b/icons/map/marine/spar-buoy-yellow-black.png new file mode 100644 index 00000000..b9aa057a Binary files /dev/null and b/icons/map/marine/spar-buoy-yellow-black.png differ diff --git a/icons/map/marine/spar-buoy-yellow-red-yellow.png b/icons/map/marine/spar-buoy-yellow-red-yellow.png new file mode 100644 index 00000000..cd9067dc Binary files /dev/null and b/icons/map/marine/spar-buoy-yellow-red-yellow.png differ diff --git a/icons/map/marine/spar-buoy-yellow-white.png b/icons/map/marine/spar-buoy-yellow-white.png new file mode 100644 index 00000000..3c26b812 Binary files /dev/null and b/icons/map/marine/spar-buoy-yellow-white.png differ diff --git a/icons/map/marine/spar-buoy-yellow.png b/icons/map/marine/spar-buoy-yellow.png new file mode 100644 index 00000000..faac5878 Binary files /dev/null and b/icons/map/marine/spar-buoy-yellow.png differ diff --git a/icons/map/marine/spar-buoy.png b/icons/map/marine/spar-buoy.png index 4b6380cb..aa8e9acb 100644 Binary files a/icons/map/marine/spar-buoy.png and b/icons/map/marine/spar-buoy.png differ diff --git a/src/map/IMG/style.cpp b/src/map/IMG/style.cpp index c7b8f32f..6e741aac 100644 --- a/src/map/IMG/style.cpp +++ b/src/map/IMG/style.cpp @@ -773,7 +773,7 @@ void Style::defaultPointStyle(qreal ratio) COLORSET(0x10204, "buoy", 6, -6); COLORSET(0x10205, "buoy", 6, -6); COLORSET(0x10206, "beacon", 0, -8); - _points[0x10207] = Point(QImage(":/marine/spar-buoy.png"), QPoint(2, -9)); + COLORSET(0x10207, "spar-buoy", 2, -8); COLORSET(0x10208, "buoy", 6, -6); COLORSET(0x10209, "buoy", 6, -6); COLORSET(0x1020a, "buoy", 6, -6); diff --git a/src/map/IMG/style.h b/src/map/IMG/style.h index 0324792c..5144d9db 100644 --- a/src/map/IMG/style.h +++ b/src/map/IMG/style.h @@ -157,8 +157,7 @@ public: static bool isMarina(quint32 type) {return type == 0x10703;} static bool hasColorset(quint32 type) - {return (isBuoy(type) - && !(type == 0x10207 || type == 0x1020d || type == 0x10216));} + {return (isBuoy(type) && !(type == 0x1020d || type == 0x10216));} static QColor color(Light::Color c);