#include <list>
#include <cmath>
-#include <ardour/location.h>
+#include "ardour/location.h"
#include "enums.h"
#include "streamview.h"
#include "time_axis_view_item.h"
~MidiStreamView ();
void set_selected_regionviews (RegionSelection&);
- void get_selectables (jack_nframes_t start, jack_nframes_t end, list<Selectable* >&);
- void get_inverted_selectables (Selection&, list<Selectable* >& results);
+ void get_selectables (jack_nframes_t start, jack_nframes_t end, std::list<Selectable* >&);
+ void get_inverted_selectables (Selection&, std::list<Selectable* >& results);
enum VisibleNoteRange {
FullRange,
sigc::signal<void> NoteRangeChanged;
+ RegionView* create_region_view (boost::shared_ptr<ARDOUR::Region>, bool, bool);
+
private:
void setup_rec_box ();
void update_contents_height ();
void draw_note_lines();
- void apply_note_range(uint8_t lowest, uint8_t highest);
+ void apply_note_range(uint8_t lowest, uint8_t highest, bool to_region_views);
bool update_data_note_range(uint8_t min, uint8_t max);
+ void update_contents_metrics(boost::shared_ptr<ARDOUR::Region> r);
void color_handler ();
uint8_t _highest_note; ///< currently visible
uint8_t _data_note_min; ///< in data
uint8_t _data_note_max; ///< in data
- ArdourCanvas::Lineset* _note_lines;
+ ArdourCanvas::LineSet* _note_lines;
};
#endif /* __ardour_midi_streamview_h__ */