1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 17:14:07 +01:00
Files
audacity/src/tracks/labeltrack/ui/LabelTrackControls.h
Paul Licameli 14d45eda33 Define and use the UIHandle and TrackPanelCell protocols, but...
...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.)
2017-06-15 08:20:56 -04:00

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