From 3925091ab254d42f1ce29ee0df042d343b4113e0 Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Fri, 17 Jan 2014 18:48:39 +0000 Subject: [PATCH] pv::view::View::set_zoom: Added doxygen comment --- pv/view/view.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pv/view/view.h b/pv/view/view.h index 62157eed..06616376 100644 --- a/pv/view/view.h +++ b/pv/view/view.h @@ -148,7 +148,13 @@ signals: private: void get_scroll_layout(double &length, double &offset) const; - + + /** + * Simultaneously sets the zoom and offset. + * @param scale The scale to set the view to in seconds per pixel. This + * value is clamped between MinScale and MaxScale. + * @param offset The offset of the left edge of the view in seconds. + */ void set_zoom(double scale, int offset); void update_scroll(); -- 2.30.2