mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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
This commit is contained in:
parent
fd3219bf29
commit
5182f0770c
11 changed files with 156 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue