]> sigrok.org Git - pulseview.git/blobdiff - pv/view/trace.hpp
Make traces only selectable in the header area
[pulseview.git] / pv / view / trace.hpp
index acaa341adbadd55f477e32d1f3e01d9cd4c662f6..88e54b1a7edcb37a95045a3f4cf4703a9b9dcbc3 100644 (file)
@@ -86,6 +86,11 @@ public:
         */
        bool is_draggable() const;
 
+       /**
+        * Selects or deselects the signal.
+        */
+       void select(bool select = true);
+
        /**
         * Computes the outline rectangle of the viewport hit-box.
         * @param rect the rectangle of the viewport area.