mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
freehand line drawing: automation & velocity share the same basic code
This commit is contained in:
parent
2c48aabe08
commit
df52c39ce0
9 changed files with 235 additions and 107 deletions
|
|
@ -693,10 +693,15 @@ Editor::canvas_control_point_event (GdkEvent *event, ArdourCanvas::Item* item, C
|
|||
bool
|
||||
Editor::canvas_velocity_event (GdkEvent *event, ArdourCanvas::Item* item)
|
||||
{
|
||||
// std::cerr << "Velocity event: " << Gtkmm2ext::event_type_string (event->type) << std::endl;
|
||||
return typed_event (item, event, VelocityItem);
|
||||
}
|
||||
|
||||
bool
|
||||
Editor::canvas_velocity_base_event (GdkEvent *event, ArdourCanvas::Item* item)
|
||||
{
|
||||
return typed_event (item, event, VelocityBaseItem);
|
||||
}
|
||||
|
||||
bool
|
||||
Editor::canvas_line_event (GdkEvent *event, ArdourCanvas::Item* item, AutomationLine* al)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue