mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 00:20:06 +02:00
Remove some unused things
This commit is contained in:
parent
f7c230319e
commit
ab4751d092
@ -149,14 +149,6 @@ enum {
|
||||
OnZoomInVerticalID,
|
||||
OnZoomOutVerticalID,
|
||||
|
||||
// Reserve an ample block of ids for waveform scale types
|
||||
OnFirstWaveformScaleID,
|
||||
OnLastWaveformScaleID = OnFirstWaveformScaleID + 9,
|
||||
|
||||
// Reserve an ample block of ids for spectrum scale types
|
||||
OnFirstSpectrumScaleID,
|
||||
OnLastSpectrumScaleID = OnFirstSpectrumScaleID + 19,
|
||||
|
||||
OnZoomMaxID,
|
||||
|
||||
OnUpOctaveID,
|
||||
|
@ -116,11 +116,6 @@ enum {
|
||||
// Reserve an ample block of ids for spectrum scale types
|
||||
OnFirstSpectrumScaleID,
|
||||
OnLastSpectrumScaleID = OnFirstSpectrumScaleID + 19,
|
||||
|
||||
OnZoomMaxID,
|
||||
|
||||
OnUpOctaveID,
|
||||
OnDownOctaveID,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -32,8 +32,6 @@ Paul Licameli split from TrackPanel.cpp
|
||||
#include "../../../../TrackPanelDrawingContext.h"
|
||||
#include "../../../../TrackPanelMouseEvent.h"
|
||||
#include "../../../../ViewInfo.h"
|
||||
#include "../../../../prefs/SpectrogramSettings.h"
|
||||
#include "../../../../prefs/WaveformSettings.h"
|
||||
#include "../../../../prefs/TracksPrefs.h"
|
||||
|
||||
#include "../../../ui/TimeShiftHandle.h"
|
||||
|
@ -120,10 +120,8 @@ void WaveformVZoomHandle::DoZoom(
|
||||
const double rate = pTrack->GetRate();
|
||||
const float halfrate = rate / 2;
|
||||
float maxFreq = 8000.0;
|
||||
const SpectrogramSettings &specSettings = pTrack->GetSpectrogramSettings();
|
||||
|
||||
bool bDragZoom = WaveTrackVZoomHandle::IsDragZooming(zoomStart, zoomEnd);
|
||||
// Add 100 if spectral to separate the kinds of zoom.
|
||||
|
||||
// Possibly override the zoom kind.
|
||||
if( bDragZoom )
|
||||
|
Loading…
x
Reference in New Issue
Block a user