1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 17:14:07 +01:00

Temporary hack lets us defer encapsulation of track control panel drawing...

... while we can work on encapsulating the click-drag actions.
This commit is contained in:
Paul Licameli
2015-07-14 13:17:08 -04:00
committed by Paul Licameli
parent 43968c4ac9
commit f89cbefc7b
4 changed files with 19 additions and 2 deletions

View File

@@ -12,6 +12,8 @@ Paul Licameli split from TrackPanel.cpp
#include "TrackControls.h"
#include "../../HitTestResult.h"
int TrackControls::gCaptureState;
TrackControls::~TrackControls()
{
}

View File

@@ -24,6 +24,9 @@ public:
Track *GetTrack() const { return mpTrack; }
// Make this hack go away! See TrackPanel::DrawOutside
static int gCaptureState;
protected:
// An override is supplied for derived classes to call through but it is
// still marked pure virtual