mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
start adding new BBT marker support
This commit is contained in:
parent
34a3db7eaa
commit
4f1ad4ed0d
7 changed files with 45 additions and 0 deletions
|
|
@ -688,3 +688,22 @@ MeterMarker::reset_meter (Temporal::MeterPoint & m)
|
|||
{
|
||||
_meter = m;
|
||||
}
|
||||
|
||||
/***********************************************************************/
|
||||
|
||||
BBTMarker::BBTMarker (PublicEditor& editor, ArdourCanvas::Container& parent, guint32 rgba, const string& text, Temporal::MusicTimePoint& p)
|
||||
: ArdourMarker (editor, parent, rgba, text, BBTPosition, p.time(), false)
|
||||
, _point (p)
|
||||
{
|
||||
group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_bbt_marker_event), group, this));
|
||||
}
|
||||
|
||||
BBTMarker::~BBTMarker ()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
BBTMarker::reset_point (Temporal::MusicTimePoint & p)
|
||||
{
|
||||
_point = p;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue