X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fview.h;h=0f5e254da4f12681dfff1f10621c91c0af1b9422;hb=b4d91e564cfb71d76e4aa8a4328b8a3b739ce383;hp=4eb255a2da7a0ec131df8daf6ea6286df8442074;hpb=b0d8c0dca6f8976dd6545023d3b6079e605e0acf;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. */