namespace view {
CursorPair::CursorPair(const View &view) :
- _first(view, 0.0),
- _second(view, 1.0),
+ _first(view, 0.0, _second),
+ _second(view, 1.0, _first),
_view(view)
{
}
return _second;
}
+void CursorPair::draw_markers(QPainter &p,
+ const QRect &rect, unsigned int prefix)
+{
+ _first.paint_label(p, rect, prefix);
+ _second.paint_label(p, rect, prefix);
+}
+
void CursorPair::draw_viewport_background(QPainter &p,
const QRect &rect)
{