TimeItem: Added mandatory get_x virtual method
[pulseview.git] / pv / view / cursorpair.hpp
index 78780916504cda37434c641b9c0da6c001745a46..43e06545ad4fd94cfe6690dc473906fa9fd3d910 100644 (file)
@@ -60,6 +60,13 @@ public:
         */
        std::shared_ptr<Cursor> second() const;
 
+       /**
+        * Sets the time of the marker.
+        */
+       void set_time(double time);
+
+       float get_x() const;
+
        QPoint point() const;
 
        pv::widgets::Popup* create_popup(QWidget *parent);