![]() |
Audacity 3.2.0
|
Typedefs | |
| using | Result = unsigned |
| using | DoZoomFunction = void(*)(AudacityProject *pProject, WaveTrack *pTrack, WaveTrackViewConstants::ZoomActions ZoomKind, const wxRect &rect, int zoomStart, int zoomEnd, bool fixedMousePoint) |
Functions | |
| AUDACITY_DLL_API HitTestPreview | HitPreview (const wxMouseState &state) |
| AUDACITY_DLL_API bool | IsDragZooming (int zoomStart, int zoomEnd) |
| AUDACITY_DLL_API Result | DoDrag (const TrackPanelMouseEvent &event, AudacityProject *pProject, int zoomStart, int &zoomEnd) |
| AUDACITY_DLL_API Result | 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 | DoDraw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass, int zoomStart, int zoomEnd) |
| AUDACITY_DLL_API wxRect | DoDrawingArea (const wxRect &rect, const wxRect &panelRect, unsigned iPass) |
| using WaveTrackVZoomHandle::DoZoomFunction = typedef void (*)( AudacityProject *pProject, WaveTrack *pTrack, WaveTrackViewConstants::ZoomActions ZoomKind, const wxRect &rect, int zoomStart, int zoomEnd, bool fixedMousePoint) |
Definition at line 32 of file WaveTrackVZoomHandle.h.
| using WaveTrackVZoomHandle::Result = typedef unsigned |
Definition at line 24 of file WaveTrackVZoomHandle.h.
| UIHandle::Result WaveTrackVZoomHandle::DoDrag | ( | const TrackPanelMouseEvent & | event, |
| AudacityProject * | pProject, | ||
| int | zoomStart, | ||
| int & | zoomEnd | ||
| ) |
Definition at line 82 of file WaveTrackVZoomHandle.cpp.
References TrackPanelMouseEvent::event, anonymous_namespace{NoteTrackVZoomHandle.cpp}::IsDragZooming(), RefreshCode::RefreshAll, and RefreshCode::RefreshNone.
Referenced by SpectrumVZoomHandle::Drag(), and WaveformVZoomHandle::Drag().
| void WaveTrackVZoomHandle::DoDraw | ( | TrackPanelDrawingContext & | context, |
| const wxRect & | rect, | ||
| unsigned | iPass, | ||
| int | zoomStart, | ||
| int | zoomEnd | ||
| ) |
Definition at line 150 of file WaveTrackVZoomHandle.cpp.
References TrackVRulerControls::DrawZooming(), anonymous_namespace{NoteTrackVZoomHandle.cpp}::IsDragZooming(), and TrackArtist::PassZooming.
Referenced by SpectrumVZoomHandle::Draw(), and WaveformVZoomHandle::Draw().
| wxRect WaveTrackVZoomHandle::DoDrawingArea | ( | const wxRect & | rect, |
| const wxRect & | panelRect, | ||
| unsigned | iPass | ||
| ) |
Definition at line 161 of file WaveTrackVZoomHandle.cpp.
References TrackArtist::PassZooming, and TrackVRulerControls::ZoomingArea().
Referenced by SpectrumVZoomHandle::DrawingArea(), and WaveformVZoomHandle::DrawingArea().
| UIHandle::Result WaveTrackVZoomHandle::DoRelease | ( | const TrackPanelMouseEvent & | event, |
| AudacityProject * | pProject, | ||
| wxWindow * | pParent, | ||
| WaveTrack * | pTrack, | ||
| const wxRect & | mRect, | ||
| DoZoomFunction | doZoom, | ||
| PopupMenuTable & | table, | ||
| int | zoomStart, | ||
| int | zoomEnd | ||
| ) |
Definition at line 97 of file WaveTrackVZoomHandle.cpp.
References PopupMenuTable::BuildMenu(), bVZoom, TrackPanelMouseEvent::event, gPrefs, kCaptureLostEventId, WaveTrackViewConstants::kZoom1to1, WaveTrackViewConstants::kZoomIn, WaveTrackViewConstants::kZoomOut, RefreshCode::RefreshAll, RefreshCode::RefreshNone, RefreshCode::UpdateVRuler, and wxT().
Referenced by SpectrumVZoomHandle::Release(), and WaveformVZoomHandle::Release().
| HitTestPreview WaveTrackVZoomHandle::HitPreview | ( | const wxMouseState & | state | ) |
Definition at line 61 of file WaveTrackVZoomHandle.cpp.
References bVZoom, gPrefs, MakeCursor(), wxT(), and XO().
Referenced by SpectrumVZoomHandle::Preview(), and WaveformVZoomHandle::Preview().
| bool WaveTrackVZoomHandle::IsDragZooming | ( | int | zoomStart, |
| int | zoomEnd | ||
| ) |
Definition at line 24 of file WaveTrackVZoomHandle.cpp.
References bVZoom, DragThreshold, gPrefs, and wxT().
Referenced by SpectrumVZoomHandle::DoZoom(), and WaveformVZoomHandle::DoZoom().