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  WaveTrackVRulerMenuTable
 
struct  WaveTrackVRulerMenuTable::InitMenuData
 

Namespaces

namespace  WaveChannelVZoomHandle
 

Typedefs

using WaveChannelVZoomHandle::Result = unsigned
 
using WaveChannelVZoomHandle::DoZoomFunction = void(*)(AudacityProject *pProject, WaveTrack *pTrack, 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, WaveTrack *pTrack, 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 103 of file WaveChannelVZoomHandle.h.

103 {
104 OnZoomFitVerticalID = 20000,
109
110 // Reserve an ample block of ids for waveform scale types
113
114 // Reserve an ample block of ids for spectrum scale types
117};
@ OnLastWaveformScaleID
@ OnFirstSpectrumScaleID
@ OnZoomOutVerticalID
@ OnLastSpectrumScaleID
@ OnZoomFitVerticalID
@ OnZoomHalfWaveID
@ OnFirstWaveformScaleID
@ OnZoomInVerticalID