13
0

Remove unused code.

git-svn-id: svn://localhost/ardour2/branches/3.0@9018 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-03-01 23:26:11 +00:00
parent 115a150470
commit 90cbf4e708
2 changed files with 0 additions and 24 deletions

View File

@ -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<ARDOUR::Region>, int x, int y);
void insert_region_list_selection (float times);

View File

@ -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 */