X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fcursorpair.h;h=b152b8083a2db4ff0db7932569e7ae08c836abc3;hp=05035cc26385560af3c80f8c8e2771e0f05a9f41;hb=199441e4fe68f1ee45f3d4b7617a7166a87c7926;hpb=96d3ad83edb89b2d4e0e4a4f0860c13ebbcf737a diff --git a/pv/view/cursorpair.h b/pv/view/cursorpair.h index 05035cc2..b152b808 100644 --- a/pv/view/cursorpair.h +++ b/pv/view/cursorpair.h @@ -67,6 +67,8 @@ public: void draw_viewport_foreground(QPainter &p, const QRect &rect); + std::pair get_cursor_offsets() const; + private: Cursor _first, _second; const View &_view;