do not reset session for MonitorSection just because monitor out was removed
[ardour.git] / gtk2_ardour / piano_roll_header.h
index 7f469aebcefe20b49ff7defb4f1a1846c6d9650f..2dac6f42174d9caa16ebdc9a1aafc9a8602259b4 100644 (file)
@@ -30,6 +30,7 @@ namespace ARDOUR {
 
 class MidiTimeAxisView;
 class MidiStreamView;
+class PublicEditor;
 
 class PianoRollHeader : public Gtk::DrawingArea {
 public:
@@ -47,6 +48,7 @@ public:
        void on_size_allocate(Gtk::Allocation& a);
 
        void note_range_changed();
+       void set_note_highlight (uint8_t note);
 
        struct Color {
                Color();
@@ -58,6 +60,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 +110,8 @@ private:
 
        double _note_height;
        double _black_note_width;
+
+       PublicEditor& editor() const;
 };
 
 #endif /* __ardour_piano_roll_header_h__ */