comparison layer/TimeInstantLayer.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 bf306158803d
children 19bf27e4fb29
comparison
equal deleted inserted replaced
75:dfdbf336bb37 76:45ba0b381c5d
52 52
53 virtual void moveSelection(Selection s, size_t newStartFrame); 53 virtual void moveSelection(Selection s, size_t newStartFrame);
54 virtual void resizeSelection(Selection s, Selection newSize); 54 virtual void resizeSelection(Selection s, Selection newSize);
55 virtual void deleteSelection(Selection s); 55 virtual void deleteSelection(Selection s);
56 56
57 virtual void copy(Selection s, Clipboard &to);
58 virtual void paste(const Clipboard &from, int frameOffset);
59
57 virtual const Model *getModel() const { return m_model; } 60 virtual const Model *getModel() const { return m_model; }
58 void setModel(SparseOneDimensionalModel *model); 61 void setModel(SparseOneDimensionalModel *model);
59 62
60 virtual PropertyList getProperties() const; 63 virtual PropertyList getProperties() const;
61 virtual PropertyType getPropertyType(const PropertyName &) const; 64 virtual PropertyType getPropertyType(const PropertyName &) const;