comparison layer/SpectrogramLayer.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 28d05ae8741c
children 4fe7a09be0fe
comparison
equal deleted inserted replaced
915:f6d9f28f37cb 916:94e4952a6774
1765 { 1765 {
1766 m_synchronous = synchronous; 1766 m_synchronous = synchronous;
1767 } 1767 }
1768 1768
1769 void 1769 void
1770 SpectrogramLayer::paint(View *v, QPainter &paint, QRect rect) const 1770 SpectrogramLayer::paint(LayerGeometryProvider *v, QPainter &paint, QRect rect) const
1771 { 1771 {
1772 // What a lovely, old-fashioned function this is. 1772 // What a lovely, old-fashioned function this is.
1773 // It's practically FORTRAN 77 in its clarity and linearity. 1773 // It's practically FORTRAN 77 in its clarity and linearity.
1774 1774
1775 Profiler profiler("SpectrogramLayer::paint", false); 1775 Profiler profiler("SpectrogramLayer::paint", false);