comparison layer/TimeValueLayer.h @ 359:020c485aa7e0

* More work on aligning copy/paste between layers. It's a surprisingly complicated business.
author Chris Cannam
date Wed, 06 Feb 2008 12:49:49 +0000
parents 2f83b6e3b8ca
children e1a9e478b7f2
comparison
equal deleted inserted replaced
358:8b69f36c74be 359:020c485aa7e0
59 59
60 virtual void moveSelection(Selection s, size_t newStartFrame); 60 virtual void moveSelection(Selection s, size_t newStartFrame);
61 virtual void resizeSelection(Selection s, Selection newSize); 61 virtual void resizeSelection(Selection s, Selection newSize);
62 virtual void deleteSelection(Selection s); 62 virtual void deleteSelection(Selection s);
63 63
64 virtual void copy(Selection s, Clipboard &to); 64 virtual void copy(View *v, Selection s, Clipboard &to);
65 virtual bool paste(const Clipboard &from, int frameOffset, 65 virtual bool paste(View *v, const Clipboard &from, int frameOffset,
66 bool interactive); 66 bool interactive);
67 67
68 virtual const Model *getModel() const { return m_model; } 68 virtual const Model *getModel() const { return m_model; }
69 void setModel(SparseTimeValueModel *model); 69 void setModel(SparseTimeValueModel *model);
70 70