From 90cbf4e708d48955e53793534956766d5bdabd13 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 1 Mar 2011 23:26:11 +0000 Subject: [PATCH] Remove unused code. git-svn-id: svn://localhost/ardour2/branches/3.0@9018 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor.h | 3 --- gtk2_ardour/editor_ops.cc | 21 --------------------- 2 files changed, 24 deletions(-) diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 296224c5d6..3c1d886a11 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -1156,9 +1156,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void temporal_zoom_by_frame (framepos_t start, framepos_t end, const std::string & op); void temporal_zoom_to_frame (bool coarser, framepos_t frame); - void amplitude_zoom (gdouble scale); - void amplitude_zoom_step (bool in); - void insert_region_list_drag (boost::shared_ptr, int x, int y); void insert_region_list_selection (float times); diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index bcae625c9d..d5e40d3abf 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -1987,27 +1987,6 @@ Editor::add_location_from_region () _session->commit_reversible_command (); } -void -Editor::amplitude_zoom_step (bool in) -{ - gdouble zoom = 1.0; - - if (in) { - zoom *= 2.0; - } else { - if (zoom > 2.0) { - zoom /= 2.0; - } else { - zoom = 1.0; - } - } - -#ifdef FIX_FOR_CANVAS - /* XXX DO SOMETHING */ -#endif -} - - /* DELETION */