X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fcursor.hpp;h=b23bd642b47130446a21b8fcf7b67c812acb7dc5;hb=096fb584db59a7b95ea57a6accf6c282a43497f6;hp=fab7497e18830c53128277be14a801742105afb4;hpb=3b84fd6d59b10053d5ffba90f8e66324f49841a3;p=pulseview.git diff --git a/pv/view/cursor.hpp b/pv/view/cursor.hpp index fab7497..b23bd64 100644 --- a/pv/view/cursor.hpp +++ b/pv/view/cursor.hpp @@ -48,6 +48,11 @@ 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. */