Mercurial > hg > svgui
comparison layer/FlexiNoteLayer.h @ 753:09e2677e34e7 tonioni
Fix fancy note-editing mode (was not working in new multi-layer world, and shift-click delete was broken)
| author | Chris Cannam |
|---|---|
| date | Tue, 01 Apr 2014 21:18:31 +0100 |
| parents | 03423269a9d0 |
| children | 3a52b458fcd5 1d526ba11a24 |
comparison
equal
deleted
inserted
replaced
| 752:f428bd852580 | 753:09e2677e34e7 |
|---|---|
| 173 bool getPointToDrag(View *v, int x, int y, FlexiNoteModel::Point &) const; | 173 bool getPointToDrag(View *v, int x, int y, FlexiNoteModel::Point &) const; |
| 174 bool getNoteToEdit(View *v, int x, int y, FlexiNoteModel::Point &) const; | 174 bool getNoteToEdit(View *v, int x, int y, FlexiNoteModel::Point &) const; |
| 175 void getRelativeMousePosition(View *v, FlexiNoteModel::Point ¬e, int x, int y, bool &closeToLeft, bool &closeToRight, bool &closeToTop, bool &closeToBottom) const; | 175 void getRelativeMousePosition(View *v, FlexiNoteModel::Point ¬e, int x, int y, bool &closeToLeft, bool &closeToRight, bool &closeToTop, bool &closeToBottom) const; |
| 176 SparseTimeValueModel *getAssociatedPitchModel(View *v) const; | 176 SparseTimeValueModel *getAssociatedPitchModel(View *v) const; |
| 177 bool updateNoteValue(View *v, FlexiNoteModel::Point ¬e) const; | 177 bool updateNoteValue(View *v, FlexiNoteModel::Point ¬e) const; |
| 178 void splitNotesAt(View *v, int frame, QMouseEvent *e); | |
| 178 | 179 |
| 179 FlexiNoteModel *m_model; | 180 FlexiNoteModel *m_model; |
| 180 bool m_editing; | 181 bool m_editing; |
| 181 bool m_intelligentActions; | 182 bool m_intelligentActions; |
| 182 int m_dragPointX; | 183 int m_dragPointX; |
