Audacity 3.2.0
Public Member Functions | List of all members
WaveClipTrimHandle::ClipTrimPolicy Class Referenceabstract
Inheritance diagram for WaveClipTrimHandle::ClipTrimPolicy:
[legend]

Public Member Functions

virtual ~ClipTrimPolicy ()
 
virtual bool Init (const TrackPanelMouseEvent &event)=0
 
virtual UIHandle::Result Trim (const TrackPanelMouseEvent &event, AudacityProject &project)=0
 
virtual void Finish (AudacityProject &project)=0
 
virtual void Cancel ()=0
 
virtual void Draw (TrackPanelDrawingContext &context, const wxRect &rect, unsigned iPass)
 
virtual wxRect DrawingArea (TrackPanelDrawingContext &, const wxRect &rect, const wxRect &panelRect, unsigned iPass)
 

Detailed Description

Definition at line 26 of file WaveClipTrimHandle.h.

Constructor & Destructor Documentation

◆ ~ClipTrimPolicy()

WaveClipTrimHandle::ClipTrimPolicy::~ClipTrimPolicy ( )
virtualdefault

Member Function Documentation

◆ Cancel()

virtual void WaveClipTrimHandle::ClipTrimPolicy::Cancel ( )
pure virtual

◆ Draw()

void WaveClipTrimHandle::ClipTrimPolicy::Draw ( TrackPanelDrawingContext context,
const wxRect &  rect,
unsigned  iPass 
)
virtual

Reimplemented in WaveClipTrimHandle::AdjustBorder.

Definition at line 376 of file WaveClipTrimHandle.cpp.

376{ }

◆ DrawingArea()

wxRect WaveClipTrimHandle::ClipTrimPolicy::DrawingArea ( TrackPanelDrawingContext ,
const wxRect &  rect,
const wxRect &  panelRect,
unsigned  iPass 
)
virtual

Reimplemented in WaveClipTrimHandle::AdjustBorder.

Definition at line 378 of file WaveClipTrimHandle.cpp.

379{
380 return rect;
381}

◆ Finish()

virtual void WaveClipTrimHandle::ClipTrimPolicy::Finish ( AudacityProject project)
pure virtual

◆ Init()

virtual bool WaveClipTrimHandle::ClipTrimPolicy::Init ( const TrackPanelMouseEvent event)
pure virtual

◆ Trim()

virtual UIHandle::Result WaveClipTrimHandle::ClipTrimPolicy::Trim ( const TrackPanelMouseEvent event,
AudacityProject project 
)
pure virtual

The documentation for this class was generated from the following files: