Mercurial > hg > svgui
comparison view/View.cpp @ 131:eaae73b6bd28
* Suspend/resume fft data server write activity while reading from a server
to repaint the spectrogram display. Makes a significant improvement to
the otherwise dreadful responsiveness of spectrogram display.
author | Chris Cannam |
---|---|
date | Thu, 03 Aug 2006 12:42:15 +0000 |
parents | 33929e0c3c6b |
children | 5d3a483856ff |
comparison
equal
deleted
inserted
replaced
130:10eec0da9efe | 131:eaae73b6bd28 |
---|---|
921 | 921 |
922 LayerList scrollables; | 922 LayerList scrollables; |
923 bool metUnscrollable = false; | 923 bool metUnscrollable = false; |
924 | 924 |
925 for (LayerList::const_iterator i = m_layers.begin(); i != m_layers.end(); ++i) { | 925 for (LayerList::const_iterator i = m_layers.begin(); i != m_layers.end(); ++i) { |
926 std::cerr << "View::getScrollableBackLayers: calling isLayerDormant on layer " << *i << std::endl; | |
927 std::cerr << "(name is " << (*i)->objectName().toStdString() << ")" | |
928 << std::endl; | |
929 std::cerr << "View::getScrollableBackLayers: I am " << this << std::endl; | |
926 if ((*i)->isLayerDormant(this)) continue; | 930 if ((*i)->isLayerDormant(this)) continue; |
927 if ((*i)->isLayerOpaque()) { | 931 if ((*i)->isLayerOpaque()) { |
928 // You can't see anything behind an opaque layer! | 932 // You can't see anything behind an opaque layer! |
929 scrollables.clear(); | 933 scrollables.clear(); |
930 if (metUnscrollable) break; | 934 if (metUnscrollable) break; |