diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2014-12-12 17:16:50 -0600 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-12-18 20:22:48 -0500 |
commit | 7ab8a11fb53782dfcf67b652dc65d8d177b0a1b6 (patch) | |
tree | 15975093e1a36db99e29ceca0f9f22fdd662cbb2 /gtk2_ardour/selection.h | |
parent | cebf191cba74dea1c6630aa487a2a434a85ceb40 (diff) |
Enforce internal/external selection exclusivity.
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r-- | gtk2_ardour/selection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h index 3c14eb9a09..1701d69399 100644 --- a/gtk2_ardour/selection.h +++ b/gtk2_ardour/selection.h @@ -198,6 +198,8 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList * The Track selection isn't affected when ranges or objects are added. */ + void clear_all() { clear_time(); clear_tracks(); clear_objects(); } + void clear_time(); //clears any time selection ( i.e. Range ) void clear_tracks (); //clears the track header selections void clear_objects(); //clears the items listed below @@ -219,6 +221,8 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList XMLNode& get_state () const; int set_state (XMLNode const &, int); + static PBD::Signal0<void> ClearMidiNoteSelection; + private: PublicEditor const * editor; uint32_t next_time_id; |