add API to make sure that region cue markers are above any waveviews or MIDI etc
This commit is contained in:
parent
b76991c00b
commit
baee1a2f01
@ -1334,6 +1334,8 @@ AudioRegionView::create_one_wave (uint32_t which, bool /*direct*/)
|
|||||||
/* channel wave created, don't hook into peaks ready anymore */
|
/* channel wave created, don't hook into peaks ready anymore */
|
||||||
delete _data_ready_connections[which];
|
delete _data_ready_connections[which];
|
||||||
_data_ready_connections[which] = 0;
|
_data_ready_connections[which] = 0;
|
||||||
|
|
||||||
|
maybe_raise_cue_markers ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -1196,3 +1196,11 @@ RegionView::set_selected (bool yn)
|
|||||||
_region->set_selected_for_solo(yn);
|
_region->set_selected_for_solo(yn);
|
||||||
TimeAxisViewItem::set_selected(yn);
|
TimeAxisViewItem::set_selected(yn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
RegionView::maybe_raise_cue_markers ()
|
||||||
|
{
|
||||||
|
for (ViewCueMarkers::iterator v = _cue_markers.begin(); v != _cue_markers.end(); ++v) {
|
||||||
|
(*v)->view_marker->the_item().raise_to_top ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -167,6 +167,8 @@ protected:
|
|||||||
virtual void color_handler () {}
|
virtual void color_handler () {}
|
||||||
virtual void parameter_changed (std::string const&);
|
virtual void parameter_changed (std::string const&);
|
||||||
|
|
||||||
|
void maybe_raise_cue_markers ();
|
||||||
|
|
||||||
boost::shared_ptr<ARDOUR::Region> _region;
|
boost::shared_ptr<ARDOUR::Region> _region;
|
||||||
|
|
||||||
ArdourCanvas::Polygon* sync_mark; ///< polgyon for sync position
|
ArdourCanvas::Polygon* sync_mark; ///< polgyon for sync position
|
||||||
|
Loading…
Reference in New Issue
Block a user