mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +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
|
|
@ -38,6 +38,7 @@
|
|||
namespace Temporal {
|
||||
class TempoPoint;
|
||||
class MeterPoint;
|
||||
class MusicTimePoint;
|
||||
}
|
||||
|
||||
class PublicEditor;
|
||||
|
|
@ -54,6 +55,7 @@ public:
|
|||
Mark,
|
||||
Tempo,
|
||||
Meter,
|
||||
BBTPosition,
|
||||
SessionStart, ///< session start
|
||||
SessionEnd, ///< session end
|
||||
RangeStart,
|
||||
|
|
@ -183,4 +185,18 @@ class MeterMarker : public ArdourMarker
|
|||
Temporal::MeterPoint& _meter;
|
||||
};
|
||||
|
||||
class BBTMarker : public ArdourMarker
|
||||
{
|
||||
public:
|
||||
BBTMarker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, Temporal::MusicTimePoint&);
|
||||
~BBTMarker ();
|
||||
|
||||
void reset_point (Temporal::MusicTimePoint &);
|
||||
|
||||
Temporal::MusicTimePoint& point() const { return _point; }
|
||||
|
||||
private:
|
||||
Temporal::MusicTimePoint& _point;
|
||||
};
|
||||
|
||||
#endif /* __gtk_ardour_marker_h__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue