summaryrefslogtreecommitdiff
path: root/gtk2_ardour/au_pluginui.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-04-09 21:05:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-04-09 21:05:58 +0000
commitedab5bb5239573559aaccb7ce9afffac5435f496 (patch)
tree9d1336244e6b33cd4cbb792aab3581f2263d4396 /gtk2_ardour/au_pluginui.h
parent5a484d8f361c2ca2bb9e6efd460f4879176855eb (diff)
fixes for AU plugin GUIs, including the "hidden GUI shows up when app becomes active/focus again" bug
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3241 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/au_pluginui.h')
-rw-r--r--gtk2_ardour/au_pluginui.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/au_pluginui.h b/gtk2_ardour/au_pluginui.h
index 93a446b7a2..2f7e5a1f90 100644
--- a/gtk2_ardour/au_pluginui.h
+++ b/gtk2_ardour/au_pluginui.h
@@ -39,9 +39,9 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox
bool start_updating(GdkEventAny*);
bool stop_updating(GdkEventAny*);
- virtual void activate ();
- virtual void deactivate ();
-
+ void activate ();
+ void deactivate ();
+
void lower_box_realized ();
void on_realize ();
void on_show ();
@@ -56,7 +56,7 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox
boost::shared_ptr<ARDOUR::AUPlugin> au;
int prefheight;
int prefwidth;
-
+
Gtk::HBox top_box;
Gtk::EventBox low_box;
Gtk::VBox vpacker;
@@ -80,6 +80,7 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox
WindowRef carbon_window;
EventHandlerRef carbon_event_handler;
bool _activating_from_app;
+ NSView* packView;
bool test_cocoa_view_support ();
bool test_carbon_view_support ();