Mercurial > hg > svgui
diff view/ViewManager.h @ 731:f831ca41d4a5 tonioni
Add selectionChangedByUser for selection changes prompted by interactivity rather than by undo/redo
author | Chris Cannam |
---|---|
date | Wed, 05 Mar 2014 09:35:32 +0000 |
parents | 084fd76deb89 |
children | 56ba2b03508e |
line wrap: on
line diff
--- a/view/ViewManager.h Tue Mar 04 16:45:39 2014 +0000 +++ b/view/ViewManager.h Wed Mar 05 09:35:32 2014 +0000 @@ -214,9 +214,14 @@ /** Emitted when the output levels change. Values in range 0.0 -> 1.0. */ void outputLevelsChanged(float left, float right); - /** Emitted when the selection has changed. */ + /** Emitted whenever the selection has changed. */ void selectionChanged(); + /** Emitted when the selection has been changed through an + * explicit selection-editing action. *Not* emitted when the + * selection has been changed through undo or redo. */ + void selectionChangedByUser(); + /** Emitted when the in-progress (rubberbanding) selection has changed. */ void inProgressSelectionChanged();