region list patch #2 from chris g, slightly reworked by me; sv_se po changes, possibl...
[ardour.git] / gtk2_ardour / ardour_dialog.h
index 069768c1436b245e66cc69f6cf15f9bfadd77d61..b2c531b0d03d5ca873f0896b1c32e7d330ef43d0 100644 (file)
@@ -37,11 +37,13 @@ class ArdourDialog : public Gtk::Dialog
 {
   public:
        ArdourDialog (std::string title, bool modal = false, bool use_separator = false);
+       ArdourDialog (Gtk::Window& parent, std::string title, bool modal = false, bool use_separator = false);  
        ~ArdourDialog();
 
        bool on_enter_notify_event (GdkEventCrossing*);
        bool on_leave_notify_event (GdkEventCrossing*);
        void on_unmap ();
+       void on_show ();
 
        ARDOUR::Session *session;
 
@@ -52,6 +54,9 @@ class ArdourDialog : public Gtk::Dialog
        virtual void session_gone () {
                set_session (0);
        }
+
+  private:
+       void init ();
 };
 
 #endif // __ardour_dialog_h__