diff framework/MainWindowBase.h @ 537:dd195633fc9f subdivide-instants

Implement "Subdivide Selected Instants". Also add the relabel command to the history, which I previously forgot to do!
author Chris Cannam
date Fri, 25 Nov 2016 09:38:53 +0000
parents 51befd6165a3
children 287fce13a1ae
line wrap: on
line diff
--- a/framework/MainWindowBase.h	Wed Nov 16 16:12:42 2016 +0000
+++ b/framework/MainWindowBase.h	Fri Nov 25 09:38:53 2016 +0000
@@ -168,6 +168,7 @@
     void canInsertInstantsAtBoundaries(bool);
     void canInsertItemAtSelection(bool);
     void canRenumberInstants(bool);
+    void canSubdivideInstants(bool);
     void canDeleteCurrentLayer(bool);
     void canZoom(bool);
     void canScroll(bool);
@@ -275,6 +276,7 @@
     virtual void insertItemAtSelection();
     virtual void insertItemAt(sv_frame_t, sv_frame_t);
     virtual void renumberInstants();
+    virtual void subdivideInstantsBy(int);
 
     virtual void documentModified();
     virtual void documentRestored();