diff layer/FlexiNoteLayer.h @ 694:ad12e428785b tonioni

Merge from default branch
author Chris Cannam
date Tue, 03 Dec 2013 17:58:40 +0000
parents layer/NoteLayer.h@4dcf10bd2863 layer/NoteLayer.h@8663a831838f
children ceb9a2992d96
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.h	Fri Nov 29 14:51:47 2013 +0000
+++ b/layer/FlexiNoteLayer.h	Tue Dec 03 17:58:40 2013 +0000
@@ -36,6 +36,9 @@
 
     virtual void paint(View *v, QPainter &paint, QRect rect) const;
 
+    virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const;
+    virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const;
+
     virtual QString getFeatureDescription(View *v, QPoint &) const;
 
     virtual bool snapToFeatureFrame(View *v, int &frame,
@@ -121,8 +124,6 @@
     virtual void setVerticalZoomStep(int);
     virtual RangeMapper *getNewVerticalZoomRangeMapper() const;
 
-    virtual int getVerticalScaleWidth(View *, bool, QPainter &) const { return 0; }
-
     /**
      * Add a note-on.  Used when recording MIDI "live".  The note will
      * not be finally added to the layer until the corresponding