Mercurial > hg > svgui
diff view/ViewManager.h @ 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 | e74b56f07c73 |
children | e1a9e478b7f2 |
line wrap: on
line diff
--- a/view/ViewManager.h Thu Nov 22 14:27:41 2007 +0000 +++ b/view/ViewManager.h Fri Nov 23 16:48:23 2007 +0000 @@ -66,18 +66,6 @@ void setPlaybackFrame(unsigned long frame); // Only meaningful in solo mode, and used for optional alignment feature - - //!!! We probably don't want to do this. It's probably better to - // always have playback frame aligned against the reference model, - // and have the ViewManager know which is the reference model. - // That way the ViewManager can assume that all Views report in - // reference model timeline, and it can convert the playback frame - // received from the play source (which always operates in literal - // audio sample frames, i.e. playback model timeline) to the - // reference timeline itself so the view never has to worry about - // the difference between playback and reference model. Of course - // that does mean the ViewManager needs to know about both. - Model *getPlaybackModel() const; void setPlaybackModel(Model *); @@ -113,6 +101,7 @@ SelectMode, EditMode, DrawMode, + EraseMode, MeasureMode }; ToolMode getToolMode() const { return m_toolMode; }