Mercurial > hg > svgui
comparison layer/FlexiNoteLayer.h @ 746:8d5df70b5ed7 tonioni
Add command to snap notes back to pitch track median on request; add split at selection boundaries
author | Chris Cannam |
---|---|
date | Thu, 27 Mar 2014 15:59:46 +0000 |
parents | d50f91fe374e |
children | bc049f1f080e |
comparison
equal
deleted
inserted
replaced
745:d50f91fe374e | 746:8d5df70b5ed7 |
---|---|
75 virtual void deleteSelection(Selection s); | 75 virtual void deleteSelection(Selection s); |
76 | 76 |
77 virtual void copy(View *v, Selection s, Clipboard &to); | 77 virtual void copy(View *v, Selection s, Clipboard &to); |
78 virtual bool paste(View *v, const Clipboard &from, int frameOffset, | 78 virtual bool paste(View *v, const Clipboard &from, int frameOffset, |
79 bool interactive); | 79 bool interactive); |
80 | |
81 void splitNotesAt(View *v, int frame); | |
82 void snapSelectedNotesToPitchTrack(View *v, Selection s); | |
80 | 83 |
81 virtual const Model *getModel() const { return m_model; } | 84 virtual const Model *getModel() const { return m_model; } |
82 void setModel(FlexiNoteModel *model); | 85 void setModel(FlexiNoteModel *model); |
83 | 86 |
84 virtual PropertyList getProperties() const; | 87 virtual PropertyList getProperties() const; |