1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-19 04:02:09 +01:00

Added missing dams and pylons rendering

This commit is contained in:
Martin Tůma 2022-11-16 22:51:16 +01:00
parent a718f1e122
commit e4c79d7275
2 changed files with 7 additions and 1 deletions

View File

@ -22,6 +22,7 @@
#define CBLSUB 22
#define CANALS 23
#define COALNE 30
#define DAMCON 38
#define DEPARE 42
#define DEPCNT 43
#define DRGARE 46
@ -44,6 +45,7 @@
#define PIPSOL 94
#define PONTON 95
#define PRCARE 96
#define PYLONS 98
#define RAILWY 106
#define RECTRC 109
#define RESARE 112

View File

@ -56,6 +56,10 @@ void Style::defaultPolygonStyle()
_polygons[SUBTYPE(ACHARE, 1)] = Polygon(QImage(":/marine/anchor-line.png"));
_polygons[TYPE(PRCARE)] = Polygon(QBrush(QColor("#eb49eb"),
Qt::BDiagPattern));
_polygons[TYPE(DAMCON)] = Polygon(QBrush("#d98b21"), QPen(QColor("#000000"),
1));
_polygons[TYPE(PYLONS)] = Polygon(QBrush("#a58140"), QPen(QColor("#000000"),
1));
_drawOrder
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
@ -66,7 +70,7 @@ void Style::defaultPolygonStyle()
<< TYPE(BUISGL) << TYPE(AIRARE) << TYPE(BRIDGE) << TYPE(SLCONS)
<< TYPE(PONTON) << TYPE(DMPGRD) << TYPE(TSEZNE) << TYPE(OBSTRN)
<< SUBTYPE(ACHARE, 1) << SUBTYPE(RESARE, 9) << SUBTYPE(RESARE, 2)
<< TYPE(PRCARE);
<< TYPE(PRCARE) << TYPE(DAMCON) << TYPE(PYLONS);
}
void Style::defaultLineStyle()