From 8cf09a68d1116c939cebca7e3118004df3a227d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Thu, 17 Nov 2022 08:25:53 +0100 Subject: [PATCH] Some more missing ENC render style --- src/map/ENC/objects.h | 1 + src/map/ENC/style.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/map/ENC/objects.h b/src/map/ENC/objects.h index f4509790..33976e0b 100644 --- a/src/map/ENC/objects.h +++ b/src/map/ENC/objects.h @@ -9,6 +9,7 @@ #define BCNLAT 7 #define BCNSAW 8 #define BCNSPP 9 +#define BERTHS 10 #define BRIDGE 11 #define BUISGL 12 #define BUAARE 13 diff --git a/src/map/ENC/style.cpp b/src/map/ENC/style.cpp index 083a5ba2..2ee4d762 100644 --- a/src/map/ENC/style.cpp +++ b/src/map/ENC/style.cpp @@ -103,6 +103,8 @@ void Style::defaultLineStyle() _lines[TYPE(TSELNE)] = Line(QPen(QColor("#80fcb4fc"), 4, Qt::SolidLine)); _lines[SUBTYPE(RECTRC, 1)] = Line(QPen(QColor("#000000"), 0, Qt::SolidLine)); _lines[SUBTYPE(RECTRC, 2)] = Line(QPen(QColor("#000000"), 0, Qt::DashLine)); + _lines[TYPE(FAIRWY)] = Line(QPen(QColor("#888888"), 1, Qt::DashDotDotLine)); + _lines[TYPE(BERTHS)] = Line(QPen(QColor("#333333"), 2)); } void Style::defaultPointStyle()