mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-09 16:05:39 +01:00
Move ENV_DB_RANGE out of Envelope.h; that file can be included in fewer places.
This commit is contained in:
@@ -60,8 +60,8 @@
|
||||
|
||||
#include "../AudioIO.h"
|
||||
#include "../AColor.h"
|
||||
#include "../Envelope.h"
|
||||
#include "../ImageManipulation.h"
|
||||
#include "../prefs/GUISettings.h"
|
||||
#include "../Project.h"
|
||||
#include "../toolbars/MeterToolBar.h"
|
||||
#include "../toolbars/ControlToolBar.h"
|
||||
@@ -367,7 +367,7 @@ Meter::~Meter()
|
||||
|
||||
void Meter::UpdatePrefs()
|
||||
{
|
||||
mDBRange = gPrefs->Read(wxT("/GUI/EnvdBRange"), ENV_DB_RANGE);
|
||||
mDBRange = gPrefs->Read(ENV_DB_KEY, ENV_DB_RANGE);
|
||||
|
||||
mMeterRefreshRate = gPrefs->Read(Key(wxT("RefreshRate")), 30);
|
||||
mGradient = gPrefs->Read(Key(wxT("Bars")), wxT("Gradient")) == wxT("Gradient");
|
||||
|
||||
Reference in New Issue
Block a user