mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
... 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.
82 lines
1.5 KiB
C++
82 lines
1.5 KiB
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
TrackPanelCell.cpp
|
|
|
|
Paul Licameli split from TrackPanel.cpp
|
|
|
|
**********************************************************************/
|
|
|
|
#include "TrackPanelCell.h"
|
|
|
|
#include <wx/event.h>
|
|
#include "HitTestResult.h"
|
|
#include "RefreshCode.h"
|
|
|
|
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;
|
|
}
|