diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-20 22:36:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-20 22:36:35 +0000 |
commit | b2bf4eee3d9ca63a34415c75e877b8c97d6b5f13 (patch) | |
tree | c2e3aeec94abfbbd976609bd50559c7a5aca9640 /gtk2_ardour/plugin_ui.h | |
parent | c2e491b8fcadba0da7ab8415a6357cfba88a431d (diff) |
2.X commits up to and including 7519
git-svn-id: svn://localhost/ardour2/branches/3.0@7661 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/plugin_ui.h')
-rw-r--r-- | gtk2_ardour/plugin_ui.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h index bfd23fab6b..e53e08530b 100644 --- a/gtk2_ardour/plugin_ui.h +++ b/gtk2_ardour/plugin_ui.h @@ -93,6 +93,11 @@ class PlugUIBase : public virtual sigc::trackable virtual bool on_window_show(const Glib::ustring& /*title*/) { return true; } virtual void on_window_hide() {} + virtual void forward_key_event (GdkEventKey*) {} + virtual bool non_gtk_gui() const { return false; } + + sigc::signal<void,bool> KeyboardFocused; + protected: boost::shared_ptr<ARDOUR::PluginInsert> insert; boost::shared_ptr<ARDOUR::Plugin> plugin; @@ -268,8 +273,9 @@ class PluginUIWindow : public Gtk::Window PBD::ScopedConnection death_connection; Gtk::Window* parent; Gtk::VBox vbox; - bool non_gtk_gui; bool was_visible; + bool _keyboard_focused; + void keyboard_focused (bool yn); void app_activated (bool); void plugin_going_away (); |