comparison layer/NoteLayer.h @ 607:5b72899d692b

Give a dedicated key to toggling the centre line, and move it out of the overlay level setting -- reducing number of overlay levels to 3. Introduce two distinct vertical scale types (so that we can hide the spectrogram colour scale part easily)
author Chris Cannam
date Mon, 30 Jan 2012 16:01:59 +0000
parents c2ba2796cbee
children 4dcf10bd2863
comparison
equal deleted inserted replaced
606:fbab21439115 607:5b72899d692b
100 virtual int getVerticalZoomSteps(int &defaultStep) const; 100 virtual int getVerticalZoomSteps(int &defaultStep) const;
101 virtual int getCurrentVerticalZoomStep() const; 101 virtual int getCurrentVerticalZoomStep() const;
102 virtual void setVerticalZoomStep(int); 102 virtual void setVerticalZoomStep(int);
103 virtual RangeMapper *getNewVerticalZoomRangeMapper() const; 103 virtual RangeMapper *getNewVerticalZoomRangeMapper() const;
104 104
105 virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; }
106
105 /** 107 /**
106 * Add a note-on. Used when recording MIDI "live". The note will 108 * Add a note-on. Used when recording MIDI "live". The note will
107 * not be finally added to the layer until the corresponding 109 * not be finally added to the layer until the corresponding
108 * note-off. 110 * note-off.
109 */ 111 */