diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-25 21:19:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-25 21:19:55 +0000 |
commit | 0bbc9144cca18495775cdc8b2050e5141bfcdc12 (patch) | |
tree | 8cdc26e873e77e609d493acccd32816296757d8d /gtk2_ardour/midi_channel_selector.h | |
parent | 6fa58df7918b3a9fea715bf6c917c144af540f3c (diff) |
(1) extend region if needed BEFORE adding step-edit note, so that the new note ends up in the selection (2) hide the channel selector that shows up on note-right-click after its clicked anywhere, not just if the note(s) channel(s) are changed
git-svn-id: svn://localhost/ardour2/branches/3.0@7492 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_channel_selector.h')
-rw-r--r-- | gtk2_ardour/midi_channel_selector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_channel_selector.h b/gtk2_ardour/midi_channel_selector.h index 42c3d55045..2777282e2c 100644 --- a/gtk2_ardour/midi_channel_selector.h +++ b/gtk2_ardour/midi_channel_selector.h @@ -37,6 +37,7 @@ public: virtual ~MidiChannelSelector() = 0; sigc::signal<void, ARDOUR::ChannelMode, uint16_t> mode_changed; + sigc::signal<void> clicked; void set_channel_colors(const uint32_t new_channel_colors[16]); void set_default_channel_color(); @@ -46,6 +47,7 @@ protected: Gtk::Label _button_labels[4][4]; Gtk::ToggleButton _buttons[4][4]; int _recursion_counter; + bool was_clicked (GdkEventButton*); }; class SingleMidiChannelSelector : public MidiChannelSelector |