comparison layer/FlexiNoteLayer.h @ 655:c572a0705223 tonioni

funky note value re-estimation using underlying pitch median value
author gyorgyf
date Wed, 19 Jun 2013 08:26:24 +0100
parents 76c5dfe333ee
children 902c7c9d77ea
comparison
equal deleted inserted replaced
654:f215fba963aa 655:c572a0705223
155 FlexiNoteModel::PointList getLocalPoints(View *v, int) const; 155 FlexiNoteModel::PointList getLocalPoints(View *v, int) const;
156 156
157 bool getPointToDrag(View *v, int x, int y, FlexiNoteModel::Point &) const; 157 bool getPointToDrag(View *v, int x, int y, FlexiNoteModel::Point &) const;
158 bool getNoteToEdit(View *v, int x, int y, FlexiNoteModel::Point &) const; 158 bool getNoteToEdit(View *v, int x, int y, FlexiNoteModel::Point &) const;
159 void getRelativeMousePosition(View *v, FlexiNoteModel::Point &note, int x, int y, bool &closeToLeft, bool &closeToRight, bool &closeToTop, bool &closeToBottom) const; 159 void getRelativeMousePosition(View *v, FlexiNoteModel::Point &note, int x, int y, bool &closeToLeft, bool &closeToRight, bool &closeToTop, bool &closeToBottom) const;
160 void updateNoteValue(View *v, FlexiNoteModel::Point &note) const;
160 161
161 FlexiNoteModel *m_model; 162 FlexiNoteModel *m_model;
162 bool m_editing; 163 bool m_editing;
163 int m_dragPointX; 164 int m_dragPointX;
164 int m_dragPointY; 165 int m_dragPointY;