comparison layer/FlexiNoteLayer.h @ 1470:696e569ff21b by-id

Further layer updates for ById
author Chris Cannam
date Fri, 28 Jun 2019 17:37:22 +0100
parents 11a150e65ee1
children e6362cf5ff1d
comparison
equal deleted inserted replaced
1469:11a150e65ee1 1470:696e569ff21b
189 int m_dragStartY; 189 int m_dragStartY;
190 Event m_originalPoint; 190 Event m_originalPoint;
191 Event m_editingPoint; 191 Event m_editingPoint;
192 sv_frame_t m_greatestLeftNeighbourFrame; 192 sv_frame_t m_greatestLeftNeighbourFrame;
193 sv_frame_t m_smallestRightNeighbourFrame; 193 sv_frame_t m_smallestRightNeighbourFrame;
194 ChangeEventsCommand<Model> *m_editingCommand; 194 ChangeEventsCommand *m_editingCommand;
195 VerticalScale m_verticalScale; 195 VerticalScale m_verticalScale;
196 EditMode m_editMode; 196 EditMode m_editMode;
197 197
198 typedef std::set<Event> NoteSet; 198 typedef std::set<Event> NoteSet;
199 NoteSet m_pendingNoteOns; 199 NoteSet m_pendingNoteOns;
201 mutable double m_scaleMinimum; 201 mutable double m_scaleMinimum;
202 mutable double m_scaleMaximum; 202 mutable double m_scaleMaximum;
203 203
204 bool shouldAutoAlign() const; 204 bool shouldAutoAlign() const;
205 205
206 void finish(ChangeEventsCommand<Model> *command) { 206 void finish(ChangeEventsCommand *command) {
207 Command *c = command->finish(); 207 Command *c = command->finish();
208 if (c) CommandHistory::getInstance()->addCommand(c, false); 208 if (c) CommandHistory::getInstance()->addCommand(c, false);
209 } 209 }
210 }; 210 };
211 211