Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:cb05ba39664a | 12:f67ddc287bc3 |
---|---|
99 /** | 99 /** |
100 * Zoom in or out. | 100 * Zoom in or out. |
101 */ | 101 */ |
102 virtual void zoom(bool in); | 102 virtual void zoom(bool in); |
103 | 103 |
104 /** | |
105 * Scroll left or right by a smallish or largish amount. | |
106 */ | |
107 virtual void scroll(bool right, bool lots); | |
108 | |
104 virtual void addLayer(Layer *v); | 109 virtual void addLayer(Layer *v); |
105 virtual void removeLayer(Layer *v); // does not delete the layer | 110 virtual void removeLayer(Layer *v); // does not delete the layer |
106 virtual int getLayerCount() const { return m_layers.size(); } | 111 virtual int getLayerCount() const { return m_layers.size(); } |
107 | 112 |
108 /** | 113 /** |