diff options
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r-- | gtk2_ardour/selection.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h index aa9510beed..c9f5eddb4f 100644 --- a/gtk2_ardour/selection.h +++ b/gtk2_ardour/selection.h @@ -107,6 +107,11 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList void block_tracks_changed (bool); void clear (); + + /** check if all selections are empty + * @param internal_selection also check object internals (e.g midi notes, automation points), when false only check objects. + * @return true if nothing is selected. + */ bool empty (bool internal_selection = false); void dump_region_layers(); |