From 5de9a8f38b0e18317b2b23c5b8698d0d29eba12b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 20 Jan 2012 02:54:23 +0000 Subject: make mouse range mode do something interesting when in internal/note edit mode. not entirely finished because the usual modifiers to add/extend the selection don't work correctly. note that this works both on the scroomer (where the modifiers do work correctly) and in the track (where they do not) git-svn-id: svn://localhost/ardour2/branches/3.0@11273 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/piano_roll_header.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gtk2_ardour/piano_roll_header.h') diff --git a/gtk2_ardour/piano_roll_header.h b/gtk2_ardour/piano_roll_header.h index 7f469aebce..bb87d36e4d 100644 --- a/gtk2_ardour/piano_roll_header.h +++ b/gtk2_ardour/piano_roll_header.h @@ -30,6 +30,7 @@ namespace ARDOUR { class MidiTimeAxisView; class MidiStreamView; +class PublicEditor; class PianoRollHeader : public Gtk::DrawingArea { public: @@ -58,6 +59,7 @@ public: double b; }; + sigc::signal SetNoteSelection; sigc::signal AddNoteSelection; sigc::signal ToggleNoteSelection; sigc::signal ExtendNoteSelection; @@ -107,6 +109,8 @@ private: double _note_height; double _black_note_width; + + PublicEditor& editor() const; }; #endif /* __ardour_piano_roll_header_h__ */ -- cgit v1.2.3