comparison layer/NoteLayer.h @ 376:e1a9e478b7f2

* juggle some files around in order to free audioio, base, and system libraries from dependency on QtGui
author Chris Cannam
date Wed, 12 Mar 2008 17:42:56 +0000
parents 020c485aa7e0
children 681542f0c8c5
comparison
equal deleted inserted replaced
375:daaf1c435d98 376:e1a9e478b7f2
115 bool m_editing; 115 bool m_editing;
116 NoteModel::Point m_originalPoint; 116 NoteModel::Point m_originalPoint;
117 NoteModel::Point m_editingPoint; 117 NoteModel::Point m_editingPoint;
118 NoteModel::EditCommand *m_editingCommand; 118 NoteModel::EditCommand *m_editingCommand;
119 VerticalScale m_verticalScale; 119 VerticalScale m_verticalScale;
120
121 void finish(NoteModel::EditCommand *command) {
122 Command *c = command->finish();
123 if (c) CommandHistory::getInstance()->addCommand(c, false);
124 }
120 }; 125 };
121 126
122 #endif 127 #endif
123 128