X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Ftrace.hpp;h=88e54b1a7edcb37a95045a3f4cf4703a9b9dcbc3;hp=acaa341adbadd55f477e32d1f3e01d9cd4c662f6;hb=35365c66bf6166c5607f1180016528d996a45b66;hpb=e081bf3d864d5662716668d6b4adcb0871d11dae diff --git a/pv/view/trace.hpp b/pv/view/trace.hpp index acaa341a..88e54b1a 100644 --- a/pv/view/trace.hpp +++ b/pv/view/trace.hpp @@ -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.