summaryrefslogtreecommitdiff
path: root/gtk2_ardour/piano_roll_header.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-20 02:54:23 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-20 02:54:23 +0000
commit5de9a8f38b0e18317b2b23c5b8698d0d29eba12b (patch)
tree2068d91f2e1af148386e855cee397d332709f4c6 /gtk2_ardour/piano_roll_header.h
parentc2a93a9b3855f85830a715757b8c131113bc9a3e (diff)
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
Diffstat (limited to 'gtk2_ardour/piano_roll_header.h')
-rw-r--r--gtk2_ardour/piano_roll_header.h4
1 files changed, 4 insertions, 0 deletions
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<void,uint8_t> SetNoteSelection;
sigc::signal<void,uint8_t> AddNoteSelection;
sigc::signal<void,uint8_t> ToggleNoteSelection;
sigc::signal<void,uint8_t> ExtendNoteSelection;
@@ -107,6 +109,8 @@ private:
double _note_height;
double _black_note_width;
+
+ PublicEditor& editor() const;
};
#endif /* __ardour_piano_roll_header_h__ */