X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fview.h;h=0f5e254da4f12681dfff1f10621c91c0af1b9422;hb=c23b29d67ed68c1a899000bf0049056fe9f51a62;hp=4eb255a2da7a0ec131df8daf6ea6286df8442074;hpb=b42d25c43e52c900cbdd3e5cde0282961b8721e7;p=pulseview.git diff --git a/pv/view/view.h b/pv/view/view.h index 4eb255a2..0f5e254d 100644 --- a/pv/view/view.h +++ b/pv/view/view.h @@ -96,6 +96,11 @@ public: */ void show_cursors(bool show = true); + /** + * Moves the cursors to a convenient position in the view. + */ + void centre_cursors(); + /** * Returns a reference to the pair of cursors. */