Mercurial > hg > svgui
diff layer/WaveformLayer.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 | 1f67b110c1a3 |
children | a9dfa2d6d5ac 0895517bb2d1 |
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp Thu Nov 22 14:27:41 2007 +0000 +++ b/layer/WaveformLayer.cpp Fri Nov 23 16:48:23 2007 +0000 @@ -108,6 +108,13 @@ return SingleColourLayer::getPropertyLabel(name); } +QString +WaveformLayer::getPropertyIconName(const PropertyName &name) const +{ + if (name == "Normalize Visible Area") return "normalise"; + return ""; +} + Layer::PropertyType WaveformLayer::getPropertyType(const PropertyName &name) const {