mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-20 09:40:49 +01:00
Use a railway line color that fits the ENC style
This commit is contained in:
parent
f7f680b93e
commit
96b602bf14
@ -9,7 +9,7 @@ static QImage railroad(qreal ratio)
|
|||||||
{
|
{
|
||||||
QImage img(16 * ratio, 4 * ratio, QImage::Format_ARGB32_Premultiplied);
|
QImage img(16 * ratio, 4 * ratio, QImage::Format_ARGB32_Premultiplied);
|
||||||
img.setDevicePixelRatio(ratio);
|
img.setDevicePixelRatio(ratio);
|
||||||
img.fill(QColor("#717171"));
|
img.fill(Qt::black);
|
||||||
QPainter p(&img);
|
QPainter p(&img);
|
||||||
p.setPen(QPen(Qt::white, 2));
|
p.setPen(QPen(Qt::white, 2));
|
||||||
p.drawLine(9, 2, 15, 2);
|
p.drawLine(9, 2, 15, 2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user