1
0
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:
Paul Licameli
2015-07-09 13:39:20 -04:00
parent 7bba4500c4
commit e0621819ed
14 changed files with 58 additions and 27 deletions

View File

@@ -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");