mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
change (GUI) Marker objects to accept any Canvas::Item as parent, and use this to draw BBT position markers in the BBT ruler
This commit is contained in:
parent
4f1ad4ed0d
commit
5153124664
6 changed files with 38 additions and 18 deletions
|
|
@ -748,7 +748,7 @@ private:
|
|||
LocationMarkerMap location_markers;
|
||||
|
||||
void update_marker_labels ();
|
||||
void update_marker_labels (ArdourCanvas::Container*);
|
||||
void update_marker_labels (ArdourCanvas::Item*);
|
||||
void check_marker_label (ArdourMarker*);
|
||||
|
||||
/** A set of lists of Markers that are in each of the canvas groups
|
||||
|
|
@ -757,7 +757,7 @@ private:
|
|||
* a marker has moved we can decide whether we need to update the labels
|
||||
* for all markers or for just a few.
|
||||
*/
|
||||
std::map<ArdourCanvas::Container*, std::list<ArdourMarker*> > _sorted_marker_lists;
|
||||
std::map<ArdourCanvas::Item*, std::list<ArdourMarker*> > _sorted_marker_lists;
|
||||
void remove_sorted_marker (ArdourMarker*);
|
||||
|
||||
void hide_marker (ArdourCanvas::Item*, GdkEvent*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue