mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 04:01:54 +01:00
Global slider instances for control panels out of TrackPanel.cpp...
... and updating of them is accomplished privately in implementation files, reducing intrusions into TrackPanel and ProjectWindow This removes #include-s from TrackInfo.cpp, leaving dependency cycles better than previously
This commit is contained in:
@@ -859,10 +859,8 @@ END_EVENT_TABLE()
|
||||
void ProjectWindow::ApplyUpdatedTheme()
|
||||
{
|
||||
auto &project = mProject;
|
||||
auto &trackPanel = TrackPanel::Get( project );
|
||||
SetBackgroundColour(theTheme.Colour( clrMedium ));
|
||||
ClearBackground();// For wxGTK.
|
||||
trackPanel.ApplyUpdatedTheme();
|
||||
}
|
||||
|
||||
void ProjectWindow::RedrawProject(const bool bForceWaveTracks /*= false*/)
|
||||
|
||||
Reference in New Issue
Block a user