Audacity  2.2.0
BackgroundHandle Class Reference
Inheritance diagram for BackgroundHandle:
UIHandle

Public Member Functions

 BackgroundHandle ()
 
virtual ~BackgroundHandle ()
 
Result Click (const TrackPanelMouseEvent &evt, AudacityProject *pProject) override
 
Result Drag (const TrackPanelMouseEvent &, AudacityProject *) override
 
HitTestPreview Preview (const TrackPanelMouseState &, const AudacityProject *) override
 
Result Release (const TrackPanelMouseEvent &, AudacityProject *, wxWindow *) override
 
Result Cancel (AudacityProject *) override
 
- Public Member Functions inherited from UIHandle
virtual ~UIHandle ()=0
 
virtual void Enter (bool forward)
 
virtual bool HasRotation () const
 
virtual bool Rotate (bool forward)
 
virtual bool HasEscape () const
 
virtual bool Escape ()
 
virtual void DrawExtras (DrawingPass pass, wxDC *dc, const wxRegion &updateRegion, const wxRect &panelRect)
 
virtual bool StopsOnKeystroke ()
 
virtual void OnProjectChange (AudacityProject *pProject)
 
Result GetChangeHighlight () const
 
void SetChangeHighlight (Result val)
 

Static Public Member Functions

static HitTestPreview HitPreview ()
 
- Static Public Member Functions inherited from UIHandle
static UIHandle::Result NeedChangeHighlight (const UIHandle &, const UIHandle &)
 

Private Member Functions

 BackgroundHandle (const BackgroundHandle &)=delete
 
BackgroundHandleoperator= (const BackgroundHandle &)=delete
 

Additional Inherited Members

- Public Types inherited from UIHandle
enum  DrawingPass { Cells, Panel }
 
using Result = unsigned
 
using Cell = TrackPanelCell
 
- Protected Attributes inherited from UIHandle
Result mChangeHighlight { 0 }
 

Constructor & Destructor Documentation

BackgroundHandle::BackgroundHandle ( const BackgroundHandle )
privatedelete
BackgroundHandle::BackgroundHandle ( )
inline
virtual BackgroundHandle::~BackgroundHandle ( )
inlinevirtual

Member Function Documentation

Result BackgroundHandle::Cancel ( AudacityProject )
inlineoverridevirtual

Implements UIHandle.

References RefreshCode::RefreshNone.

Result BackgroundHandle::Drag ( const TrackPanelMouseEvent ,
AudacityProject  
)
inlineoverridevirtual

Implements UIHandle.

References RefreshCode::RefreshNone.

static HitTestPreview BackgroundHandle::HitPreview ( )
inlinestatic

Referenced by Preview().

BackgroundHandle& BackgroundHandle::operator= ( const BackgroundHandle )
privatedelete
HitTestPreview BackgroundHandle::Preview ( const TrackPanelMouseState ,
const AudacityProject  
)
inlineoverridevirtual

Implements UIHandle.

References HitPreview().

Result BackgroundHandle::Release ( const TrackPanelMouseEvent ,
AudacityProject ,
wxWindow *   
)
inlineoverridevirtual

Implements UIHandle.

References RefreshCode::RefreshNone.


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