Mercurial > hg > svgui
diff layer/TimeValueLayer.h @ 23:ca57f70b0e48
* Add Zero Crossings output from zc plugin (as well as Zero Crossings Count)
* Use brief friendly names for layers instead of full transform descriptions
* Clearer command names for editing commands
* Some efficiencies in drawing dense points in TimeInstantLayer
author | Chris Cannam |
---|---|
date | Tue, 31 Jan 2006 17:19:45 +0000 |
parents | 179bf7b5ddea |
children | dcdb21b62dbb |
line wrap: on
line diff
--- a/layer/TimeValueLayer.h Tue Jan 31 15:57:25 2006 +0000 +++ b/layer/TimeValueLayer.h Tue Jan 31 17:19:45 2006 +0000 @@ -64,6 +64,8 @@ virtual bool isLayerScrollable() const; + virtual bool isLayerEditable() const { return true; } + virtual int getCompletion() const { return m_model->getCompletion(); } virtual QString toXmlString(QString indent = "", @@ -79,6 +81,7 @@ SparseTimeValueModel *m_model; bool m_editing; + SparseTimeValueModel::Point m_originalPoint; SparseTimeValueModel::Point m_editingPoint; SparseTimeValueModel::EditCommand *m_editingCommand; QColor m_colour;