projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SelectableItem: Moved in enabled(), and added to TriggerMarkers
[pulseview.git]
/
pv
/
view
/
cursor.hpp
diff --git
a/pv/view/cursor.hpp
b/pv/view/cursor.hpp
index fab7497e18830c53128277be14a801742105afb4..b23bd642b47130446a21b8fcf7b67c812acb7dc5 100644
(file)
--- a/
pv/view/cursor.hpp
+++ b/
pv/view/cursor.hpp
@@
-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.
*/