diff options
author | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-27 22:35:04 +0000 |
---|---|---|
committer | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-27 22:35:04 +0000 |
commit | 1184029638aea5fe6a53175d226371ec9214eb17 (patch) | |
tree | b378e0c4b9b5283353c5f0f6ec63f186dfc91fa7 /gtk2_ardour/marker_time_axis_view.cc | |
parent | 1f16781c75205b43ac193596d1449de343693a6f (diff) |
convert set_property("foo", bar) to property_foo() = bar
git-svn-id: svn://localhost/trunk/ardour2@133 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker_time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/marker_time_axis_view.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/marker_time_axis_view.cc b/gtk2_ardour/marker_time_axis_view.cc index c1374c4f96..53010300b1 100644 --- a/gtk2_ardour/marker_time_axis_view.cc +++ b/gtk2_ardour/marker_time_axis_view.cc @@ -57,12 +57,12 @@ MarkerTimeAxisView::MarkerTimeAxisView(MarkerTimeAxis& tv) canvas_group = new ArdourCanvas::Group (*_trackview.canvas_display); canvas_rect = new ArdourCanvas::SimpleRect (*canvas_group); - canvas_rect->set_property ("x1", 0.0); - canvas_rect->set_property ("y1", 0.0); - canvas_rect->set_property ("x2", 1000000.0); - canvas_rect->set_property ("y2", (double)20); - canvas_rect->set_property ("outline_color_rgba", color_map[cMarkerTrackOutline]); - canvas_rect->set_property ("fill_color_rgba", stream_base_color); + canvas_rect->property_x1() = 0.0; + canvas_rect->property_y1() = 0.0; + canvas_rect->property_x2() = 1000000.0; + canvas_rect->property_y2() = (double)20; + canvas_rect->property_outline_color_rgba() = color_map[cMarkerTrackOutline]; + canvas_rect->property_fill_color_rgba() = stream_base_color; canvas_rect->signal_event().connect (bind (mem_fun (_trackview.editor, &PublicEditor::canvas_marker_time_axis_view_event), canvas_rect, &_trackview)); @@ -142,8 +142,8 @@ MarkerTimeAxisView::set_height(gdouble h) int MarkerTimeAxisView::set_position(gdouble x, gdouble y) { - canvas_group->set_property ("x", x); - canvas_group->set_property ("y", y); + canvas_group->property_x() = x; + canvas_group->property_y() = y; return 0; } |