Audacity 3.2.0
|
Public Member Functions | |
WaveClipTitleEditHandle (const std::shared_ptr< TextEditHelper > &helper, const std::shared_ptr< WaveTrack > pTrack) | |
~WaveClipTitleEditHandle () | |
std::shared_ptr< const Track > | FindTrack () const override |
Result | Click (const TrackPanelMouseEvent &event, AudacityProject *project) override |
Result | Drag (const TrackPanelMouseEvent &event, AudacityProject *project) override |
HitTestPreview | Preview (const TrackPanelMouseState &state, AudacityProject *pProject) override |
Result | Release (const TrackPanelMouseEvent &event, AudacityProject *project, wxWindow *) override |
Result | Cancel (AudacityProject *project) override |
Public Member Functions inherited from UIHandle | |
virtual | ~UIHandle ()=0 |
virtual void | Enter (bool forward, AudacityProject *pProject) |
virtual bool | HasRotation () const |
virtual bool | Rotate (bool forward) |
virtual bool | HasEscape (AudacityProject *pProject) const |
virtual bool | Escape (AudacityProject *pProject) |
virtual bool | HandlesRightClick () |
Whether the handle has any special right-button handling. More... | |
virtual Result | Click (const TrackPanelMouseEvent &event, AudacityProject *pProject)=0 |
virtual Result | Drag (const TrackPanelMouseEvent &event, AudacityProject *pProject)=0 |
virtual HitTestPreview | Preview (const TrackPanelMouseState &state, AudacityProject *pProject)=0 |
virtual Result | Release (const TrackPanelMouseEvent &event, AudacityProject *pProject, wxWindow *pParent)=0 |
virtual Result | Cancel (AudacityProject *pProject)=0 |
virtual bool | StopsOnKeystroke () |
virtual void | OnProjectChange (AudacityProject *pProject) |
virtual std::shared_ptr< const Track > | FindTrack () const =0 |
virtual bool | IsDragging () const |
Result | GetChangeHighlight () const |
void | SetChangeHighlight (Result val) |
Public Member Functions inherited from TrackPanelDrawable | |
virtual | ~TrackPanelDrawable ()=0 |
virtual void | Draw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass) |
virtual wxRect | DrawingArea (TrackPanelDrawingContext &context, const wxRect &rect, const wxRect &panelRect, unsigned iPass) |
Private Attributes | |
std::shared_ptr< TextEditHelper > | mHelper |
std::shared_ptr< WaveTrack > | mpTrack |
Additional Inherited Members | |
Public Types inherited from UIHandle | |
using | Result = unsigned |
using | Cell = TrackPanelCell |
Static Public Member Functions inherited from UIHandle | |
static UIHandle::Result | NeedChangeHighlight (const UIHandle &, const UIHandle &) |
static std::shared_ptr< const Track > | TrackFromChannel (const std::shared_ptr< const Channel > &pChannel) |
A frequent convenience in the definition of UIHandles. More... | |
Static Public Member Functions inherited from TrackPanelDrawable | |
static wxRect | MaximizeWidth (const wxRect &rect, const wxRect &panelRect) |
static wxRect | MaximizeHeight (const wxRect &rect, const wxRect &panelRect) |
Protected Attributes inherited from UIHandle | |
Result | mChangeHighlight { 0 } |
Definition at line 89 of file WaveTrackAffordanceControls.cpp.
|
inline |
Definition at line 95 of file WaveTrackAffordanceControls.cpp.
|
inline |
Definition at line 101 of file WaveTrackAffordanceControls.cpp.
|
inlineoverridevirtual |
Implements UIHandle.
Definition at line 141 of file WaveTrackAffordanceControls.cpp.
References mHelper, project, and RefreshCode::RefreshAll.
|
inlineoverridevirtual |
Implements UIHandle.
Definition at line 110 of file WaveTrackAffordanceControls.cpp.
References TrackPanelMouseEvent::event, mHelper, project, RefreshCode::RefreshCell, and RefreshCode::RefreshNone.
|
inlineoverridevirtual |
Implements UIHandle.
Definition at line 117 of file WaveTrackAffordanceControls.cpp.
References TrackPanelMouseEvent::event, mHelper, project, RefreshCode::RefreshCell, and RefreshCode::RefreshNone.
|
inlineoverridevirtual |
Implements UIHandle.
Definition at line 105 of file WaveTrackAffordanceControls.cpp.
References mpTrack.
|
inlineoverridevirtual |
Implements UIHandle.
Definition at line 124 of file WaveTrackAffordanceControls.cpp.
References MakeCursor(), and XO().
|
inlineoverridevirtual |
Implements UIHandle.
Definition at line 134 of file WaveTrackAffordanceControls.cpp.
References TrackPanelMouseEvent::event, mHelper, project, RefreshCode::RefreshCell, and RefreshCode::RefreshNone.
|
private |
|
private |
Definition at line 92 of file WaveTrackAffordanceControls.cpp.
Referenced by FindTrack().