mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
somewhat working dialog for BBT/Position marker creation
This commit is contained in:
parent
4911779157
commit
d4f52498fa
6 changed files with 185 additions and 6 deletions
|
|
@ -99,6 +99,7 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Container& parent, g
|
|||
*
|
||||
* Mark:
|
||||
* RegionCue:
|
||||
* BBTPosition
|
||||
*
|
||||
* (0,0) -> (6,0)
|
||||
* ^ |
|
||||
|
|
@ -110,7 +111,6 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Container& parent, g
|
|||
*
|
||||
* TempoMark:
|
||||
* MeterMark:
|
||||
* BBTPosition
|
||||
*
|
||||
* (3,0)
|
||||
* / \
|
||||
|
|
@ -171,6 +171,7 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Container& parent, g
|
|||
switch (type) {
|
||||
case Mark:
|
||||
case RegionCue:
|
||||
case BBTPosition:
|
||||
points = new ArdourCanvas::Points ();
|
||||
|
||||
points->push_back (ArdourCanvas::Duple (0.0, 0.0));
|
||||
|
|
@ -186,7 +187,6 @@ ArdourMarker::ArdourMarker (PublicEditor& ed, ArdourCanvas::Container& parent, g
|
|||
|
||||
case Tempo:
|
||||
case Meter:
|
||||
case BBTPosition:
|
||||
points = new ArdourCanvas::Points ();
|
||||
points->push_back (ArdourCanvas::Duple ( M3, 0.0));
|
||||
points->push_back (ArdourCanvas::Duple ( M6, MH * .6));
|
||||
|
|
@ -700,7 +700,6 @@ BBTMarker::BBTMarker (PublicEditor& editor, ArdourCanvas::Item& parent, guint32
|
|||
: ArdourMarker (editor, parent, rgba, text, BBTPosition, p.time(), false)
|
||||
, _point (p)
|
||||
{
|
||||
cerr << "NEW BBT MARKER!\n";
|
||||
group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_bbt_marker_event), group, this));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue