Mercurial > hg > svcore
diff base/Layer.h @ 18:4563a72c1d8b
* 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 | 47500c27ac26 |
children | 742e6882e187 |
line wrap: on
line diff
--- a/base/Layer.h Tue Jan 31 15:57:25 2006 +0000 +++ b/base/Layer.h Tue Jan 31 17:19:45 2006 +0000 @@ -138,6 +138,14 @@ virtual bool isLayerOpaque() const { return false; } /** + * This should return true if the layer can be edited by the user. + * If this is the case, the appropriate edit tools may be made + * available by the application and the layer's drawStart/Drag/End + * and editStart/Drag/End methods should be implemented. + */ + virtual bool isLayerEditable() const { return false; } + + /** * Return the proportion of background work complete in drawing * this view, as a percentage -- in most cases this will be the * value returned by pointer from a call to the underlying model's