mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW
git-svn-id: svn://localhost/ardour2/branches/3.0@5745 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
77364b0e25
commit
aefcce1c99
24 changed files with 147 additions and 68 deletions
|
|
@ -18,5 +18,22 @@ CanvasNote::on_event(GdkEvent* ev)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
CanvasNote::move_event(double dx, double dy)
|
||||
{
|
||||
property_x1() = property_x1() + dx;
|
||||
property_y1() = property_y1() + dy;
|
||||
property_x2() = property_x2() + dx;
|
||||
property_y2() = property_y2() + dy;
|
||||
|
||||
if (_text) {
|
||||
_text->hide();
|
||||
_text->property_x() = _text->property_x() + dx;
|
||||
_text->property_y() = _text->property_y() + dy;
|
||||
_text->show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} // namespace Gnome
|
||||
} // namespace Canvas
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue