Mercurial > hg > svgui
comparison layer/ScrollableMagRangeCache.cpp @ 1132:745a868f0abf spectrogram-minor-refactor
Minor tidy
author | Chris Cannam |
---|---|
date | Tue, 02 Aug 2016 11:14:59 +0100 |
parents | 94370157b265 |
children | 9ff838a64461 |
comparison
equal
deleted
inserted
replaced
1131:ee98d587cd1a | 1132:745a868f0abf |
---|---|
74 newRanges.insert(newRanges.begin(), | 74 newRanges.insert(newRanges.begin(), |
75 m_ranges.begin() + dx, m_ranges.end()); | 75 m_ranges.begin() + dx, m_ranges.end()); |
76 m_ranges = newRanges; | 76 m_ranges = newRanges; |
77 } | 77 } |
78 | 78 |
79 cerr << "maxes now: "; | 79 //!!! cerr << "maxes now: "; |
80 for (int i = 0; in_range_for(m_ranges, i); ++i) { | 80 // for (int i = 0; in_range_for(m_ranges, i); ++i) { |
81 cerr << m_ranges[i].getMax() << " "; | 81 // cerr << m_ranges[i].getMax() << " "; |
82 } | 82 // } |
83 cerr << endl; | 83 // cerr << endl; |
84 } | 84 } |
85 | 85 |
86 MagnitudeRange | 86 MagnitudeRange |
87 ScrollableMagRangeCache::getRange(int x, int count) const | 87 ScrollableMagRangeCache::getRange(int x, int count) const |
88 { | 88 { |