X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fview.h;h=4eb255a2da7a0ec131df8daf6ea6286df8442074;hb=b42d25c43e52c900cbdd3e5cde0282961b8721e7;hp=5a10ee9ecea7be2b9dacd69c6bb964d0a215de23;hpb=69dd2b030f0bf289fe3132cf3c0f3725c578a916;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; };