]> sigrok.org Git - pulseview.git/blobdiff - pv/view/timemarker.hpp
ViewItem: Make hit_box_rect take ViewItemPaintParams
[pulseview.git] / pv / view / timemarker.hpp
index 371b6e4a54ce607edbdfd7dc3ead53c55e9ae447..1116eb460d3193987931d6b762cf6a8a229782c3 100644 (file)
@@ -88,7 +88,7 @@ public:
         * @param rect the rectangle of the viewport area.
         * @return Returns the rectangle of the hit-box.
         */
-       QRectF hit_box_rect(const QRectF &rect) const;
+       QRectF hit_box_rect(const ViewItemPaintParams &pp) const;
 
        /**
         * Gets the text to show in the marker.