mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 09:39:42 +02:00
some const
This commit is contained in:
parent
9816cc8c7b
commit
71b63843a7
@ -321,9 +321,9 @@ void TrackArtist::SetInset(int left, int top, int right, int bottom)
|
||||
void TrackArtist::DrawTracks(TrackList * tracks,
|
||||
Track * start,
|
||||
wxDC & dc,
|
||||
wxRegion & reg,
|
||||
wxRect & rect,
|
||||
wxRect & clip,
|
||||
const wxRegion & reg,
|
||||
const wxRect & rect,
|
||||
const wxRect & clip,
|
||||
const SelectedRegion &selectedRegion,
|
||||
const ZoomInfo &zoomInfo,
|
||||
bool drawEnvelope,
|
||||
|
@ -53,8 +53,8 @@ class AUDACITY_DLL_API TrackArtist {
|
||||
|
||||
void SetColours();
|
||||
void DrawTracks(TrackList *tracks, Track *start,
|
||||
wxDC & dc, wxRegion & reg,
|
||||
wxRect & rect, wxRect & clip,
|
||||
wxDC & dc, const wxRegion & reg,
|
||||
const wxRect & rect, const wxRect & clip,
|
||||
const SelectedRegion &selectedRegion, const ZoomInfo &zoomInfo,
|
||||
bool drawEnvelope, bool bigPoints, bool drawSliders);
|
||||
|
||||
|
@ -7091,7 +7091,7 @@ void TrackPanel::DrawTracks(wxDC * dc)
|
||||
{
|
||||
wxRegion region = GetUpdateRegion();
|
||||
|
||||
wxRect clip = GetRect();
|
||||
const wxRect clip = GetRect();
|
||||
|
||||
wxRect panelRect = clip;
|
||||
panelRect.y = -mViewInfo->vpos;
|
||||
|
Loading…
x
Reference in New Issue
Block a user