1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 17:49:45 +02:00

some const

This commit is contained in:
Paul Licameli 2017-06-04 11:52:56 -04:00
parent 9816cc8c7b
commit 71b63843a7
3 changed files with 6 additions and 6 deletions

View File

@ -321,9 +321,9 @@ void TrackArtist::SetInset(int left, int top, int right, int bottom)
void TrackArtist::DrawTracks(TrackList * tracks, void TrackArtist::DrawTracks(TrackList * tracks,
Track * start, Track * start,
wxDC & dc, wxDC & dc,
wxRegion & reg, const wxRegion & reg,
wxRect & rect, const wxRect & rect,
wxRect & clip, const wxRect & clip,
const SelectedRegion &selectedRegion, const SelectedRegion &selectedRegion,
const ZoomInfo &zoomInfo, const ZoomInfo &zoomInfo,
bool drawEnvelope, bool drawEnvelope,

View File

@ -53,8 +53,8 @@ class AUDACITY_DLL_API TrackArtist {
void SetColours(); void SetColours();
void DrawTracks(TrackList *tracks, Track *start, void DrawTracks(TrackList *tracks, Track *start,
wxDC & dc, wxRegion & reg, wxDC & dc, const wxRegion & reg,
wxRect & rect, wxRect & clip, const wxRect & rect, const wxRect & clip,
const SelectedRegion &selectedRegion, const ZoomInfo &zoomInfo, const SelectedRegion &selectedRegion, const ZoomInfo &zoomInfo,
bool drawEnvelope, bool bigPoints, bool drawSliders); bool drawEnvelope, bool bigPoints, bool drawSliders);

View File

@ -7091,7 +7091,7 @@ void TrackPanel::DrawTracks(wxDC * dc)
{ {
wxRegion region = GetUpdateRegion(); wxRegion region = GetUpdateRegion();
wxRect clip = GetRect(); const wxRect clip = GetRect();
wxRect panelRect = clip; wxRect panelRect = clip;
panelRect.y = -mViewInfo->vpos; panelRect.y = -mViewInfo->vpos;