diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-11 18:21:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-11 18:21:37 +0000 |
commit | 5182f0770cca50cbb7c8fe419b2e64af02525553 (patch) | |
tree | d83afeadcc8ab51bcdae2cb993f2f8a60100e9c2 /gtk2_ardour/midi_region_view.h | |
parent | fd3219bf29415006d6680fc5cf2dac97c35972bc (diff) |
add a first hack at a step edit cursor (to be changed); add program+bank stubs (non-functional for the foreseeable future); fix up step edit changes propagating across all MIDI tracks; make program change "flags" change height along with track
git-svn-id: svn://localhost/ardour2/branches/3.0@7598 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index 1f77cf3741..f18f3bce02 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -46,6 +46,12 @@ #include "canvas-program-change.h" #include "canvas-sysex.h" +namespace Gnome { + namespace Canvas { + class Pixbuf; + } +}; + namespace ARDOUR { class MidiRegion; class MidiModel; @@ -103,6 +109,10 @@ class MidiRegionView : public RegionView void set_frame_color(); void color_handler (); + + void show_step_edit_cursor (Evoral::MusicalTime pos); + void move_step_edit_cursor (Evoral::MusicalTime pos); + void hide_step_edit_cursor (); void redisplay_model(); @@ -363,6 +373,7 @@ class MidiRegionView : public RegionView double _last_x; double _last_y; ArdourCanvas::SimpleRect* _drag_rect; + ArdourCanvas::Pixbuf* _step_edit_cursor; MouseState _mouse_state; int _pressed_button; |