summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_cursors.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-12-05 04:11:08 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-12-05 04:11:08 +0000
commit7d1f1eeb20edc21d704cc69529e4e94dd7eabd39 (patch)
tree28641dd038b3e778f7edeb17d9df73fa3ee6cd3e /gtk2_ardour/editor_cursors.cc
parentf2c09c7a7a195bcd4cf6e095b3c380e803b5a058 (diff)
stock icons, transport controls as proxies, make ActionManager::get_action() work
git-svn-id: svn://localhost/trunk/ardour2@165 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_cursors.cc')
-rw-r--r--gtk2_ardour/editor_cursors.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_cursors.cc b/gtk2_ardour/editor_cursors.cc
index c6551095c8..02d277b8e5 100644
--- a/gtk2_ardour/editor_cursors.cc
+++ b/gtk2_ardour/editor_cursors.cc
@@ -83,14 +83,21 @@ Editor::Cursor::set_position (jack_nframes_t frame)
points.front().set_x (new_pos);
points.back().set_x (new_pos);
+
+ canvas_item.property_points() = points;
+
+ ArdourCanvas::Points p = canvas_item.property_points();
cerr << "new cursor points = "
<< points.front().get_x() << ',' << points.front().get_y()
<< " .. "
<< points.back().get_x() << ',' << points.back().get_y()
+ << " vs. " << endl
+ << p.front().get_x() << ',' << p.front().get_y()
+ << " .. "
+ << p.back().get_x() << ',' << p.back().get_y()
<< endl;
- canvas_item.property_points() = points;
}
canvas_item.raise_to_top();