mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
weaken dependency of TrackPanel.cpp on LabelTrack.h, a bit
This commit is contained in:
@@ -1130,6 +1130,17 @@ double LabelTrack::GetEndTime() const
|
||||
return end;
|
||||
}
|
||||
|
||||
Track *LabelTrack::Duplicate()
|
||||
{
|
||||
return new LabelTrack(*this);
|
||||
}
|
||||
|
||||
void LabelTrack::SetSelected(bool s)
|
||||
{
|
||||
Track::SetSelected(s);
|
||||
if (!s)
|
||||
Unselect();
|
||||
}
|
||||
|
||||
/// OverGlyph returns 0 if not over a glyph,
|
||||
/// 1 if over the left-hand glyph, and
|
||||
|
||||
Reference in New Issue
Block a user