comparison base/View.h @ 22:a1a6acb7cd37

* Some fixes to waveform layer greyscaling * Tidying in panner class
author Chris Cannam
date Fri, 03 Feb 2006 17:30:47 +0000
parents cc98d496d52b
children 8460b3bf8f04
comparison
equal deleted inserted replaced
21:5da86cc182bd 22:a1a6acb7cd37
94 * Return the closest frame to the given pixel x-coordinate. 94 * Return the closest frame to the given pixel x-coordinate.
95 */ 95 */
96 long getFrameForX(int x) const; 96 long getFrameForX(int x) const;
97 97
98 /** 98 /**
99 * Return the zoom level, i.e. the number of frames per pixel. 99 * Return the zoom level, i.e. the number of frames per pixel
100 */ 100 */
101 virtual int getZoomLevel() const { return m_zoomLevel; } 101 int getZoomLevel() const;
102 102
103 /** 103 /**
104 * Set the zoom level, i.e. the number of frames per pixel. The 104 * Set the zoom level, i.e. the number of frames per pixel. The
105 * centre frame will be unchanged; the start and end frames will 105 * centre frame will be unchanged; the start and end frames will
106 * change. 106 * change.
226 226
227 void checkProgress(void *object); 227 void checkProgress(void *object);
228 228
229 size_t m_centreFrame; 229 size_t m_centreFrame;
230 int m_zoomLevel; 230 int m_zoomLevel;
231 bool m_newModel;
232 bool m_followPan; 231 bool m_followPan;
233 bool m_followZoom; 232 bool m_followZoom;
234 PlaybackFollowMode m_followPlay; 233 PlaybackFollowMode m_followPlay;
235 size_t m_playPointerFrame; 234 size_t m_playPointerFrame;
236 bool m_lightBackground; 235 bool m_lightBackground;