+VTrackZoomPanel::VTrackZoomPanel(MWindow *mwindow, ZoomBar *zoombar, int x, int y)
+ : ZoomPanel(mwindow, zoombar, mwindow->edl->local_session->zoom_vtrack,
+ x, y, xS(64), MIN_TRACK_ZOOM, MAX_TRACK_ZOOM, ZOOM_LONG)
+{
+ this->mwindow = mwindow;
+ this->zoombar = zoombar;
+}
+int VTrackZoomPanel::handle_event()
+{
+ if( zoombar->shift_down() )
+ update(DEFAULT_ZOOM_TRACK);
+ mwindow->zoom_vtrack((int64_t)get_value());
+ return 1;
+}