mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
...no actions reimplemented to them yet. Later commits will move special cases one at a time from TrackPanel, preserving all click and drag capabilities at each step. With a few exceptions, but those lost abilities are restored in yet later commits. (Ctrl+Click on the Label track being one.)
32 lines
781 B
C++
32 lines
781 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
LabelTrackControls.h
|
|
|
|
Paul Licameli split from TrackPanel.cpp
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_LABEL_TRACK_CONTROLS__
|
|
#define __AUDACITY_LABEL_TRACK_CONTROLS__
|
|
|
|
#include "../../ui/TrackControls.h"
|
|
|
|
class LabelTrackControls final : public TrackControls
|
|
{
|
|
LabelTrackControls();
|
|
LabelTrackControls(const LabelTrackControls&) = delete;
|
|
LabelTrackControls &operator=(const LabelTrackControls&) = delete;
|
|
|
|
public:
|
|
static LabelTrackControls &Instance();
|
|
~LabelTrackControls();
|
|
|
|
HitTestResult HitTest
|
|
(const TrackPanelMouseEvent &event,
|
|
const AudacityProject *pProject) override;
|
|
};
|
|
|
|
#endif
|