]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/triggermarker.hpp
Implement expansion marker animation and its infrastructure
[pulseview.git] / pv / views / trace / triggermarker.hpp
index 9137f28c1f5b96886c032709bd6d3d32caf06580..222d3fb9f78c76450d75f9dde25b32f6dc1240c0 100644 (file)
@@ -22,6 +22,8 @@
 
 #include "timeitem.hpp"
 
+#include <QPoint>
+
 namespace pv {
 namespace views {
 namespace trace {
@@ -58,13 +60,15 @@ public:
        /**
          Returns true if the item may be dragged/moved.
         */
-       bool is_draggable() const override;
+       bool is_draggable(QPoint pos) const override;
 
        /**
         * Sets the time of the marker.
         */
        void set_time(const pv::util::Timestamp& time) override;
 
+       virtual const pv::util::Timestamp time() const override;
+
        float get_x() const override;
 
        /**