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:
committed by
Paul Licameli
parent
43968c4ac9
commit
f89cbefc7b
@@ -12,6 +12,8 @@ Paul Licameli split from TrackPanel.cpp
|
||||
#include "TrackControls.h"
|
||||
#include "../../HitTestResult.h"
|
||||
|
||||
int TrackControls::gCaptureState;
|
||||
|
||||
TrackControls::~TrackControls()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user