Remove ardour_ui.h header inclusion
[ardour.git] / gtk2_ardour / au_pluginui.h
index 424d81e901ed18e833e6116e3854d80d31c801e5..41b3116e515955038f0d6673fc35686d23b5aa3d 100644 (file)
 #undef require
 #undef verify
 
+#ifdef YES
+#undef YES
+#endif
+#ifdef NO
+#undef NO
+#endif
+
 #include <gtkmm/box.h>
+#include <gtkmm/eventbox.h>
 #include <gtkmm/combobox.h>
 #include <gtkmm/button.h>
 #include <gtkmm/label.h>
@@ -74,8 +82,11 @@ 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();
        void forward_key_event (GdkEventKey*);
 
        bool on_window_show (const std::string& /*title*/);
@@ -90,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;