Mercurial > hg > svgui
comparison layer/SpectrogramLayer.cpp @ 1101:1364cbf4453d spectrogram-minor-refactor
Begin using renderer in colour 3d plot layer
author | Chris Cannam |
---|---|
date | Wed, 13 Jul 2016 13:30:39 +0100 |
parents | 5c6271734790 |
children | 36a981a0fa31 |
comparison
equal
deleted
inserted
replaced
1100:102f986ec032 | 1101:1364cbf4453d |
---|---|
1529 } | 1529 } |
1530 | 1530 |
1531 ScrollableImageCache & | 1531 ScrollableImageCache & |
1532 SpectrogramLayer::getImageCacheReference(const LayerGeometryProvider *view) const | 1532 SpectrogramLayer::getImageCacheReference(const LayerGeometryProvider *view) const |
1533 { | 1533 { |
1534 //!!! to go? | |
1534 if (m_imageCaches.find(view->getId()) == m_imageCaches.end()) { | 1535 if (m_imageCaches.find(view->getId()) == m_imageCaches.end()) { |
1535 m_imageCaches[view->getId()] = ScrollableImageCache(); | 1536 m_imageCaches[view->getId()] = ScrollableImageCache(); |
1536 } | 1537 } |
1537 return m_imageCaches.at(view->getId()); | 1538 return m_imageCaches.at(view->getId()); |
1538 } | 1539 } |