Mercurial > hg > svgui
comparison layer/TimeInstantLayer.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 | 251dd0abc7b7 |
children | 4fe7a09be0fe |
comparison
equal
deleted
inserted
replaced
915:f6d9f28f37cb | 916:94e4952a6774 |
---|---|
319 frame = snapped; | 319 frame = snapped; |
320 return found; | 320 return found; |
321 } | 321 } |
322 | 322 |
323 void | 323 void |
324 TimeInstantLayer::paint(View *v, QPainter &paint, QRect rect) const | 324 TimeInstantLayer::paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const |
325 { | 325 { |
326 if (!m_model || !m_model->isOK()) return; | 326 if (!m_model || !m_model->isOK()) return; |
327 | 327 |
328 // Profiler profiler("TimeInstantLayer::paint", true); | 328 // Profiler profiler("TimeInstantLayer::paint", true); |
329 | 329 |