mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-06 22:45:29 +01:00
Implement member functions of classes in corresponding .cpp files...
... in four cases; not in some other .cpp file. This is another move that causes the generated graph to reflect dependencies correctly. This fixes other large, hidden cycles that involved PrefsDialog.cpp: there was link dependency on that when PrefsPanel.h was used for the base class. No longer. Also cycles involving TrackPanel.cpp, which contained the default implementations for TrackPanelCell and related abstract base classes.
This commit is contained in:
@@ -1549,88 +1549,6 @@ void TrackPanel::OnTrackFocusChange( wxCommandEvent &event )
|
||||
}
|
||||
}
|
||||
|
||||
TrackPanelDrawable::~TrackPanelDrawable()
|
||||
{
|
||||
}
|
||||
|
||||
void TrackPanelDrawable::Draw(
|
||||
TrackPanelDrawingContext &, const wxRect &, unsigned )
|
||||
{
|
||||
}
|
||||
|
||||
wxRect TrackPanelDrawable::DrawingArea(
|
||||
TrackPanelDrawingContext &,
|
||||
const wxRect &rect, const wxRect &, unsigned )
|
||||
{
|
||||
return rect;
|
||||
}
|
||||
|
||||
TrackPanelNode::TrackPanelNode()
|
||||
{
|
||||
}
|
||||
|
||||
TrackPanelNode::~TrackPanelNode()
|
||||
{
|
||||
}
|
||||
|
||||
TrackPanelGroup::TrackPanelGroup()
|
||||
{
|
||||
}
|
||||
|
||||
TrackPanelGroup::~TrackPanelGroup()
|
||||
{
|
||||
}
|
||||
|
||||
TrackPanelCell::~TrackPanelCell()
|
||||
{
|
||||
}
|
||||
|
||||
HitTestPreview TrackPanelCell::DefaultPreview
|
||||
(const TrackPanelMouseState &, const AudacityProject *)
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
unsigned TrackPanelCell::HandleWheelRotation
|
||||
(const TrackPanelMouseEvent &, AudacityProject *)
|
||||
{
|
||||
return RefreshCode::Cancelled;
|
||||
}
|
||||
|
||||
unsigned TrackPanelCell::DoContextMenu
|
||||
(const wxRect &, wxWindow*, wxPoint *, AudacityProject*)
|
||||
{
|
||||
return RefreshCode::RefreshNone;
|
||||
}
|
||||
|
||||
unsigned TrackPanelCell::CaptureKey(
|
||||
wxKeyEvent &event, ViewInfo &, wxWindow *, AudacityProject *)
|
||||
{
|
||||
event.Skip();
|
||||
return RefreshCode::RefreshNone;
|
||||
}
|
||||
|
||||
unsigned TrackPanelCell::KeyDown(
|
||||
wxKeyEvent &event, ViewInfo &, wxWindow *, AudacityProject *)
|
||||
{
|
||||
event.Skip();
|
||||
return RefreshCode::RefreshNone;
|
||||
}
|
||||
|
||||
unsigned TrackPanelCell::KeyUp(
|
||||
wxKeyEvent &event, ViewInfo &, wxWindow *, AudacityProject *)
|
||||
{
|
||||
event.Skip();
|
||||
return RefreshCode::RefreshNone;
|
||||
}
|
||||
|
||||
unsigned TrackPanelCell::Char(
|
||||
wxKeyEvent &event, ViewInfo &, wxWindow *, AudacityProject *)
|
||||
{
|
||||
event.Skip();
|
||||
return RefreshCode::RefreshNone;
|
||||
}
|
||||
|
||||
IsVisibleTrack::IsVisibleTrack(AudacityProject *project)
|
||||
: mPanelRect {
|
||||
wxPoint{ 0, ViewInfo::Get( *project ).vpos },
|
||||
|
||||
Reference in New Issue
Block a user