X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.h;h=4eb255a2da7a0ec131df8daf6ea6286df8442074;hp=980ccf1f61e8488d38dea381953ab15bb8d6d112;hb=b42d25c43e52c900cbdd3e5cde0282961b8721e7;hpb=140181a46034cf65739ba4bf0bf1260ab94ac736 diff --git a/pv/view/view.h b/pv/view/view.h index 980ccf1f..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; @@ -157,7 +155,7 @@ private: bool _updating_scroll; bool _show_cursors; - std::pair _cursors; + CursorPair _cursors; QPoint _hover_point; };