X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fcursor.hpp;h=b23bd642b47130446a21b8fcf7b67c812acb7dc5;hb=b3f44329f5846bfb800ee53c15c65b2395d3ba0c;hp=9f0adeddbd8eb0bdd20e16ded2fd16d6036533cc;hpb=4fabd61a2676246265c12d614cde496bf0a79075;p=pulseview.git diff --git a/pv/view/cursor.hpp b/pv/view/cursor.hpp index 9f0aded..b23bd64 100644 --- a/pv/view/cursor.hpp +++ b/pv/view/cursor.hpp @@ -48,6 +48,16 @@ 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. + */ + QString get_text() const; + /** * Gets the marker label rectangle. * @param rect The rectangle of the ruler client area.