Audacity  2.2.2
Public Member Functions | Private Member Functions | List of all members
LabelTrackControls Class Referencefinal

#include <LabelTrackControls.h>

Inheritance diagram for LabelTrackControls:
TrackControls CommonTrackPanelCell TrackPanelCell

Public Member Functions

 LabelTrackControls (std::shared_ptr< Track > pTrack)
 ~LabelTrackControls ()
std::vector< UIHandlePtrHitTest (const TrackPanelMouseState &state, const AudacityProject *pProject) override
PopupMenuTableGetMenuExtension (Track *pTrack) override
- Public Member Functions inherited from TrackControls
 TrackControls (std::shared_ptr< Track > pTrack)
virtual ~TrackControls ()=0
std::shared_ptr< TrackFindTrack () override
- Public Member Functions inherited from CommonTrackPanelCell
 CommonTrackPanelCell ()
virtual ~CommonTrackPanelCell ()=0
HitTestPreview DefaultPreview (const TrackPanelMouseState &, const AudacityProject *) override
- Public Member Functions inherited from TrackPanelCell
virtual ~TrackPanelCell ()=0
virtual std::shared_ptr
< TrackPanelCell
ContextMenuDelegate ()
virtual unsigned CaptureKey (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent)
virtual unsigned KeyDown (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent)
virtual unsigned KeyUp (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent)
virtual unsigned Char (wxKeyEvent &event, ViewInfo &viewInfo, wxWindow *pParent)

Private Member Functions

 LabelTrackControls (const LabelTrackControls &)=delete
LabelTrackControlsoperator= (const LabelTrackControls &)=delete

Additional Inherited Members

- Protected Member Functions inherited from TrackControls
unsigned DoContextMenu (const wxRect &rect, wxWindow *pParent, wxPoint *pPosition) override
TrackGetTrack () const
- Protected Member Functions inherited from CommonTrackPanelCell
unsigned HandleWheelRotation (const TrackPanelMouseEvent &event, AudacityProject *pProject) override
- Protected Attributes inherited from TrackControls
std::weak_ptr< TrackmwTrack
std::weak_ptr< CloseButtonHandlemCloseHandle
std::weak_ptr< MenuButtonHandlemMenuHandle
< MinimizeButtonHandle
std::weak_ptr< TrackSelectHandlemSelectHandle

Detailed Description

Definition at line 16 of file LabelTrackControls.h.

Constructor & Destructor Documentation

LabelTrackControls::LabelTrackControls ( const LabelTrackControls )
LabelTrackControls::LabelTrackControls ( std::shared_ptr< Track pTrack)

Definition at line 23 of file LabelTrackControls.h.

24  : TrackControls( pTrack ) {}
TrackControls(std::shared_ptr< Track > pTrack)
LabelTrackControls::~LabelTrackControls ( )

Definition at line 26 of file LabelTrackControls.cpp.

27 {
28 }

Member Function Documentation

PopupMenuTable * LabelTrackControls::GetMenuExtension ( Track pTrack)

Implements TrackControls.

Definition at line 168 of file LabelTrackControls.cpp.

References LabelTrackMenuTable::Instance().

169 {
171 }
static LabelTrackMenuTable & Instance()
std::vector< UIHandlePtr > LabelTrackControls::HitTest ( const TrackPanelMouseState state,
const AudacityProject pProject 

Implements TrackControls.

Definition at line 31 of file LabelTrackControls.cpp.

References TrackControls::HitTest().

33 {
34  return TrackControls::HitTest(state, pProject);
35 }
virtual std::vector< UIHandlePtr > HitTest(const TrackPanelMouseState &state, const AudacityProject *) override=0
LabelTrackControls& LabelTrackControls::operator= ( const LabelTrackControls )

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