mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
MORFAC & CRANES rendering
This commit is contained in:
parent
0c5076eaaf
commit
f47a5e50ad
@ -174,6 +174,7 @@
|
|||||||
<file alias="ferry-line.png">icons/map/marine/ferry-line.png</file>
|
<file alias="ferry-line.png">icons/map/marine/ferry-line.png</file>
|
||||||
<file alias="dw-route-line.png">icons/map/marine/dw-route-line.png</file>
|
<file alias="dw-route-line.png">icons/map/marine/dw-route-line.png</file>
|
||||||
<file alias="fence-line.png">icons/map/marine/fence-line.png</file>
|
<file alias="fence-line.png">icons/map/marine/fence-line.png</file>
|
||||||
|
<file alias="crane.png">icons/map/marine/crane.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
|
|
||||||
<!-- Mapsforge rendertheme -->
|
<!-- Mapsforge rendertheme -->
|
||||||
|
BIN
icons/map/marine/crane.png
Normal file
BIN
icons/map/marine/crane.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 149 B |
@ -23,6 +23,7 @@
|
|||||||
#define CBLSUB 22
|
#define CBLSUB 22
|
||||||
#define CANALS 23
|
#define CANALS 23
|
||||||
#define COALNE 30
|
#define COALNE 30
|
||||||
|
#define CRANES 35
|
||||||
#define DAMCON 38
|
#define DAMCON 38
|
||||||
#define DWRTPT 41
|
#define DWRTPT 41
|
||||||
#define DEPARE 42
|
#define DEPARE 42
|
||||||
|
@ -66,6 +66,8 @@ void Style::defaultPolygonStyle()
|
|||||||
_polygons[TYPE(FLODOC)] = Polygon(QBrush("#333333"), QPen(QColor("#000000"),
|
_polygons[TYPE(FLODOC)] = Polygon(QBrush("#333333"), QPen(QColor("#000000"),
|
||||||
1));
|
1));
|
||||||
_polygons[TYPE(DWRTPT)] = Polygon(QImage(":/marine/dw-route-line"));
|
_polygons[TYPE(DWRTPT)] = Polygon(QImage(":/marine/dw-route-line"));
|
||||||
|
_polygons[TYPE(MORFAC)] = Polygon(QBrush("#e8e064"), QPen(QColor("#000000"),
|
||||||
|
2));
|
||||||
|
|
||||||
_drawOrder
|
_drawOrder
|
||||||
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
|
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
|
||||||
@ -75,9 +77,9 @@ void Style::defaultPolygonStyle()
|
|||||||
<< 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(FLODOC) << TYPE(DRYDOC) << TYPE(DAMCON)
|
<< TYPE(PONTON) << TYPE(FLODOC) << TYPE(DRYDOC) << TYPE(DAMCON)
|
||||||
<< TYPE(PYLONS) << TYPE(DMPGRD) << TYPE(TSEZNE) << TYPE(OBSTRN)
|
<< TYPE(PYLONS) << TYPE(MORFAC) << TYPE(DMPGRD) << TYPE(TSEZNE)
|
||||||
<< TYPE(DWRTPT) << SUBTYPE(ACHARE, 1) << SUBTYPE(RESARE, 9)
|
<< TYPE(OBSTRN) << TYPE(DWRTPT) << SUBTYPE(ACHARE, 1)
|
||||||
<< SUBTYPE(RESARE, 2) << TYPE(PRCARE);
|
<< SUBTYPE(RESARE, 9) << SUBTYPE(RESARE, 2) << TYPE(PRCARE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Style::defaultLineStyle()
|
void Style::defaultLineStyle()
|
||||||
@ -166,6 +168,7 @@ void Style::defaultPointStyle()
|
|||||||
_points[SUBTYPE(MORFAC, 5)] = Point(QImage(":/marine/pile.png"), Small);
|
_points[SUBTYPE(MORFAC, 5)] = Point(QImage(":/marine/pile.png"), Small);
|
||||||
_points[SUBTYPE(MORFAC, 7)] = Point(QImage(":/marine/mooring-buoy.png"),
|
_points[SUBTYPE(MORFAC, 7)] = Point(QImage(":/marine/mooring-buoy.png"),
|
||||||
Small);
|
Small);
|
||||||
|
_points[TYPE(CRANES)] = Point(QImage(":/marine/crane.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
Style::Style()
|
Style::Style()
|
||||||
|
Loading…
Reference in New Issue
Block a user