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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user