comparison 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
comparison
equal deleted inserted replaced
17:2fb933f88604 18:4563a72c1d8b
136 * rectangle can be cached). 136 * rectangle can be cached).
137 */ 137 */
138 virtual bool isLayerOpaque() const { return false; } 138 virtual bool isLayerOpaque() const { return false; }
139 139
140 /** 140 /**
141 * This should return true if the layer can be edited by the user.
142 * If this is the case, the appropriate edit tools may be made
143 * available by the application and the layer's drawStart/Drag/End
144 * and editStart/Drag/End methods should be implemented.
145 */
146 virtual bool isLayerEditable() const { return false; }
147
148 /**
141 * Return the proportion of background work complete in drawing 149 * Return the proportion of background work complete in drawing
142 * this view, as a percentage -- in most cases this will be the 150 * this view, as a percentage -- in most cases this will be the
143 * value returned by pointer from a call to the underlying model's 151 * value returned by pointer from a call to the underlying model's
144 * isReady(int *) call. The widget may choose to show a progress 152 * isReady(int *) call. The widget may choose to show a progress
145 * meter if it finds that this returns < 100 at any given moment. 153 * meter if it finds that this returns < 100 at any given moment.