]> sigrok.org Git - pulseview.git/blobdiff - pv/view/viewitem.hpp
ViewItem: Make hit_box_rect take ViewItemPaintParams
[pulseview.git] / pv / view / viewitem.hpp
index 32b9f995fedb642783964b6287e68fbe36c9e131..648be84e64384a6fa382a503ee28f0892a480619 100644 (file)
@@ -109,7 +109,7 @@ public:
         * @return Returns the rectangle of the hit-box.
         * @remarks The default implementation returns an empty hit-box.
         */
-       virtual QRectF hit_box_rect(const QRectF &rect) const;
+       virtual QRectF hit_box_rect(const ViewItemPaintParams &pp) const;
 
        /**
         * Paints the signal label.