mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-04 17:49:45 +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,
|
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,
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user