mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
get velocity editing working in both the cue editor and MIDI region views
Quite a bit of hairy coordinate system stuff in here that ought to be commented more clearly
This commit is contained in:
parent
ee305a7169
commit
afa15a0061
7 changed files with 65 additions and 24 deletions
|
|
@ -66,6 +66,8 @@ class MidiCueEditor : public CueEditor
|
|||
Temporal::Beats get_draw_length_as_beats (bool& success, Temporal::timepos_t const & position) const;
|
||||
|
||||
bool canvas_note_event (GdkEvent* event, ArdourCanvas::Item*);
|
||||
bool canvas_velocity_base_event (GdkEvent* event, ArdourCanvas::Item*);
|
||||
bool canvas_velocity_event (GdkEvent* event, ArdourCanvas::Item*);
|
||||
|
||||
int32_t get_grid_beat_divisions (Editing::GridType gt) const { return 1; }
|
||||
int32_t get_grid_music_divisions (Editing::GridType gt, uint32_t event_state) const { return 1; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue