]> sigrok.org Git - pulseview.git/blobdiff - pv/view/trace.hpp
ViewItem: Make hit_box_rect take ViewItemPaintParams
[pulseview.git] / pv / view / trace.hpp
index 8c99191790e6aa7e6c783a0c0b5d9a95f678c19d..677f366b477f7b1caaaae3bfb03a523ff3a51a0d 100644 (file)
@@ -78,7 +78,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;
 
        /**
         * Paints the signal label.