mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
new fade in/out handle cursors from chrisg (maybe to be improved); show MIDI note velocities; try to show note length while dragging notes (in progress); some debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@7271 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
fe85a922ec
commit
1ee298a235
8 changed files with 89 additions and 10 deletions
|
|
@ -1590,7 +1590,7 @@ NoteResizeDrag::NoteResizeDrag (Editor* e, ArdourCanvas::Item* i)
|
|||
}
|
||||
|
||||
void
|
||||
NoteResizeDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
|
||||
NoteResizeDrag::start_grab (GdkEvent* event, Gdk::Cursor* /*ignored*/)
|
||||
{
|
||||
Gdk::Cursor* cursor;
|
||||
ArdourCanvas::CanvasNote* cnote = dynamic_cast<ArdourCanvas::CanvasNote*>(_item);
|
||||
|
|
@ -1609,7 +1609,6 @@ NoteResizeDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
|
|||
cursor = _editor->right_side_trim_cursor;
|
||||
at_front = false;
|
||||
}
|
||||
cerr << "Set cursor for note resize\n";
|
||||
|
||||
_item->grab(GDK_POINTER_MOTION_MASK | GDK_BUTTON_RELEASE_MASK, *cursor, event->motion.time);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue