Mercurial > hg > svcore
diff base/View.h @ 12:f67ddc287bc3
* Add ability to create empty layers for editing
* Add first basic editing capability (adding points to a time instant layer)
* Add various keyboard and mouse shortcuts for navigation &c
* Add ability to resize a selection by dragging its edges
* Add maximum zoom level
author | Chris Cannam |
---|---|
date | Thu, 26 Jan 2006 16:15:40 +0000 |
parents | ec6886f0e673 |
children | 47500c27ac26 |
line wrap: on
line diff
--- a/base/View.h Thu Jan 26 11:56:09 2006 +0000 +++ b/base/View.h Thu Jan 26 16:15:40 2006 +0000 @@ -101,6 +101,11 @@ */ virtual void zoom(bool in); + /** + * Scroll left or right by a smallish or largish amount. + */ + virtual void scroll(bool right, bool lots); + virtual void addLayer(Layer *v); virtual void removeLayer(Layer *v); // does not delete the layer virtual int getLayerCount() const { return m_layers.size(); }