1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-02-17 16:20:48 +01:00

Use a railway line color that fits the ENC style

This commit is contained in:
Martin Tůma 2024-02-06 23:44:18 +01:00
parent f7f680b93e
commit 96b602bf14

View File

@ -9,7 +9,7 @@ static QImage railroad(qreal ratio)
{
QImage img(16 * ratio, 4 * ratio, QImage::Format_ARGB32_Premultiplied);
img.setDevicePixelRatio(ratio);
img.fill(QColor("#717171"));
img.fill(Qt::black);
QPainter p(&img);
p.setPen(QPen(Qt::white, 2));
p.drawLine(9, 2, 15, 2);