Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.cpp @ 76:45ba0b381c5d
* Fix long-standing off-by-1 bug in WaveFileModel that was getting us the wrong
values for almost all audio data when merging channels (channel == -1)
* Implement cut, copy and paste
* Make draw mode work properly in time value layer
* Minor fixes to CSV import
author | Chris Cannam |
---|---|
date | Fri, 07 Apr 2006 17:50:33 +0000 |
parents | 705f05ab42e3 |
children | 2be85befe873 |
comparison
equal
deleted
inserted
replaced
75:dfdbf336bb37 | 76:45ba0b381c5d |
---|---|
331 if (illuminate) { | 331 if (illuminate) { |
332 if (r.contains(illuminatePos)) { | 332 if (r.contains(illuminatePos)) { |
333 paint.setPen(Qt::black);//!!! | 333 paint.setPen(Qt::black);//!!! |
334 } | 334 } |
335 } | 335 } |
336 | |
337 // std::cout << "rect " << rx0 << "," << (ry0 - h / sh - 1) << " " | |
338 // << w << "x" << (h / sh + 1) << std::endl; | |
336 | 339 |
337 paint.drawRect(r); | 340 paint.drawRect(r); |
338 | 341 |
339 if (showLabel) { | 342 if (showLabel) { |
340 if (sx >= 0 && sx < m_cache->width() && | 343 if (sx >= 0 && sx < m_cache->width() && |