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 0450d0c293eff91b1ae08275510b3094811b3871..e3bb3b9a6b1d55349bee6460f6a31dc9b8841044 100644 (file)
@@ -63,16 +63,9 @@ class AudioRegionEditor : public RegionEditor
 
        Gtk::Label name_label;
        Gtk::Entry name_entry;
-       Gtk::HBox  name_hbox;
+       Gtk::ToggleButton audition_button;
 
-       Gtk::HBox  top_row_hbox;
-       Gtk::HBox  top_row_button_hbox;
-
-       Gtk::ToggleButton  audition_button;
-
-       Gtk::HBox  lower_hbox;
-
-       Gtk::Table time_table;
+       Gtk::Table _table;
 
        Gtk::Label position_label;
        Gtk::Label end_label;
@@ -91,15 +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 ();
 
@@ -121,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;
 };