initial (incomplete) framework for DiskIOPoint manipulation
[ardour.git] / gtk2_ardour / streamview.cc
index bf14eaf2e29f1f6f8a6d9f05978c324b9c2133bf..f13826e47b34e983b2690f3b1ab1e0b1f09377d3 100644 (file)
@@ -45,7 +45,7 @@
 #include "ui_config.h"
 #include "utils.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace ARDOUR;
@@ -77,7 +77,6 @@ StreamView::StreamView (RouteTimeAxisView& tv, ArdourCanvas::Container* canvas_g
        canvas_rect->Event.connect (sigc::bind (sigc::mem_fun (_trackview.editor(), &PublicEditor::canvas_stream_view_event), canvas_rect, &_trackview));
 
        if (_trackview.is_track()) {
-               _trackview.track()->DiskstreamChanged.connect (*this, invalidator (*this), boost::bind (&StreamView::diskstream_changed, this), gui_context());
                _trackview.track()->rec_enable_control()->Changed.connect (*this, invalidator (*this), boost::bind (&StreamView::rec_enable_changed, this), gui_context());
 
                _trackview.session()->TransportStateChange.connect (*this, invalidator (*this), boost::bind (&StreamView::transport_changed, this), gui_context());
@@ -297,7 +296,7 @@ StreamView::playlist_layered (boost::weak_ptr<Track> wtr)
        if (_layer_display == Stacked) {
                update_contents_height ();
                /* tricky. playlist_changed() does this as well, and its really inefficient. */
-               //update_coverage_frames ();
+               update_coverage_frames ();
        } else {
                /* layering has probably been modified. reflect this in the canvas. */
                layer_regions();
@@ -499,7 +498,7 @@ StreamView::num_selected_regionviews () const
        uint32_t cnt = 0;
 
        for (list<RegionView*>::const_iterator i = region_views.begin(); i != region_views.end(); ++i) {
-               if ((*i)->get_selected()) {
+               if ((*i)->selected()) {
                        ++cnt;
                }
        }
@@ -518,7 +517,7 @@ void
 StreamView::foreach_selected_regionview (sigc::slot<void,RegionView*> slot)
 {
        for (list<RegionView*>::iterator i = region_views.begin(); i != region_views.end(); ++i) {
-               if ((*i)->get_selected()) {
+               if ((*i)->selected()) {
                        slot (*i);
                }
        }