]> sigrok.org Git - pulseview.git/blobdiff - pv/view/view.h
Bring the cursors into view when they are shown
[pulseview.git] / pv / view / view.h
index 4eb255a2da7a0ec131df8daf6ea6286df8442074..0f5e254da4f12681dfff1f10621c91c0af1b9422 100644 (file)
@@ -96,6 +96,11 @@ public:
         */
        void show_cursors(bool show = true);
 
+       /**
+        * Moves the cursors to a convenient position in the view.
+        */
+       void centre_cursors();
+
        /**
         * Returns a reference to the pair of cursors.
         */