X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.h;h=bc99bdd775ef88c26fc235fef299d5a5eebe6a7a;hp=c25ed78ada3f90a8cab3d6d4a9c7964c83c2a4a9;hb=ca46b5342f79e4786b973c83ed6a4cde5a51908d;hpb=a007f5ad25bad88cf62443d5471449ce8a6f5f29 diff --git a/pv/view/view.h b/pv/view/view.h index c25ed78..bc99bdd 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.