mostly editor.cc & editor_mouse.cc for Gdk::Cursor, Gnome::Canvas::Item

git-svn-id: svn://localhost/trunk/ardour2@73 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Nick Mainsbridge 2005-10-28 22:19:45 +00:00
parent df065d1414
commit 0e2de804f2
9 changed files with 350 additions and 356 deletions

View file

@ -49,8 +49,7 @@ Editor::kbd_driver (sigc::slot<void,GdkEvent*> theslot, bool use_track_canvas, b
selection->set (entered_regionview);
}
gnome_canvas_window_to_world (GNOME_CANVAS(track_canvas), x, y, &dx, &dy);
track_canvas.c2w(x, y, dx, dy);
ev.type = GDK_BUTTON_PRESS;
ev.button.x = dx;
ev.button.y = dy;