diff layer/NoteLayer.cpp @ 1077:5144d7185fb5 spectrogram-minor-refactor

Move LayerGeometryProvider from view to layer
author Chris Cannam
date Thu, 30 Jun 2016 10:59:11 +0100
parents 4fe7a09be0fe
children ee01a4062747
line wrap: on
line diff
--- a/layer/NoteLayer.cpp	Thu Jun 30 10:36:52 2016 +0100
+++ b/layer/NoteLayer.cpp	Thu Jun 30 10:59:11 2016 +0100
@@ -813,14 +813,14 @@
                                x - paint.fontMetrics().width(vlabel) - 2,
                                y + paint.fontMetrics().height()/2
                                  - paint.fontMetrics().descent(), 
-                               vlabel, View::OutlinedText);
+                               vlabel, LayerGeometryProvider::OutlinedText);
 
             QString hlabel = RealTime::frame2RealTime
                 (p.frame, m_model->getSampleRate()).toText(true).c_str();
             v->drawVisibleText(paint, 
                                x,
                                y - h/2 - paint.fontMetrics().descent() - 2,
-                               hlabel, View::OutlinedText);
+                               hlabel, LayerGeometryProvider::OutlinedText);
 	}
 	
 	paint.drawRect(x, y - h/2, w, h);