mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Substantial overhaul of tempo display code
Major changes: do not delete and recreate markers and curves for every tempo map change, attach tempo curves directly to their (preceding) tempo marker, notable cleanup of TempoCurve class to remove unnecessary members. More tweaks expected since algorithm for matching markers and tempo map points is not correct yet.
This commit is contained in:
parent
dbefba9904
commit
c916d3d952
9 changed files with 445 additions and 286 deletions
|
|
@ -875,7 +875,7 @@ public:
|
|||
|
||||
private:
|
||||
TempoMarker* _marker;
|
||||
Temporal::TempoPoint* _real_section;
|
||||
Temporal::TempoPoint const * _real_section;
|
||||
|
||||
bool _copy;
|
||||
bool _movable;
|
||||
|
|
@ -968,7 +968,7 @@ public:
|
|||
|
||||
private:
|
||||
Temporal::Beats _grab_qn;
|
||||
Temporal::TempoPoint* _tempo;
|
||||
Temporal::TempoPoint const * _tempo;
|
||||
XMLNode* _before_state;
|
||||
bool _drag_valid;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue