X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fview.h;h=4eb255a2da7a0ec131df8daf6ea6286df8442074;hb=199441e4fe68f1ee45f3d4b7617a7166a87c7926;hp=5a10ee9ecea7be2b9dacd69c6bb964d0a215de23;hpb=b16907d341861d227d6d2db3014ee36a2af4b619;p=pulseview.git diff --git a/pv/view/view.h b/pv/view/view.h index 5a10ee9e..4eb255a2 100644 --- a/pv/view/view.h +++ b/pv/view/view.h @@ -23,12 +23,10 @@ #include -#include - #include #include -#include "cursor.h" +#include "cursorpair.h" namespace pv { @@ -101,7 +99,7 @@ public: /** * Returns a reference to the pair of cursors. */ - std::pair& cursors(); + CursorPair& cursors(); const QPoint& hover_point() const; @@ -154,9 +152,10 @@ private: double _offset; int _v_offset; + bool _updating_scroll; bool _show_cursors; - std::pair _cursors; + CursorPair _cursors; QPoint _hover_point; };