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

All things with an UpdatePrefs() message listen for an event...

... Still to do, improve the handling of updates of only subsets of the prefs
This commit is contained in:
Paul Licameli
2018-02-17 17:42:14 -05:00
parent cc635e0498
commit 62899a32f4
37 changed files with 198 additions and 136 deletions

View File

@@ -20,6 +20,8 @@
#include "widgets/ASlider.h" // to inherit
#include "commands/CommandManagerWindowClasses.h"
#include "Prefs.h"
class wxArrayString;
class wxBitmapButton;
class wxImage;
@@ -188,7 +190,7 @@ public:
class MixerBoardFrame;
class TrackList;
class MixerBoard final : public wxWindow
class MixerBoard final : public wxWindow, private PrefsListener
{
friend class MixerBoardFrame;
@@ -198,7 +200,7 @@ public:
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize);
void UpdatePrefs();
void UpdatePrefs() override;
// Add clusters for any tracks we're not yet showing.
// Update pointers for tracks we're aleady showing.