comparison layer/TimeInstantLayer.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 b3140e9e0665
comparison
equal deleted inserted replaced
375:daaf1c435d98 376:e1a9e478b7f2
110 SparseOneDimensionalModel *m_model; 110 SparseOneDimensionalModel *m_model;
111 bool m_editing; 111 bool m_editing;
112 SparseOneDimensionalModel::Point m_editingPoint; 112 SparseOneDimensionalModel::Point m_editingPoint;
113 SparseOneDimensionalModel::EditCommand *m_editingCommand; 113 SparseOneDimensionalModel::EditCommand *m_editingCommand;
114 PlotStyle m_plotStyle; 114 PlotStyle m_plotStyle;
115
116 void finish(SparseOneDimensionalModel::EditCommand *command) {
117 Command *c = command->finish();
118 if (c) CommandHistory::getInstance()->addCommand(c, false);
119 }
115 }; 120 };
116 121
117 #endif 122 #endif
118 123