diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-10-12 22:30:25 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-10-12 22:30:25 +0000 |
commit | df5cf878ce791175a67f35df0bac5958b8425b1b (patch) | |
tree | b2b49429cf5d380ebabf4e13503780f8e5afe20e /gtk2_ardour/keyeditor.h | |
parent | 7dcc66a7e5e68d69bda04fc6a7462d3f2140f6d5 (diff) |
fixup keybinding editor binding action; restore some menu items lost in the trunk merge; no search in processor (redirect) boxes
git-svn-id: svn://localhost/ardour2/trunk@2548 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyeditor.h')
-rw-r--r-- | gtk2_ardour/keyeditor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/keyeditor.h b/gtk2_ardour/keyeditor.h index b200adabf4..9fd129ca31 100644 --- a/gtk2_ardour/keyeditor.h +++ b/gtk2_ardour/keyeditor.h @@ -18,6 +18,7 @@ class KeyEditor : public ArdourDialog protected: void on_show (); void on_unmap (); + bool on_key_press_event (GdkEventKey*); bool on_key_release_event (GdkEventKey*); private: @@ -26,10 +27,12 @@ class KeyEditor : public ArdourDialog add (action); add (binding); add (path); + add (bindable); } Gtk::TreeModelColumn<Glib::ustring> action; Gtk::TreeModelColumn<std::string> binding; Gtk::TreeModelColumn<std::string> path; + Gtk::TreeModelColumn<bool> bindable; }; Gtk::ScrolledWindow scroller; @@ -37,6 +40,9 @@ class KeyEditor : public ArdourDialog Glib::RefPtr<Gtk::TreeStore> model; KeyEditorColumns columns; + bool can_bind; + guint last_state; + void action_selected (); void populate (); }; |