diff layer/TextLayer.h @ 76:45ba0b381c5d

* Fix long-standing off-by-1 bug in WaveFileModel that was getting us the wrong values for almost all audio data when merging channels (channel == -1) * Implement cut, copy and paste * Make draw mode work properly in time value layer * Minor fixes to CSV import
author Chris Cannam
date Fri, 07 Apr 2006 17:50:33 +0000
parents 705f05ab42e3
children 19bf27e4fb29
line wrap: on
line diff
--- a/layer/TextLayer.h	Thu Apr 06 12:12:41 2006 +0000
+++ b/layer/TextLayer.h	Fri Apr 07 17:50:33 2006 +0000
@@ -50,6 +50,10 @@
 
     virtual void moveSelection(Selection s, size_t newStartFrame);
     virtual void resizeSelection(Selection s, Selection newSize);
+    virtual void deleteSelection(Selection s);
+
+    virtual void copy(Selection s, Clipboard &to);
+    virtual void paste(const Clipboard &from, int frameOffset);
 
     virtual void editOpen(View *, QMouseEvent *); // on double-click