summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-01-08 02:56:49 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-01-08 02:56:49 +0000
commita20f41ab39cc034740ccd564c1057d8737d763d5 (patch)
tree6f713470d72ec04ad03efb1ad6380717476c29fd /gtk2_ardour/editor_ops.cc
parent1186b1d881fac3d1d1b55954b84b958c988501c4 (diff)
a metric ton of changes
git-svn-id: svn://localhost/trunk/ardour2@246 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index aa8eec8df3..7bc088e2df 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -79,6 +79,7 @@ void
Editor::undo (uint32_t n)
{
if (session) {
+ cerr << "Undo " << n << " operations\n";
session->undo (n);
}
}
@@ -91,6 +92,23 @@ Editor::redo (uint32_t n)
}
}
+void
+Editor::set_meter_hold (int32_t cnt)
+{
+ if (session) {
+ session->set_meter_hold (cnt);
+ }
+}
+
+void
+Editor::set_meter_falloff (float val)
+{
+ if (session) {
+ session->set_meter_falloff (val);
+ }
+}
+
+
int
Editor::ensure_cursor (jack_nframes_t *pos)
{