diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-16 18:18:13 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-16 18:18:13 +0000 |
commit | 739030372838d0eb71481ed8a4750fe9df6f2945 (patch) | |
tree | 39d33c6e0112bab5e9c53d0545e18d3f0ca3c079 /gtk2_ardour/midi_channel_selector.h | |
parent | 29dd7bbac783b3f28527c7aa5a7a1fbe94e84e08 (diff) |
Make MIDI channel selector button colours more distinct (#3772).
git-svn-id: svn://localhost/ardour2/branches/3.0@9524 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_channel_selector.h')
-rw-r--r-- | gtk2_ardour/midi_channel_selector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/midi_channel_selector.h b/gtk2_ardour/midi_channel_selector.h index 2777282e2c..de20b4db8e 100644 --- a/gtk2_ardour/midi_channel_selector.h +++ b/gtk2_ardour/midi_channel_selector.h @@ -25,8 +25,8 @@ #include "sigc++/trackable.h" #include "gtkmm/table.h" #include "gtkmm/button.h" -#include "gtkmm/togglebutton.h" #include "gtkmm/label.h" +#include "gtkmm2ext/stateful_button.h" #include "ardour/types.h" @@ -45,7 +45,7 @@ public: protected: virtual void button_toggled(Gtk::ToggleButton* button, uint8_t button_nr) = 0; Gtk::Label _button_labels[4][4]; - Gtk::ToggleButton _buttons[4][4]; + Gtkmm2ext::StatefulToggleButton _buttons[4][4]; int _recursion_counter; bool was_clicked (GdkEventButton*); }; |