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