mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-16 07:40:49 +01:00
Docks render style
This commit is contained in:
parent
8cf09a68d1
commit
414bdead17
@ -27,10 +27,12 @@
|
|||||||
#define DEPARE 42
|
#define DEPARE 42
|
||||||
#define DEPCNT 43
|
#define DEPCNT 43
|
||||||
#define DRGARE 46
|
#define DRGARE 46
|
||||||
|
#define DRYDOC 47
|
||||||
#define DMPGRD 48
|
#define DMPGRD 48
|
||||||
#define DYKCON 49
|
#define DYKCON 49
|
||||||
#define FAIRWY 51
|
#define FAIRWY 51
|
||||||
#define FERYRT 53
|
#define FERYRT 53
|
||||||
|
#define FLODOC 57
|
||||||
#define GATCON 61
|
#define GATCON 61
|
||||||
#define HRBFAC 64
|
#define HRBFAC 64
|
||||||
#define LAKARE 69
|
#define LAKARE 69
|
||||||
|
@ -36,6 +36,7 @@ void Style::defaultPolygonStyle()
|
|||||||
_polygons[TYPE(OBSTRN)] = Polygon(Qt::NoBrush, QPen(QColor("#000000"), 1.5,
|
_polygons[TYPE(OBSTRN)] = Polygon(Qt::NoBrush, QPen(QColor("#000000"), 1.5,
|
||||||
Qt::DotLine));
|
Qt::DotLine));
|
||||||
_polygons[TYPE(PONTON)] = Polygon(QBrush("#333333"));
|
_polygons[TYPE(PONTON)] = Polygon(QBrush("#333333"));
|
||||||
|
_polygons[TYPE(DRYDOC)] = Polygon(QBrush("#333333"));
|
||||||
_polygons[TYPE(SLCONS)] = Polygon(Qt::NoBrush, QPen(QColor("#333333"), 1.5,
|
_polygons[TYPE(SLCONS)] = Polygon(Qt::NoBrush, QPen(QColor("#333333"), 1.5,
|
||||||
Qt::DashLine));
|
Qt::DashLine));
|
||||||
_polygons[TYPE(LAKARE)] = Polygon(QBrush("#9fc4e1"),
|
_polygons[TYPE(LAKARE)] = Polygon(QBrush("#9fc4e1"),
|
||||||
@ -58,8 +59,12 @@ void Style::defaultPolygonStyle()
|
|||||||
Qt::BDiagPattern));
|
Qt::BDiagPattern));
|
||||||
_polygons[TYPE(DAMCON)] = Polygon(QBrush("#d98b21"), QPen(QColor("#000000"),
|
_polygons[TYPE(DAMCON)] = Polygon(QBrush("#d98b21"), QPen(QColor("#000000"),
|
||||||
1));
|
1));
|
||||||
|
_polygons[TYPE(DRYDOC)] = Polygon(QBrush("#ebab54"), QPen(QColor("#000000"),
|
||||||
|
1));
|
||||||
_polygons[TYPE(PYLONS)] = Polygon(QBrush("#a58140"), QPen(QColor("#000000"),
|
_polygons[TYPE(PYLONS)] = Polygon(QBrush("#a58140"), QPen(QColor("#000000"),
|
||||||
1));
|
1));
|
||||||
|
_polygons[TYPE(FLODOC)] = Polygon(QBrush("#333333"), QPen(QColor("#000000"),
|
||||||
|
1));
|
||||||
|
|
||||||
_drawOrder
|
_drawOrder
|
||||||
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
|
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
|
||||||
@ -68,9 +73,10 @@ void Style::defaultPolygonStyle()
|
|||||||
<< SUBTYPE(DEPARE, 6) << TYPE(LAKARE) << TYPE(CANALS) << TYPE(DYKCON)
|
<< SUBTYPE(DEPARE, 6) << TYPE(LAKARE) << TYPE(CANALS) << TYPE(DYKCON)
|
||||||
<< TYPE(RIVERS) << TYPE(DRGARE) << TYPE(FAIRWY) << TYPE(BUAARE)
|
<< TYPE(RIVERS) << TYPE(DRGARE) << TYPE(FAIRWY) << TYPE(BUAARE)
|
||||||
<< 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(FLODOC) << TYPE(DRYDOC) << TYPE(DAMCON)
|
||||||
|
<< TYPE(PYLONS) << 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(DAMCON) << TYPE(PYLONS);
|
<< TYPE(PRCARE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Style::defaultLineStyle()
|
void Style::defaultLineStyle()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user