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