persistent waveform shape setting.
[ardour.git] / gtk2_ardour / ardour_dialog.h
index 1008f63000fe1a4a9d5eba86c1c00c248cae65e6..d994c0a6d110ce37fa23de8b4df6fc574a444579 100644 (file)
 
 #include "ardour/session_handle.h"
 
+namespace WM {
+       class ProxyTemporary;
+}
+
 /*
  * This virtual parent class is so that each dialog box uses the
  * same mechanism to declare its closing. It shares a common
@@ -40,12 +44,13 @@ class ArdourDialog : public Gtk::Dialog, public ARDOUR::SessionHandlePtr
 
        bool on_enter_notify_event (GdkEventCrossing*);
        bool on_leave_notify_event (GdkEventCrossing*);
+        bool on_delete_event (GdkEventAny*);
+        bool on_key_press_event (GdkEventKey*);
        void on_unmap ();
        void on_show ();
 
-       static void close_all_dialogs () { CloseAllDialogs(); }
-
   private:
+        WM::ProxyTemporary* proxy;
         bool _splash_pushed;
        void init ();