mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-26 19:19:16 +02:00
Colored spar buoys
This commit is contained in:
@ -773,7 +773,7 @@ void Style::defaultPointStyle(qreal ratio)
|
||||
COLORSET(0x10204, "buoy", 6, -6);
|
||||
COLORSET(0x10205, "buoy", 6, -6);
|
||||
COLORSET(0x10206, "beacon", 0, -8);
|
||||
_points[0x10207] = Point(QImage(":/marine/spar-buoy.png"), QPoint(2, -9));
|
||||
COLORSET(0x10207, "spar-buoy", 2, -8);
|
||||
COLORSET(0x10208, "buoy", 6, -6);
|
||||
COLORSET(0x10209, "buoy", 6, -6);
|
||||
COLORSET(0x1020a, "buoy", 6, -6);
|
||||
|
@ -157,8 +157,7 @@ public:
|
||||
static bool isMarina(quint32 type)
|
||||
{return type == 0x10703;}
|
||||
static bool hasColorset(quint32 type)
|
||||
{return (isBuoy(type)
|
||||
&& !(type == 0x10207 || type == 0x1020d || type == 0x10216));}
|
||||
{return (isBuoy(type) && !(type == 0x1020d || type == 0x10216));}
|
||||
|
||||
static QColor color(Light::Color c);
|
||||
|
||||
|
Reference in New Issue
Block a user