]> sigrok.org Git - pulseview.git/blobdiff - pv/view/flag.hpp
Fix #685 by adding a special T marker when SR_DT_TRIGGER arrives
[pulseview.git] / pv / view / flag.hpp
index 265621029d3ec99797a26f465abc893b55659c2d..af4c7b9d15012ee89e691dfee9eeea13c1c20c90 100644 (file)
@@ -45,7 +45,7 @@ public:
         * @param time The time to set the flag to.
         * @param text The text of the marker.
         */
-       Flag(View &view, double time, const QString &text);
+       Flag(View &view, const pv::util::Timestamp& time, const QString &text);
 
        /**
         * Copy constructor.
@@ -68,6 +68,8 @@ public:
 
        void delete_pressed();
 
+       void drag_by(const QPoint &delta);
+
 private Q_SLOTS:
        void on_delete();