summaryrefslogtreecommitdiff
path: root/gtk2_ardour/crossfade_view.cc
diff options
context:
space:
mode:
authorKarsten Wiese <fzuuzf@googlemail.com>2005-11-27 20:07:16 +0000
committerKarsten Wiese <fzuuzf@googlemail.com>2005-11-27 20:07:16 +0000
commitaaa44a37aaf585b9bcd9268a9551a005e6269bdb (patch)
tree345310d08c2e948780b52c67efecdd423c31d9a7 /gtk2_ardour/crossfade_view.cc
parentc74f6577e2466d24a74da3ba6a48e2a1957769c8 (diff)
convert property_foo().set_value(bar) to property_foo() = bar
git-svn-id: svn://localhost/trunk/ardour2@131 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/crossfade_view.cc')
-rw-r--r--gtk2_ardour/crossfade_view.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/crossfade_view.cc b/gtk2_ardour/crossfade_view.cc
index f81e95a4a9..e27b055bab 100644
--- a/gtk2_ardour/crossfade_view.cc
+++ b/gtk2_ardour/crossfade_view.cc
@@ -60,12 +60,12 @@ CrossfadeView::CrossfadeView (ArdourCanvas::Group *parent,
_visible = true;
fade_in = new Line (*group);
- fade_in->property_fill_color_rgba().set_value(color_map[cCrossfadeLine]);
- fade_in->property_width_pixels().set_value(1);
+ fade_in->property_fill_color_rgba() = color_map[cCrossfadeLine];
+ fade_in->property_width_pixels() = 1;
fade_out = new Line (*group);
- fade_out->property_fill_color_rgba().set_value(color_map[cCrossfadeLine]);
- fade_out->property_width_pixels().set_value(1);
+ fade_out->property_fill_color_rgba() = color_map[cCrossfadeLine];
+ fade_out->property_width_pixels() = 1;
set_height (get_time_axis_view().height);
@@ -191,7 +191,7 @@ CrossfadeView::redraw_curves ()
p.set_x(i);
p.set_y(2.0 + h - (h * vec[i]));
}
- fade_in->property_points().set_value(*points);
+ fade_in->property_points() = *points;
crossfade.fade_out().get_vector (0, crossfade.length(), vec, npoints);
for (int i = 0, pci = 0; i < npoints; ++i) {
@@ -199,7 +199,7 @@ CrossfadeView::redraw_curves ()
p.set_x(i);
p.set_y(2.0 + h - (h * vec[i]));
}
- fade_out->property_points().set_value(*points);
+ fade_out->property_points() = *points;
delete [] vec;