]> sigrok.org Git - pulseview.git/blobdiff - pv/view/cursor.hpp
SelectableItem: Moved in enabled(), and added to TriggerMarkers
[pulseview.git] / pv / view / cursor.hpp
index fab7497e18830c53128277be14a801742105afb4..b23bd642b47130446a21b8fcf7b67c812acb7dc5 100644 (file)
@@ -48,6 +48,11 @@ public:
        Cursor(View &view, double time);
 
 public:
        Cursor(View &view, double time);
 
 public:
+       /**
+        * Returns true if the item is visible and enabled.
+        */
+       bool enabled() const;
+
        /**
         * Gets the text to show in the marker.
         */
        /**
         * Gets the text to show in the marker.
         */