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:
parent
a718f1e122
commit
e4c79d7275
@ -22,6 +22,7 @@
|
|||||||
#define CBLSUB 22
|
#define CBLSUB 22
|
||||||
#define CANALS 23
|
#define CANALS 23
|
||||||
#define COALNE 30
|
#define COALNE 30
|
||||||
|
#define DAMCON 38
|
||||||
#define DEPARE 42
|
#define DEPARE 42
|
||||||
#define DEPCNT 43
|
#define DEPCNT 43
|
||||||
#define DRGARE 46
|
#define DRGARE 46
|
||||||
@ -44,6 +45,7 @@
|
|||||||
#define PIPSOL 94
|
#define PIPSOL 94
|
||||||
#define PONTON 95
|
#define PONTON 95
|
||||||
#define PRCARE 96
|
#define PRCARE 96
|
||||||
|
#define PYLONS 98
|
||||||
#define RAILWY 106
|
#define RAILWY 106
|
||||||
#define RECTRC 109
|
#define RECTRC 109
|
||||||
#define RESARE 112
|
#define RESARE 112
|
||||||
|
@ -56,6 +56,10 @@ void Style::defaultPolygonStyle()
|
|||||||
_polygons[SUBTYPE(ACHARE, 1)] = Polygon(QImage(":/marine/anchor-line.png"));
|
_polygons[SUBTYPE(ACHARE, 1)] = Polygon(QImage(":/marine/anchor-line.png"));
|
||||||
_polygons[TYPE(PRCARE)] = Polygon(QBrush(QColor("#eb49eb"),
|
_polygons[TYPE(PRCARE)] = Polygon(QBrush(QColor("#eb49eb"),
|
||||||
Qt::BDiagPattern));
|
Qt::BDiagPattern));
|
||||||
|
_polygons[TYPE(DAMCON)] = Polygon(QBrush("#d98b21"), QPen(QColor("#000000"),
|
||||||
|
1));
|
||||||
|
_polygons[TYPE(PYLONS)] = Polygon(QBrush("#a58140"), QPen(QColor("#000000"),
|
||||||
|
1));
|
||||||
|
|
||||||
_drawOrder
|
_drawOrder
|
||||||
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
|
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
|
||||||
@ -66,7 +70,7 @@ void Style::defaultPolygonStyle()
|
|||||||
<< TYPE(BUISGL) << TYPE(AIRARE) << TYPE(BRIDGE) << TYPE(SLCONS)
|
<< TYPE(BUISGL) << TYPE(AIRARE) << TYPE(BRIDGE) << TYPE(SLCONS)
|
||||||
<< TYPE(PONTON) << TYPE(DMPGRD) << TYPE(TSEZNE) << TYPE(OBSTRN)
|
<< TYPE(PONTON) << TYPE(DMPGRD) << TYPE(TSEZNE) << TYPE(OBSTRN)
|
||||||
<< SUBTYPE(ACHARE, 1) << SUBTYPE(RESARE, 9) << SUBTYPE(RESARE, 2)
|
<< SUBTYPE(ACHARE, 1) << SUBTYPE(RESARE, 9) << SUBTYPE(RESARE, 2)
|
||||||
<< TYPE(PRCARE);
|
<< TYPE(PRCARE) << TYPE(DAMCON) << TYPE(PYLONS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Style::defaultLineStyle()
|
void Style::defaultLineStyle()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user