1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2022-11-17 13:26:45 +01:00
parent ccb0364e76
commit ac5f4cafeb
2 changed files with 4 additions and 3 deletions

View File

@ -24,6 +24,7 @@
#define CANALS 23 #define CANALS 23
#define COALNE 30 #define COALNE 30
#define DAMCON 38 #define DAMCON 38
#define DWRTPT 41
#define DEPARE 42 #define DEPARE 42
#define DEPCNT 43 #define DEPCNT 43
#define DRGARE 46 #define DRGARE 46

View File

@ -65,7 +65,7 @@ void Style::defaultPolygonStyle()
1)); 1));
_polygons[TYPE(FLODOC)] = Polygon(QBrush("#333333"), QPen(QColor("#000000"), _polygons[TYPE(FLODOC)] = Polygon(QBrush("#333333"), QPen(QColor("#000000"),
1)); 1));
_polygons[TYPE(41)] = Polygon(QImage(":/marine/dw-route-line")); _polygons[TYPE(DWRTPT)] = Polygon(QImage(":/marine/dw-route-line"));
_drawOrder _drawOrder
<< TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0) << TYPE(M_COVR) << TYPE(LNDARE) << SUBTYPE(DEPARE, 0)
@ -76,8 +76,8 @@ void Style::defaultPolygonStyle()
<< 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(DMPGRD) << TYPE(TSEZNE) << TYPE(OBSTRN)
<< SUBTYPE(ACHARE, 1) << SUBTYPE(RESARE, 9) << SUBTYPE(RESARE, 2) << TYPE(DWRTPT) << SUBTYPE(ACHARE, 1) << SUBTYPE(RESARE, 9)
<< TYPE(PRCARE) << TYPE(41); << SUBTYPE(RESARE, 2) << TYPE(PRCARE);
} }
void Style::defaultLineStyle() void Style::defaultLineStyle()