comparison layer/TimeRulerLayer.cpp @ 916:94e4952a6774 osx-retina

Start trying to introduce LayerGeometryProvider as proxyable interface for View methods that the Layer wants to use
author Chris Cannam
date Tue, 17 Mar 2015 15:05:25 +0000
parents 4a578a360011
children 4fe7a09be0fe
comparison
equal deleted inserted replaced
915:f6d9f28f37cb 916:94e4952a6774
190 190
191 return incms; 191 return incms;
192 } 192 }
193 193
194 void 194 void
195 TimeRulerLayer::paint(View *v, QPainter &paint, QRect rect) const 195 TimeRulerLayer::paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const
196 { 196 {
197 #ifdef DEBUG_TIME_RULER_LAYER 197 #ifdef DEBUG_TIME_RULER_LAYER
198 SVDEBUG << "TimeRulerLayer::paint (" << rect.x() << "," << rect.y() 198 SVDEBUG << "TimeRulerLayer::paint (" << rect.x() << "," << rect.y()
199 << ") [" << rect.width() << "x" << rect.height() << "]" << endl; 199 << ") [" << rect.width() << "x" << rect.height() << "]" << endl;
200 #endif 200 #endif