1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-01-26 15:03:47 +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

@@ -12,8 +12,8 @@ Paul Licameli
#include <algorithm>
#include "Envelope.h"
#include "Internat.h"
#include "prefs/GUISettings.h"
#include "Prefs.h"
#include "xml/XMLWriter.h"
@@ -37,7 +37,7 @@ ZoomInfo::~ZoomInfo()
void ZoomInfo::UpdatePrefs()
{
dBr = gPrefs->Read(wxT("/GUI/EnvdBRange"), ENV_DB_RANGE);
dBr = gPrefs->Read(ENV_DB_KEY, ENV_DB_RANGE);
}
/// Converts a position (mouse X coordinate) to