mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-03 06:03:13 +02:00
More use of override
This commit is contained in:
parent
4108b5abe0
commit
d148c39c2d
@ -71,20 +71,21 @@ public:
|
||||
|
||||
virtual ~StretchHandle();
|
||||
|
||||
virtual Result Click
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject);
|
||||
Result Click
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject) override;
|
||||
|
||||
virtual Result Drag
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject);
|
||||
Result Drag
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject) override;
|
||||
|
||||
virtual HitTestPreview Preview
|
||||
(const TrackPanelMouseState &state, const AudacityProject *pProject);
|
||||
HitTestPreview Preview
|
||||
(const TrackPanelMouseState &state, const AudacityProject *pProject)
|
||||
override;
|
||||
|
||||
virtual Result Release
|
||||
Result Release
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject,
|
||||
wxWindow *pParent);
|
||||
wxWindow *pParent) override;
|
||||
|
||||
virtual Result Cancel(AudacityProject *pProject);
|
||||
Result Cancel(AudacityProject *pProject) override;
|
||||
|
||||
bool StopsOnKeystroke() override { return true; }
|
||||
|
||||
|
@ -46,24 +46,26 @@ public:
|
||||
|
||||
bool IsClicked() const;
|
||||
|
||||
virtual Result Click
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject);
|
||||
Result Click
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject) override;
|
||||
|
||||
virtual Result Drag
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject);
|
||||
Result Drag
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject) override;
|
||||
|
||||
virtual HitTestPreview Preview
|
||||
(const TrackPanelMouseState &state, const AudacityProject *pProject);
|
||||
HitTestPreview Preview
|
||||
(const TrackPanelMouseState &state, const AudacityProject *pProject)
|
||||
override;
|
||||
|
||||
virtual Result Release
|
||||
Result Release
|
||||
(const TrackPanelMouseEvent &event, AudacityProject *pProject,
|
||||
wxWindow *pParent);
|
||||
wxWindow *pParent) override;
|
||||
|
||||
virtual Result Cancel(AudacityProject*);
|
||||
Result Cancel(AudacityProject*) override;
|
||||
|
||||
virtual void DrawExtras
|
||||
void DrawExtras
|
||||
(DrawingPass pass,
|
||||
wxDC * dc, const wxRegion &updateRegion, const wxRect &panelRect);
|
||||
wxDC * dc, const wxRegion &updateRegion, const wxRect &panelRect)
|
||||
override;
|
||||
|
||||
// Receives timer event notifications, to implement auto-scroll
|
||||
void OnTimer(wxCommandEvent &event);
|
||||
|
Loading…
x
Reference in New Issue
Block a user