mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-19 06:37:15 +01:00
plot: Add default impl of all paint* functions
This commit is contained in:
12
plot.cpp
12
plot.cpp
@@ -26,4 +26,14 @@ void Plot::paintBack(QPainter &painter, QRect &rect, range_t<off_t> sampleRange)
|
||||
painter.setPen(pen);
|
||||
painter.drawLine(rect.left(), rect.center().y(), rect.right(), rect.center().y());
|
||||
painter.restore();
|
||||
}
|
||||
}
|
||||
|
||||
void Plot::paintMid(QPainter &painter, QRect &rect, range_t<off_t> sampleRange)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void Plot::paintFront(QPainter &painter, QRect &rect, range_t<off_t> sampleRange)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user