Added selection_changed signal to pv::view::View
[pulseview.git] / pv / view / view.h
index 4eb255a2da7a0ec131df8daf6ea6286df8442074..18da73224e952a8bae50421fa59735d21438e419 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.
         */
@@ -110,6 +115,8 @@ signals:
 
        void signals_moved();
 
+       void selection_changed();
+
 private:
        void get_scroll_layout(double &length, double &offset) const;