1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Split EnvelopeEditor.cpp from Envelope.cpp...

... Envelope drops down out of the big strongly connected component, the new
piece stays behind
This commit is contained in:
Paul Licameli
2019-06-09 07:46:42 -04:00
parent 1dce507aaf
commit 7ed99c6e8f
14 changed files with 592 additions and 519 deletions

View File

@@ -25,6 +25,7 @@
#include "AColor.h"
#include "widgets/Ruler.h"
#include "Envelope.h"
#include "EnvelopeEditor.h"
#include "Prefs.h"
#include "Project.h"
#include "ProjectSettings.h"
@@ -317,8 +318,8 @@ void TimeTrack::Draw
mRuler->Draw(dc, this);
Doubles envValues{ size_t(mid.width) };
GetEnvelope()->GetValues
( 0, 0, envValues.get(), mid.width, 0, zoomInfo );
EnvelopeEditor::GetValues( *GetEnvelope(),
0, 0, envValues.get(), mid.width, 0, zoomInfo );
wxPen &pen = highlight ? AColor::uglyPen : AColor::envelopePen;
dc.SetPen( pen );