Mercurial > hg > svgui
comparison layer/NoteLayer.h @ 551:c2ba2796cbee sv-v1.7
* Big improvements to editing behaviour in note and region models
author | Chris Cannam |
---|---|
date | Fri, 02 Oct 2009 13:56:10 +0000 |
parents | d666f5f8b154 |
children | 5b72899d692b |
comparison
equal
deleted
inserted
replaced
550:d666f5f8b154 | 551:c2ba2796cbee |
---|---|
137 | 137 |
138 bool getPointToDrag(View *v, int x, int y, NoteModel::Point &) const; | 138 bool getPointToDrag(View *v, int x, int y, NoteModel::Point &) const; |
139 | 139 |
140 NoteModel *m_model; | 140 NoteModel *m_model; |
141 bool m_editing; | 141 bool m_editing; |
142 int m_dragPointX; | |
143 int m_dragPointY; | |
144 int m_dragStartX; | |
145 int m_dragStartY; | |
142 NoteModel::Point m_originalPoint; | 146 NoteModel::Point m_originalPoint; |
143 NoteModel::Point m_editingPoint; | 147 NoteModel::Point m_editingPoint; |
144 NoteModel::EditCommand *m_editingCommand; | 148 NoteModel::EditCommand *m_editingCommand; |
145 VerticalScale m_verticalScale; | 149 VerticalScale m_verticalScale; |
146 | 150 |