-void Trace::paint_axis(QPainter &p, int y, int left, int right)
+void Trace::paint_back(QPainter &p, const ViewItemPaintParams &pp)
+{
+ if (coloured_bg_)
+ p.setBrush(bgcolour_);
+ else
+ p.setBrush(bgcolour_state_ ? BrightBGColour : DarkBGColour);
+
+ p.setPen(QPen(Qt::NoPen));
+
+ const std::pair<int, int> extents = v_extents();
+
+ const int x = 0;
+ const int y = get_visual_y() + extents.first;
+ const int w = pp.right() - pp.left();
+ const int h = extents.second - extents.first;
+
+ p.drawRect(x, y, w, h);
+}
+
+void Trace::paint_axis(QPainter &p, const ViewItemPaintParams &pp, int y)