X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Ftimemarker.hpp;h=113a6a10a6f04c097d2bc9d828e1f516f63fa2f0;hb=7708eb92ca87836f5d4987899e0fbb7a4e2335b4;hp=4f7361bd13acb5a9e119e30183c8f82a5a0a92d0;hpb=1dffa582704bb6acb144a3e89bd6eb0e2ccf4f25;p=pulseview.git diff --git a/pv/view/timemarker.hpp b/pv/view/timemarker.hpp index 4f7361b..113a6a1 100644 --- a/pv/view/timemarker.hpp +++ b/pv/view/timemarker.hpp @@ -79,6 +79,13 @@ public: */ QRectF label_rect(const QRectF &rect) const; + /** + * Computes the outline rectangle of the viewport hit-box. + * @param rect the rectangle of the viewport area. + * @return Returns the rectangle of the hit-box. + */ + QRectF hit_box_rect(const QRectF &rect) const; + /** * Gets the text to show in the marker. */