X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=e4d0ebad1ab5237968b0e37ebf1f34c4faa6a877;hp=2e8aebb4c1e80d237dbbf1d1c0a4548a3dbaf11c;hb=7a01bd3654ed046216308fa64edfd79be7cd525f;hpb=f84000171de7e569590a2f766ae36290b73442da diff --git a/pv/view/view.hpp b/pv/view/view.hpp index 2e8aebb..e4d0eba 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_VIEW_VIEW_H -#define PULSEVIEW_PV_VIEW_VIEW_H +#ifndef PULSEVIEW_PV_VIEW_VIEW_HPP +#define PULSEVIEW_PV_VIEW_VIEW_HPP #include @@ -108,6 +108,11 @@ public: */ int owner_visual_v_offset() const; + /** + * Sets the visual v-offset. + */ + void set_v_offset(int offset); + /** * Returns the SI prefix to apply to the graticule time markings. */ @@ -295,4 +300,4 @@ private: } // namespace view } // namespace pv -#endif // PULSEVIEW_PV_VIEW_VIEW_H +#endif // PULSEVIEW_PV_VIEW_VIEW_HPP