comparison layer/ImageLayer.cpp @ 335:2f83b6e3b8ca

* Add Erase tool and mode * Add icons for Normalize buttons in property boxes, and for Show Peaks * Add support for velocity in notes -- not yet reflected in display or editable in the note edit dialog, but they are imported from MIDI, played, and exported * Begin work on making pastes align pasted times (subtler than I thought)
author Chris Cannam
date Fri, 23 Nov 2007 16:48:23 +0000
parents 07aa52466142
children 832d246b327b 0895517bb2d1
comparison
equal deleted inserted replaced
334:0a74248af622 335:2f83b6e3b8ca
812 for (ImageModel::PointList::iterator i = points.begin(); 812 for (ImageModel::PointList::iterator i = points.begin();
813 i != points.end(); ++i) { 813 i != points.end(); ++i) {
814 if (s.contains(i->frame)) { 814 if (s.contains(i->frame)) {
815 //!!! inadequate 815 //!!! inadequate
816 Clipboard::Point point(i->frame, i->label); 816 Clipboard::Point point(i->frame, i->label);
817 point.setReferenceFrame(m_model->alignToReference(i->frame));
817 to.addPoint(point); 818 to.addPoint(point);
818 } 819 }
819 } 820 }
820 } 821 }
821 822