X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fview.h;h=db03ce9b43a81b1a7b6a5eda32e0986e15cb1c86;hb=d1e7d82c6327c15f38d66602e65c4d3abe114df7;hp=bc99bdd775ef88c26fc235fef299d5a5eebe6a7a;hpb=ca46b5342f79e4786b973c83ed6a4cde5a51908d;p=pulseview.git diff --git a/pv/view/view.h b/pv/view/view.h index bc99bdd..db03ce9 100644 --- a/pv/view/view.h +++ b/pv/view/view.h @@ -88,6 +88,8 @@ public: void zoom_fit(); + void zoom_one_to_one(); + /** * Sets the scale and offset. * @param scale The new view scale in seconds per pixel. @@ -142,6 +144,8 @@ signals: private: void get_scroll_layout(double &length, double &offset) const; + void set_zoom(double scale, int offset); + void update_scroll(); static bool compare_trace_v_offsets(