Audacity 3.2.0
|
Typedefs | |
using | Result = unsigned |
using | DoZoomFunction = void(*)(AudacityProject *pProject, WaveChannel &wc, WaveChannelViewConstants::ZoomActions ZoomKind, const wxRect &rect, int zoomStart, int zoomEnd, bool fixedMousePoint) |
Functions | |
AUDACITY_DLL_API HitTestPreview | HitPreview (const bool bVZoom) |
AUDACITY_DLL_API bool | IsDragZooming (int zoomStart, int zoomEnd, bool hasDragZoom) |
AUDACITY_DLL_API Result | DoDrag (const TrackPanelMouseEvent &event, AudacityProject *pProject, int zoomStart, int &zoomEnd, bool hasDragZoom) |
AUDACITY_DLL_API Result | 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 | DoDraw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass, int zoomStart, int zoomEnd, bool hasDragZoom) |
AUDACITY_DLL_API wxRect | DoDrawingArea (const wxRect &rect, const wxRect &panelRect, unsigned iPass) |
using WaveChannelVZoomHandle::DoZoomFunction = typedef void (*)(AudacityProject *pProject, WaveChannel &wc, WaveChannelViewConstants::ZoomActions ZoomKind, const wxRect &rect, int zoomStart, int zoomEnd, bool fixedMousePoint) |
Definition at line 33 of file WaveChannelVZoomHandle.h.
using WaveChannelVZoomHandle::Result = typedef unsigned |
Definition at line 25 of file WaveChannelVZoomHandle.h.
UIHandle::Result WaveChannelVZoomHandle::DoDrag | ( | const TrackPanelMouseEvent & | event, |
AudacityProject * | pProject, | ||
int | zoomStart, | ||
int & | zoomEnd, | ||
bool | hasDragZoom | ||
) |
Definition at line 74 of file WaveChannelVZoomHandle.cpp.
References TrackPanelMouseEvent::event, anonymous_namespace{NoteTrackVZoomHandle.cpp}::IsDragZooming(), RefreshCode::RefreshAll, and RefreshCode::RefreshNone.
Referenced by SpectrumVZoomHandle::Drag(), and WaveformVZoomHandle::Drag().
void WaveChannelVZoomHandle::DoDraw | ( | TrackPanelDrawingContext & | context, |
const wxRect & | rect, | ||
unsigned | iPass, | ||
int | zoomStart, | ||
int | zoomEnd, | ||
bool | hasDragZoom | ||
) |
Definition at line 130 of file WaveChannelVZoomHandle.cpp.
References ChannelVRulerControls::DrawZooming(), anonymous_namespace{NoteTrackVZoomHandle.cpp}::IsDragZooming(), and TrackArtist::PassZooming.
Referenced by SpectrumVZoomHandle::Draw(), and WaveformVZoomHandle::Draw().
wxRect WaveChannelVZoomHandle::DoDrawingArea | ( | const wxRect & | rect, |
const wxRect & | panelRect, | ||
unsigned | iPass | ||
) |
Definition at line 140 of file WaveChannelVZoomHandle.cpp.
References TrackArtist::PassZooming, and ChannelVRulerControls::ZoomingArea().
Referenced by SpectrumVZoomHandle::DrawingArea(), and WaveformVZoomHandle::DrawingArea().
UIHandle::Result WaveChannelVZoomHandle::DoRelease | ( | const TrackPanelMouseEvent & | event, |
AudacityProject * | pProject, | ||
wxWindow * | pParent, | ||
WaveChannel & | wc, | ||
const wxRect & | mRect, | ||
DoZoomFunction | doZoom, | ||
PopupMenuTable & | table, | ||
int | zoomStart, | ||
int | zoomEnd | ||
) |
Definition at line 89 of file WaveChannelVZoomHandle.cpp.
References PopupMenuTable::BuildMenu(), TrackPanelMouseEvent::event, kCaptureLostEventId, WaveChannelViewConstants::kZoom1to1, RefreshCode::RefreshAll, RefreshCode::RefreshNone, and RefreshCode::UpdateVRuler.
Referenced by SpectrumVZoomHandle::Release(), and WaveformVZoomHandle::Release().
HitTestPreview WaveChannelVZoomHandle::HitPreview | ( | const bool | bVZoom | ) |
Definition at line 59 of file WaveChannelVZoomHandle.cpp.
Referenced by SpectrumVZoomHandle::Preview(), and WaveformVZoomHandle::Preview().
bool WaveChannelVZoomHandle::IsDragZooming | ( | int | zoomStart, |
int | zoomEnd, | ||
bool | hasDragZoom | ||
) |
Definition at line 24 of file WaveChannelVZoomHandle.cpp.
References DragThreshold.
Referenced by SpectrumVZoomHandle::DoZoom().