![]() |
Ardour
8.12
|
#include <midi_streamview.h>
Public Types | |
enum | VisibleNoteRange { FullRange , ContentsRange } |
![]() | |
enum | ColorTarget { RegionColor , StreamBaseColor } |
Public Attributes | |
Gtk::Adjustment | note_range_adjustment |
sigc::signal< void > | NoteRangeChanged |
![]() | |
sigc::signal< void, RegionView * > | RegionViewAdded |
sigc::signal< void > | RegionViewRemoved |
sigc::signal< void > | ContentsHeightChanged |
Protected Member Functions | |
void | setup_rec_box () |
void | update_rec_box () |
![]() | |
StreamView (RouteTimeAxisView &, ArdourCanvas::Container *canvas_group=0) | |
void | transport_changed () |
void | transport_looped () |
void | rec_enable_changed () |
void | sess_rec_enable_changed () |
void | create_rec_box (samplepos_t sample_pos, double width) |
void | cleanup_rec_box () |
virtual void | remove_region_view (std::weak_ptr< ARDOUR::Region >) |
void | display_track (std::shared_ptr< ARDOUR::Track >) |
virtual void | undisplay_track () |
void | layer_regions () |
void | playlist_switched (std::weak_ptr< ARDOUR::Track >) |
void | setup_new_rec_layer_time (std::shared_ptr< ARDOUR::Region >) |
Protected Attributes | |
ArdourCanvas::Container * | _region_group |
![]() | |
RouteTimeAxisView & | _trackview |
ArdourCanvas::Container * | _canvas_group |
ArdourCanvas::Rectangle * | canvas_rect |
RegionViewList | region_views |
double | _samples_per_pixel |
sigc::connection | screen_update_connection |
std::vector< RecBoxInfo > | rec_rects |
std::list< std::pair< std::shared_ptr< ARDOUR::Region >, RegionView * > > | rec_regions |
bool | rec_updating |
bool | rec_active |
uint32_t | region_color |
Contained region color. More... | |
uint32_t | stream_base_color |
Background color. More... | |
PBD::ScopedConnectionList | playlist_connections |
PBD::ScopedConnection | playlist_switched_connection |
ARDOUR::layer_t | _layers |
LayerDisplay | _layer_display |
double | height |
PBD::ScopedConnectionList | rec_data_ready_connections |
samplepos_t | last_rec_data_sample |
samplepos_t | _new_rec_layer_time |
Private Member Functions | |
RegionView * | add_region_view_internal (std::shared_ptr< ARDOUR::Region >, bool wait_for_waves, bool recording=false) |
void | display_region (MidiRegionView *region_view, bool load_model) |
void | display_track (std::shared_ptr< ARDOUR::Track > tr) |
void | update_contents_height () |
void | draw_note_lines () |
bool | update_data_note_range (uint8_t min, uint8_t max) |
void | update_contents_metrics (std::shared_ptr< ARDOUR::Region > r) |
void | color_handler () |
void | note_range_adjustment_changed () |
void | apply_note_range_to_regions () |
Private Attributes | |
bool | _range_dirty |
double | _range_sum_cache |
uint8_t | _lowest_note |
currently visible More... | |
uint8_t | _highest_note |
currently visible More... | |
uint8_t | _data_note_min |
in data More... | |
uint8_t | _data_note_max |
in data More... | |
ArdourCanvas::LineSet * | _note_lines |
bool | _updates_suspended |
Additional Inherited Members | |
![]() | |
typedef std::list< RegionView * > | RegionViewList |
Definition at line 60 of file midi_streamview.h.
Enumerator | |
---|---|
FullRange | |
ContentsRange |
Definition at line 69 of file midi_streamview.h.
MidiStreamView::MidiStreamView | ( | MidiTimeAxisView & | ) |
MidiStreamView::~MidiStreamView | ( | ) |
|
privatevirtual |
Implements StreamView.
void MidiStreamView::apply_note_range | ( | uint8_t | lowest, |
uint8_t | highest, | ||
bool | to_region_views | ||
) |
|
private |
|
privatevirtual |
Implements StreamView.
|
inline |
Definition at line 87 of file midi_streamview.h.
|
inline |
Definition at line 101 of file midi_streamview.h.
|
virtual |
Reimplemented from StreamView.
|
private |
|
private |
|
private |
void MidiStreamView::get_inverted_selectables | ( | Selection & | , |
std::list< Selectable * > & | results | ||
) |
void MidiStreamView::get_regions_with_selected_data | ( | RegionSelection & | ) |
|
inline |
Definition at line 79 of file midi_streamview.h.
|
inline |
Definition at line 78 of file midi_streamview.h.
|
inline |
Definition at line 97 of file midi_streamview.h.
|
private |
|
inline |
Definition at line 91 of file midi_streamview.h.
|
virtual |
Reimplemented from StreamView.
bool MidiStreamView::paste | ( | Temporal::timepos_t const & | pos, |
const Selection & | selection, | ||
PasteContext & | ctx | ||
) |
|
virtual |
Implements StreamView.
|
inlinevirtual |
Reimplemented from StreamView.
Definition at line 116 of file midi_streamview.h.
void MidiStreamView::resume_updates | ( | ) |
|
virtual |
Reimplemented from StreamView.
void MidiStreamView::set_note_range | ( | VisibleNoteRange | r | ) |
|
protectedvirtual |
Implements StreamView.
void MidiStreamView::suspend_updates | ( | ) |
|
privatevirtual |
Reimplemented from StreamView.
|
privatevirtual |
Reimplemented from StreamView.
|
private |
void MidiStreamView::update_note_range | ( | uint8_t | note_num | ) |
|
protectedvirtual |
Reimplemented from StreamView.
uint8_t MidiStreamView::y_to_note | ( | double | y | ) | const |
|
private |
in data
Definition at line 152 of file midi_streamview.h.
|
private |
in data
Definition at line 151 of file midi_streamview.h.
|
private |
currently visible
Definition at line 150 of file midi_streamview.h.
|
private |
currently visible
Definition at line 149 of file midi_streamview.h.
|
private |
Definition at line 153 of file midi_streamview.h.
|
private |
Definition at line 147 of file midi_streamview.h.
|
private |
Definition at line 148 of file midi_streamview.h.
|
protected |
Definition at line 124 of file midi_streamview.h.
|
private |
true if updates to the note lines and regions are currently suspended
Definition at line 155 of file midi_streamview.h.
Gtk::Adjustment MidiStreamView::note_range_adjustment |
Definition at line 74 of file midi_streamview.h.
sigc::signal<void> MidiStreamView::NoteRangeChanged |
Definition at line 105 of file midi_streamview.h.