X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardour_window.h;h=7ae9c3dbce205b52ddbd472e232710293d7d61b6;hb=7d3ef2318338b4dc6f836dbdba34f56627633a6d;hp=3b8628d5a7b0d636d654f45b1743359975c18f7f;hpb=7c19d00544af0b114e35df0115e9de83e70261a2;p=ardour.git diff --git a/gtk2_ardour/ardour_window.h b/gtk2_ardour/ardour_window.h index 3b8628d5a7..7ae9c3dbce 100644 --- a/gtk2_ardour/ardour_window.h +++ b/gtk2_ardour/ardour_window.h @@ -27,6 +27,10 @@ #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 @@ -40,12 +44,15 @@ class ArdourWindow : public Gtk::Window, public ARDOUR::SessionHandlePtr, public ArdourWindow (Gtk::Window& parent, std::string title); ~ArdourWindow(); - bool on_enter_notify_event (GdkEventCrossing*); - bool on_leave_notify_event (GdkEventCrossing*); + 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: - void init (); + WM::ProxyTemporary* proxy; + void init (); }; #endif // __ardour_window_h__