X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fau_pluginui.h;h=41b3116e515955038f0d6673fc35686d23b5aa3d;hb=c912bd61ae49cc79158f3322439c29b27ef51de8;hp=71c81dfde360070112db9df8af6a0111a0e7fdca;hpb=a0eeb808850f9b39bd1b5526d70634a75a0a9701;p=ardour.git diff --git a/gtk2_ardour/au_pluginui.h b/gtk2_ardour/au_pluginui.h index 71c81dfde3..41b3116e51 100644 --- a/gtk2_ardour/au_pluginui.h +++ b/gtk2_ardour/au_pluginui.h @@ -34,7 +34,15 @@ #undef require #undef verify +#ifdef YES +#undef YES +#endif +#ifdef NO +#undef NO +#endif + #include +#include #include #include #include @@ -74,6 +82,8 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox bool non_gtk_gui() const { return true; } void lower_box_realized (); + bool lower_box_visibility_notify (GdkEventVisibility*); + void cocoa_view_resized (); void on_realize (); void grab_focus(); @@ -91,7 +101,7 @@ class AUPluginUI : public PlugUIBase, public Gtk::VBox int prefwidth; Gtk::HBox top_box; - Gtk::HBox low_box; + Gtk::EventBox low_box; Gtk::VBox vpacker; Gtk::Label automation_mode_label; Gtk::ComboBoxText automation_mode_selector;