Mercurial > hg > svgui
comparison layer/NoteLayer.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 |
---|---|
56 | 56 |
57 virtual void moveSelection(Selection s, size_t newStartFrame); | 57 virtual void moveSelection(Selection s, size_t newStartFrame); |
58 virtual void resizeSelection(Selection s, Selection newSize); | 58 virtual void resizeSelection(Selection s, Selection newSize); |
59 virtual void deleteSelection(Selection s); | 59 virtual void deleteSelection(Selection s); |
60 | 60 |
61 virtual void copy(Selection s, Clipboard &to); | 61 virtual void copy(View *v, Selection s, Clipboard &to); |
62 virtual bool paste(const Clipboard &from, int frameOffset, | 62 virtual bool paste(View *v, const Clipboard &from, int frameOffset, |
63 bool interactive); | 63 bool interactive); |
64 | 64 |
65 virtual const Model *getModel() const { return m_model; } | 65 virtual const Model *getModel() const { return m_model; } |
66 void setModel(NoteModel *model); | 66 void setModel(NoteModel *model); |
67 | 67 |