diff --git a/V203/usb/scope/software/displaywidget.cpp b/V203/usb/scope/software/displaywidget.cpp index c8b46dd..f45d31e 100644 --- a/V203/usb/scope/software/displaywidget.cpp +++ b/V203/usb/scope/software/displaywidget.cpp @@ -262,7 +262,7 @@ void DisplayWidget::drawBackground() { // triger const double ofs = (m_TrgSource ? m_offset.b : m_offset.a) - HALF_Y; QPointF trg (m_ts->offset, m_ts->value + ofs); - QPen pc (QColor(0,0,255), 1); + QPen pc (QColor(0,128,255), 1); p.setPen(pc); const QLineF hline (xb, trg.y(), xe, trg.y()); const QLineF vline (trg.x(), -ye, trg.x(), ye); @@ -285,12 +285,15 @@ void DisplayWidget::drawBackground() { // offsets QPen ofpen(pcol.colA); QVectordashes; - dashes << 5 << 5 << 1 << 5; + const qreal gap = 10; + dashes << gap << gap; ofpen.setDashPattern(dashes); p.setPen (ofpen); const QLineF oa (xb, m_offset.a, xe, m_offset.a); p.drawLine (m_forward.map(oa)); ofpen.setColor(pcol.colB); + ofpen.setDashPattern(dashes); + ofpen.setDashOffset(gap); p.setPen (ofpen); const QLineF ob (xb, m_offset.b, xe, m_offset.b); p.drawLine (m_forward.map(ob));