mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 09:01:13 +02:00
Fix a confusion in argument names. No change in behavior
This commit is contained in:
parent
75bf6f90e4
commit
02ee10d98d
@ -8175,8 +8175,8 @@ void TrackPanel::EnsureVisible(Track * t)
|
|||||||
// Draw a rectangular border and also a vertical separator of track controls
|
// Draw a rectangular border and also a vertical separator of track controls
|
||||||
// from the rest (ruler and proper track area)
|
// from the rest (ruler and proper track area)
|
||||||
void TrackPanel::DrawBordersAroundTrack(Track * t, wxDC * dc,
|
void TrackPanel::DrawBordersAroundTrack(Track * t, wxDC * dc,
|
||||||
const wxRect & rect, const int vrul,
|
const wxRect & rect, const int labelw,
|
||||||
const int labelw)
|
const int vrul)
|
||||||
{
|
{
|
||||||
// Border around track and label area
|
// Border around track and label area
|
||||||
// leaving room for the shadow
|
// leaving room for the shadow
|
||||||
@ -8186,7 +8186,8 @@ void TrackPanel::DrawBordersAroundTrack(Track * t, wxDC * dc,
|
|||||||
rect.width - kShadowThickness,
|
rect.width - kShadowThickness,
|
||||||
rect.height - kShadowThickness);
|
rect.height - kShadowThickness);
|
||||||
|
|
||||||
AColor::Line(*dc, labelw, rect.y, labelw, rect.y + rect.height - 1); // between vruler and TrackInfo
|
// between vruler and TrackInfo
|
||||||
|
AColor::Line(*dc, vrul, rect.y, vrul, rect.y + rect.height - 1);
|
||||||
|
|
||||||
// The lines at bottom of 1st track and top of second track of stereo group
|
// The lines at bottom of 1st track and top of second track of stereo group
|
||||||
// Possibly replace with DrawRectangle to add left border.
|
// Possibly replace with DrawRectangle to add left border.
|
||||||
@ -8201,8 +8202,8 @@ void TrackPanel::DrawBordersAroundTrack(Track * t, wxDC * dc,
|
|||||||
// Draw (part of) the bottom border of the top channel and top border of the bottom
|
// Draw (part of) the bottom border of the top channel and top border of the bottom
|
||||||
// At left it extends between the vertical rulers too
|
// At left it extends between the vertical rulers too
|
||||||
// These lines stroke over what is otherwise "border" of each channel
|
// These lines stroke over what is otherwise "border" of each channel
|
||||||
AColor::Line(*dc, vrul, h1 - kBottomMargin, rect.x + rect.width - 1, h1 - kBottomMargin);
|
AColor::Line(*dc, labelw, h1 - kBottomMargin, rect.x + rect.width - 1, h1 - kBottomMargin);
|
||||||
AColor::Line(*dc, vrul, h1 + kTopInset, rect.x + rect.width - 1, h1 + kTopInset);
|
AColor::Line(*dc, labelw, h1 + kTopInset, rect.x + rect.width - 1, h1 + kTopInset);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user