X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fview%2Fview.h;h=bc99bdd775ef88c26fc235fef299d5a5eebe6a7a;hb=3248fcde2deac2fc3fcddf0f3a5bb4695986eeb9;hp=c25ed78ada3f90a8cab3d6d4a9c7964c83c2a4a9;hpb=9cef95672622f4ecdb21edef9d81a10c789daf1e;p=pulseview.git diff --git a/pv/view/view.h b/pv/view/view.h index c25ed78a..bc99bdd7 100644 --- a/pv/view/view.h +++ b/pv/view/view.h @@ -86,6 +86,8 @@ public: void zoom(double steps); void zoom(double steps, int offset); + void zoom_fit(); + /** * Sets the scale and offset. * @param scale The new view scale in seconds per pixel.