diff options
author | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-27 20:07:16 +0000 |
---|---|---|
committer | Karsten Wiese <fzuuzf@googlemail.com> | 2005-11-27 20:07:16 +0000 |
commit | aaa44a37aaf585b9bcd9268a9551a005e6269bdb (patch) | |
tree | 345310d08c2e948780b52c67efecdd423c31d9a7 /gtk2_ardour/editor_cursors.cc | |
parent | c74f6577e2466d24a74da3ba6a48e2a1957769c8 (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/editor_cursors.cc')
-rw-r--r-- | gtk2_ardour/editor_cursors.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk2_ardour/editor_cursors.cc b/gtk2_ardour/editor_cursors.cc index 3fd0a561e7..c868530476 100644 --- a/gtk2_ardour/editor_cursors.cc +++ b/gtk2_ardour/editor_cursors.cc @@ -44,14 +44,14 @@ Editor::Cursor::Cursor (Editor& ed, const string& color, bool (Editor::*callbck) // cerr << "set cursor points, nc = " << points->num_points << endl; - canvas_item.property_points().set_value(points); - canvas_item.property_fill_color().set_value(color.c_str()); - canvas_item.property_width_pixels().set_value(1); - canvas_item.property_first_arrowhead().set_value(TRUE); - canvas_item.property_last_arrowhead().set_value(TRUE); - canvas_item.property_arrow_shape_a().set_value(11.0); - canvas_item.property_arrow_shape_b().set_value(0.0); - canvas_item.property_arrow_shape_c().set_value(9.0); + canvas_item.property_points() = points; + canvas_item.property_fill_color() = color; //.c_str()); + canvas_item.property_width_pixels() = 1; + canvas_item.property_first_arrowhead() = TRUE; + canvas_item.property_last_arrowhead() = TRUE; + canvas_item.property_arrow_shape_a() = 11.0; + canvas_item.property_arrow_shape_b() = 0.0; + canvas_item.property_arrow_shape_c() = 9.0; // cerr << "cursor line @ " << canvas_item << endl; @@ -91,7 +91,7 @@ Editor::Cursor::set_position (jack_nframes_t frame) points.back().set_x(new_pos); // cerr << "set cursor2 al points, nc = " << points->num_points << endl; - canvas_item.property_points().set_value(points); + canvas_item.property_points() = points; canvas_item.raise_to_top(); } @@ -101,7 +101,7 @@ Editor::Cursor::set_length (double units) length = units; points.back().set_x (points.front().get_y() + length); // cerr << "set cursor3 al points, nc = " << points->num_points << endl; - canvas_item.property_points().set_value(points); + canvas_item.property_points() = points; } void @@ -110,5 +110,5 @@ Editor::Cursor::set_y_axis (double position) points.front().set_y (position); points.back().set_x (position + length); // cerr << "set cursor4 al points, nc = " << points->num_points << endl; - canvas_item.property_points().set_value(points); + canvas_item.property_points() = points; } |