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

@@ -13,6 +13,7 @@
#include "CellularPanel.h"
#include "widgets/Ruler.h" // member variable
#include "Prefs.h"
class ViewInfo;
class AudacityProject;
@@ -20,7 +21,9 @@ class SnapManager;
class TrackList;
// This is an Audacity Specific ruler panel.
class AUDACITY_DLL_API AdornedRulerPanel final : public CellularPanel
class AUDACITY_DLL_API AdornedRulerPanel final
: public CellularPanel
, private PrefsListener
{
public:
AdornedRulerPanel(AudacityProject *project,
@@ -53,7 +56,7 @@ public:
void InvalidateRuler();
void UpdatePrefs();
void UpdatePrefs() override;
void ReCreateButtons();
void RegenerateTooltips();