mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-27 11:39:16 +02:00
Extended nautical style
This commit is contained in:
@ -123,13 +123,14 @@ void Style::defaultPolygonStyle()
|
||||
_polygons[0x10304] = Polygon(QBrush("#c0c0ff"));
|
||||
_polygons[0x10409] = Polygon(QBrush("#ff4040", Qt::FDiagPattern));
|
||||
_polygons[0x10503] = Polygon(QBrush("#ff4040", Qt::FDiagPattern));
|
||||
_polygons[0x10601] = Polygon(QBrush("#aaaaaa"));
|
||||
_polygons[0x1060a] = Polygon(QBrush("#fcb4fc"));
|
||||
|
||||
// Draw order
|
||||
_drawOrder
|
||||
<< TYPE(0x4b) << 0x10d01 << 0x10104 << 0x10613 << TYPE(0x4a)
|
||||
<< 0x10101 << 0x10102 << 0x10301 << 0x10302 << 0x10303 << 0x10304
|
||||
<< 0x10409 << 0x10503 << 0x1060a
|
||||
<< 0x10409 << 0x10503 << 0x10601 << 0x1060a
|
||||
<< TYPE(0x01) << 0x10800 << TYPE(0x02) << 0x10801 << TYPE(0x03) << 0x10802
|
||||
<< TYPE(0x17) << 0x10a04 << TYPE(0x18) << 0x1090c << TYPE(0x1a) << 0x1090e
|
||||
<< TYPE(0x28) << 0x10b01 << TYPE(0x32) << 0x10b02 << TYPE(0x3c) << 0x10b03
|
||||
@ -244,7 +245,7 @@ void Style::defaultLineStyle()
|
||||
_lines[0x10409] = Line(QPen(QColor("#000000"), 1, Qt::DotLine));
|
||||
_lines[0x10503] = Line(QPen(QColor("#e728e7"), 1, Qt::DashLine));
|
||||
_lines[0x10507] = Line(QPen(QColor("#e728e7"), 1, Qt::DashLine));
|
||||
_lines[0x10601] = Line(QPen(QColor("#000000"), 1, Qt::DashLine));
|
||||
_lines[0x10601] = Line(QPen(QColor("#000000"), 1, Qt::SolidLine));
|
||||
_lines[0x10606] = Line(QImage(":/IMG/anchor-line.png"));
|
||||
_lines[0x1060d] = Line(QPen(QColor("#eb49eb"), 1, Qt::DashLine));
|
||||
_lines[0x10611] = Line(QPen(QColor("#eb49eb"), 1, Qt::DashLine));
|
||||
@ -489,12 +490,16 @@ void Style::defaultPointStyle()
|
||||
_points[0x10108] = Point(QImage(":/IMG/light-major.png"));
|
||||
_points[0x10109] = Point(QImage(":/IMG/light-major.png"));
|
||||
_points[0x1010a] = Point(QImage(":/IMG/light-major.png"));
|
||||
_points[0x10200] = Point(QImage(":/IMG/buoy.png"));
|
||||
_points[0x10201] = Point(QImage(":/IMG/buoy.png"));
|
||||
_points[0x10206] = Point(QImage(":/IMG/beacon.png"));
|
||||
_points[0x1020b] = Point(QImage(":/IMG/buoy.png"));
|
||||
_points[0x1020d] = Point(QImage(":/IMG/light-platform.png"));
|
||||
_points[0x10401] = Point(QImage(":/IMG/obstruction.png"));
|
||||
_points[0x10402] = Point(QImage(":/IMG/wreck.png"));
|
||||
_points[0x10403] = Point(QImage(":/IMG/wreck-exposed.png"));
|
||||
_points[0x1040a] = Point(QImage(":/IMG/rock.png"));
|
||||
|
||||
_points[0x10701] = Point(QImage(":/IMG/anchorage.png"));
|
||||
}
|
||||
|
||||
static bool readBitmap(SubFile *file, SubFile::Handle &hdl, QImage &img,
|
||||
|
Reference in New Issue
Block a user