Mercurial > hg > svgui
diff layer/SpectrogramLayer.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 | 0a74248af622 |
children | 813170c57b13 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Thu Nov 22 14:27:41 2007 +0000 +++ b/layer/SpectrogramLayer.cpp Fri Nov 23 16:48:23 2007 +0000 @@ -177,6 +177,14 @@ return ""; } +QString +SpectrogramLayer::getPropertyIconName(const PropertyName &name) const +{ + if (name == "Normalize Columns") return "normalise-columns"; + if (name == "Normalize Visible Area") return "normalise"; + return ""; +} + Layer::PropertyType SpectrogramLayer::getPropertyType(const PropertyName &name) const {