Mercurial > hg > svgui
comparison layer/NoteLayer.h @ 550:d666f5f8b154
* Make a better job of picking the proper point to drag, edit, delete etc
in note and region layers
* Some work to do with region dragging, but this still needs more thought
author | Chris Cannam |
---|---|
date | Mon, 28 Sep 2009 12:29:12 +0000 |
parents | efe0f232685f |
children | c2ba2796cbee |
comparison
equal
deleted
inserted
replaced
549:e6122e4999a3 | 550:d666f5f8b154 |
---|---|
133 | 133 |
134 virtual int getDefaultColourHint(bool dark, bool &impose); | 134 virtual int getDefaultColourHint(bool dark, bool &impose); |
135 | 135 |
136 NoteModel::PointList getLocalPoints(View *v, int) const; | 136 NoteModel::PointList getLocalPoints(View *v, int) const; |
137 | 137 |
138 bool getPointToDrag(View *v, int x, int y, NoteModel::Point &) const; | |
139 | |
138 NoteModel *m_model; | 140 NoteModel *m_model; |
139 bool m_editing; | 141 bool m_editing; |
140 NoteModel::Point m_originalPoint; | 142 NoteModel::Point m_originalPoint; |
141 NoteModel::Point m_editingPoint; | 143 NoteModel::Point m_editingPoint; |
142 NoteModel::EditCommand *m_editingCommand; | 144 NoteModel::EditCommand *m_editingCommand; |