fix from 2.X for automation line clear command using the wrong object in the memento...
[ardour.git] / gtk2_ardour / audio_region_editor.h
index f4c99917d8606c4ca13985fefad0b894a7bec5c8..e3bb3b9a6b1d55349bee6460f6a31dc9b8841044 100644 (file)
@@ -35,7 +35,8 @@
 #include <gtkmm/spinbutton.h>
 
 #include <libgnomecanvas/libgnomecanvas.h>
-#include <sigc++/signal.h>
+
+#include "pbd/signals.h"
 
 #include "audio_clock.h"
 #include "ardour_dialog.h"
@@ -62,16 +63,9 @@ class AudioRegionEditor : public RegionEditor
 
        Gtk::Label name_label;
        Gtk::Entry name_entry;
-       Gtk::HBox  name_hbox;
-
-       Gtk::HBox  top_row_hbox;
-       Gtk::HBox  top_row_button_hbox;
-
-       Gtk::ToggleButton  audition_button;
-
-       Gtk::HBox  lower_hbox;
+       Gtk::ToggleButton audition_button;
 
-       Gtk::Table time_table;
+       Gtk::Table _table;
 
        Gtk::Label position_label;
        Gtk::Label end_label;
@@ -90,12 +84,11 @@ class AudioRegionEditor : public RegionEditor
        Gtk::Adjustment gain_adjustment;
        Gtk::SpinButton gain_entry;
 
-       Gtk::HSeparator sep3;
-       Gtk::VSeparator sep1;
-       Gtk::VSeparator sep2;
+       PBD::ScopedConnection state_connection;
+       PBD::ScopedConnection audition_connection;
 
-       void region_changed (ARDOUR::Change);
-       void bounds_changed (ARDOUR::Change);
+       void region_changed (const PBD::PropertyChange&);
+       void bounds_changed (const PBD::PropertyChange&);
        void name_changed ();
        void gain_changed ();
 
@@ -117,6 +110,7 @@ class AudioRegionEditor : public RegionEditor
        gint breleased (GdkEventButton* ev, Gtk::SpinButton* but, void (AudioRegionEditor::*pmf)());
 
        bool on_delete_event (GdkEventAny *);
+       void handle_response (int);
 
        bool spin_arrow_grab;
 };