only the last step-edited note remains selected after each note addition; waf install...
[ardour.git] / gtk2_ardour / region_view.h
index d9ffc83c50e30220275d3378952ce3fa89517792..5421d7d6134d376630aeec47c7b7d95316461f00 100644 (file)
@@ -72,10 +72,10 @@ class RegionView : public TimeAxisViewItem
        bool set_position(nframes64_t pos, void* src, double* delta = 0);
        void fake_set_opaque (bool yn);
 
-       virtual void show_region_editor () {}
-       virtual void hide_region_editor();
+       virtual void show_region_editor ();
+       void hide_region_editor ();
 
-       virtual void region_changed (PBD::PropertyChange);
+       virtual void region_changed (const PBD::PropertyChange&);
 
        virtual GhostRegion* add_ghost (TimeAxisView&) = 0;
        void remove_ghost_in (TimeAxisView&);
@@ -83,10 +83,10 @@ class RegionView : public TimeAxisViewItem
 
        uint32_t get_fill_color ();
 
-       virtual void entered () {}
+       virtual void entered (bool) {}
        virtual void exited () {}
 
-       void enable_display(bool yn) { _enable_display = yn; }
+       virtual void enable_display(bool yn) { _enable_display = yn; }
        virtual void update_coverage_frames (LayerDisplay);
 
        static PBD::Signal1<void,RegionView*> RegionViewGoingAway;
@@ -104,7 +104,7 @@ class RegionView : public TimeAxisViewItem
                bool recording,
                TimeAxisViewItem::Visibility);
 
-    virtual void region_resized (PBD::PropertyChange);
+    virtual void region_resized (const PBD::PropertyChange&);
     virtual void region_muted ();
     void         region_locked ();
     void         region_opacity ();
@@ -135,11 +135,9 @@ class RegionView : public TimeAxisViewItem
     bool    valid; ///< see StreamView::redisplay_diskstream()
     bool    _enable_display; ///< see StreamView::redisplay_diskstream()
     double  _pixel_width;
-    double  _height;
     bool    in_destructor;
 
-    bool             wait_for_data;
-    PBD::ScopedConnection data_ready_connection;
+    bool wait_for_data;
 
     std::vector<GhostRegion*> ghosts;