Audacity 3.2.0
Classes | Namespaces | Typedefs | Enumerations | Functions
WaveChannelVZoomHandle.h File Reference
#include "WaveChannelViewConstants.h"
#include "../../../../UIHandle.h"
#include "Prefs.h"
#include "../../../../widgets/PopupMenuTable.h"
Include dependency graph for WaveChannelVZoomHandle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WaveChannelVRulerMenuTable
 
struct  WaveChannelVRulerMenuTable::InitMenuData
 

Namespaces

namespace  WaveChannelVZoomHandle
 

Typedefs

using WaveChannelVZoomHandle::Result = unsigned
 
using WaveChannelVZoomHandle::DoZoomFunction = void(*)(AudacityProject *pProject, WaveChannel &wc, WaveChannelViewConstants::ZoomActions ZoomKind, const wxRect &rect, int zoomStart, int zoomEnd, bool fixedMousePoint)
 

Enumerations

enum  {
  OnZoomFitVerticalID = 20000 , OnZoomResetID , OnZoomHalfWaveID , OnZoomInVerticalID ,
  OnZoomOutVerticalID , OnFirstWaveformScaleID , OnLastWaveformScaleID = OnFirstWaveformScaleID + 9 , OnFirstSpectrumScaleID ,
  OnLastSpectrumScaleID = OnFirstSpectrumScaleID + 19
}
 

Functions

AUDACITY_DLL_API HitTestPreview WaveChannelVZoomHandle::HitPreview (const bool bVZoom)
 
AUDACITY_DLL_API bool WaveChannelVZoomHandle::IsDragZooming (int zoomStart, int zoomEnd, bool hasDragZoom)
 
AUDACITY_DLL_API Result WaveChannelVZoomHandle::DoDrag (const TrackPanelMouseEvent &event, AudacityProject *pProject, int zoomStart, int &zoomEnd, bool hasDragZoom)
 
AUDACITY_DLL_API Result WaveChannelVZoomHandle::DoRelease (const TrackPanelMouseEvent &event, AudacityProject *pProject, wxWindow *pParent, WaveChannel &wc, const wxRect &mRect, DoZoomFunction doZoom, PopupMenuTable &table, int zoomStart, int zoomEnd)
 
AUDACITY_DLL_API void WaveChannelVZoomHandle::DoDraw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass, int zoomStart, int zoomEnd, bool hasDragZoom)
 
AUDACITY_DLL_API wxRect WaveChannelVZoomHandle::DoDrawingArea (const wxRect &rect, const wxRect &panelRect, unsigned iPass)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OnZoomFitVerticalID 
OnZoomResetID 
OnZoomHalfWaveID 
OnZoomInVerticalID 
OnZoomOutVerticalID 
OnFirstWaveformScaleID 
OnLastWaveformScaleID 
OnFirstSpectrumScaleID 
OnLastSpectrumScaleID 

Definition at line 104 of file WaveChannelVZoomHandle.h.

104 {
105 OnZoomFitVerticalID = 20000,
110
111 // Reserve an ample block of ids for waveform scale types
114
115 // Reserve an ample block of ids for spectrum scale types
118};
@ OnLastWaveformScaleID
@ OnFirstSpectrumScaleID
@ OnZoomOutVerticalID
@ OnLastSpectrumScaleID
@ OnZoomFitVerticalID
@ OnZoomHalfWaveID
@ OnFirstWaveformScaleID
@ OnZoomInVerticalID