Mercurial > hg > svgui
diff layer/FlexiNoteLayer.h @ 745:d50f91fe374e tonioni
Fix (to some extent) the "gross assumption about layer order" and thus #840 Note split adaptation broken
author | Chris Cannam |
---|---|
date | Tue, 25 Mar 2014 13:06:27 +0000 |
parents | ceb9a2992d96 |
children | 8d5df70b5ed7 |
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.h Thu Mar 06 15:16:25 2014 +0000 +++ b/layer/FlexiNoteLayer.h Tue Mar 25 13:06:27 2014 +0000 @@ -28,7 +28,7 @@ class View; class QPainter; - +class SparseTimeValueModel; class FlexiNoteLayer : public SingleColourLayer, public VerticalScaleLayer @@ -169,6 +169,7 @@ bool getPointToDrag(View *v, int x, int y, FlexiNoteModel::Point &) const; bool getNoteToEdit(View *v, int x, int y, FlexiNoteModel::Point &) const; void getRelativeMousePosition(View *v, FlexiNoteModel::Point ¬e, int x, int y, bool &closeToLeft, bool &closeToRight, bool &closeToTop, bool &closeToBottom) const; + SparseTimeValueModel *getAssociatedPitchModel(View *v) const; void updateNoteValue(View *v, FlexiNoteModel::Point ¬e) const; FlexiNoteModel *m_model;