a reverb is a reverb is a reverb
[ardour.git] / gtk2_ardour / ardour_window.h
index e113f724c870b2ccd4d27f78441617497b826845..a4c5aaa0e434ffb15282589ecd6dc141522baf79 100644 (file)
 
 #include "ardour/session_handle.h"
 
+namespace WM {
+       class ProxyTemporary;
+}
+
 /**
  * This virtual parent class is so that each window uses the
  * same mechanism to declare its closing. It shares a common
  */
 class ArdourWindow : public Gtk::Window, public ARDOUR::SessionHandlePtr, public Gtkmm2ext::VisibilityTracker
 {
-  public:
+public:
        ArdourWindow (std::string title);
        ArdourWindow (Gtk::Window& parent, std::string title);
-       ~ArdourWindow();
+       virtual ~ArdourWindow();
 
-       bool on_enter_notify_event (GdkEventCrossing*);
-       bool on_leave_notify_event (GdkEventCrossing*);
-        bool on_delete_event (GdkEventAny *);
-        bool on_key_press_event (GdkEventKey*);
+protected:
+       bool on_focus_in_event (GdkEventFocus*);
+       bool on_focus_out_event (GdkEventFocus*);
+       bool on_delete_event (GdkEventAny *);
+       bool on_key_press_event (GdkEventKey*);
        void on_unmap ();
 
-  private:
+private:
+       WM::ProxyTemporary* proxy;
        void init ();
 };