Change some argument names. I don't like one-letter variable names.
This commit is contained in:
parent
68174ad657
commit
9a22b94d99
File diff suppressed because it is too large
Load Diff
|
@ -52,17 +52,17 @@ class AUDACITY_DLL_API TrackArtist {
|
|||
void SetColours();
|
||||
void DrawTracks(TrackList *tracks, Track *start,
|
||||
wxDC & dc, wxRegion & reg,
|
||||
wxRect & r, wxRect & clip, ViewInfo *viewInfo,
|
||||
bool drawEnvelope, bool drawSamples, bool drawSliders);
|
||||
wxRect & rect, wxRect & clip, ViewInfo *viewInfo,
|
||||
bool drawEnvelope, bool bigPoints, bool drawSliders);
|
||||
|
||||
void DrawTrack(const Track *t,
|
||||
wxDC & dc, const wxRect & r, const ViewInfo *viewInfo,
|
||||
bool drawEnvelope, bool drawSamples, bool drawSliders,
|
||||
wxDC & dc, const wxRect & rect, const ViewInfo *viewInfo,
|
||||
bool drawEnvelope, bool bigPoints, bool drawSliders,
|
||||
bool hasSolo);
|
||||
|
||||
void DrawVRuler(Track *t, wxDC *dc, wxRect & r);
|
||||
void DrawVRuler(Track *t, wxDC *dc, wxRect & rect);
|
||||
|
||||
void UpdateVRuler(Track *t, wxRect & r);
|
||||
void UpdateVRuler(Track *t, wxRect & rect);
|
||||
|
||||
void SetInset(int left, int top, int right, int bottom);
|
||||
|
||||
|
@ -90,10 +90,10 @@ class AUDACITY_DLL_API TrackArtist {
|
|||
}
|
||||
|
||||
// Helper: draws the "sync-locked" watermark tiled to a rectangle
|
||||
static void DrawSyncLockTiles(wxDC *dc, wxRect r);
|
||||
static void DrawSyncLockTiles(wxDC *dc, wxRect rect);
|
||||
|
||||
// Helper: draws background with selection rect
|
||||
static void DrawBackgroundWithSelection(wxDC *dc, const wxRect &r,
|
||||
static void DrawBackgroundWithSelection(wxDC *dc, const wxRect &rect,
|
||||
Track *track, wxBrush &selBrush, wxBrush &unselBrush,
|
||||
double sel0, double sel1, double h, double pps);
|
||||
|
||||
|
@ -104,67 +104,67 @@ class AUDACITY_DLL_API TrackArtist {
|
|||
//
|
||||
|
||||
void DrawWaveform(WaveTrack *track,
|
||||
wxDC & dc, const wxRect & r, const ViewInfo *viewInfo,
|
||||
bool drawEnvelope, bool drawSamples, bool drawSliders,
|
||||
wxDC & dc, const wxRect & rect, const ViewInfo *viewInfo,
|
||||
bool drawEnvelope, bool bigPoints, bool drawSliders,
|
||||
bool dB, bool muted);
|
||||
|
||||
void DrawSpectrum(WaveTrack *track,
|
||||
wxDC & dc, const wxRect & r, const ViewInfo *viewInfo);
|
||||
wxDC & dc, const wxRect & rect, const ViewInfo *viewInfo);
|
||||
#ifdef USE_MIDI
|
||||
int GetBottom(NoteTrack *t, const wxRect &r);
|
||||
int GetBottom(NoteTrack *t, const wxRect &rect);
|
||||
void DrawNoteBackground(NoteTrack *track, wxDC &dc,
|
||||
const wxRect &r, const wxRect &sel,
|
||||
const wxRect &rect, const wxRect &sel,
|
||||
const ViewInfo *viewInfo,
|
||||
const wxBrush &wb, const wxPen &wp,
|
||||
const wxBrush &bb, const wxPen &bp,
|
||||
const wxPen &mp);
|
||||
void DrawNoteTrack(NoteTrack *track,
|
||||
wxDC & dc, const wxRect & r, const ViewInfo *viewInfo,
|
||||
wxDC & dc, const wxRect & rect, const ViewInfo *viewInfo,
|
||||
bool muted);
|
||||
#endif // USE_MIDI
|
||||
|
||||
void DrawLabelTrack(LabelTrack *track,
|
||||
wxDC & dc, const wxRect & r, const ViewInfo *viewInfo);
|
||||
wxDC & dc, const wxRect & rect, const ViewInfo *viewInfo);
|
||||
|
||||
void DrawTimeTrack(TimeTrack *track,
|
||||
wxDC & dc, const wxRect & r, const ViewInfo *viewInfo);
|
||||
wxDC & dc, const wxRect & rect, const ViewInfo *viewInfo);
|
||||
|
||||
void DrawTimeSlider(wxDC & dc, const wxRect & r,
|
||||
void DrawTimeSlider(wxDC & dc, const wxRect & rect,
|
||||
bool rightwards);
|
||||
|
||||
void DrawClipWaveform(WaveTrack *track, WaveClip *clip,
|
||||
wxDC & dc, const wxRect & r, const ViewInfo *viewInfo,
|
||||
bool drawEnvelope, bool drawSamples,
|
||||
wxDC & dc, const wxRect & rect, const ViewInfo *viewInfo,
|
||||
bool drawEnvelope, bool bigPoints,
|
||||
bool dB, bool muted);
|
||||
|
||||
void DrawClipSpectrum(WaveTrackCache &cache, WaveClip *clip,
|
||||
wxDC & dc, const wxRect & r, const ViewInfo *viewInfo);
|
||||
wxDC & dc, const wxRect & rect, const ViewInfo *viewInfo);
|
||||
|
||||
// Waveform utility functions
|
||||
|
||||
void DrawWaveformBackground(wxDC & dc, const wxRect &r, const double env[],
|
||||
void DrawWaveformBackground(wxDC & dc, const wxRect &rect, const double env[],
|
||||
float zoomMin, float zoomMax, bool dB,
|
||||
const sampleCount where[],
|
||||
sampleCount ssel0, sampleCount ssel1,
|
||||
bool drawEnvelope, bool bIsSyncLockSelected);
|
||||
void DrawMinMaxRMS(wxDC &dc, const wxRect &r, const double env[],
|
||||
void DrawMinMaxRMS(wxDC &dc, const wxRect &rect, const double env[],
|
||||
float zoomMin, float zoomMax, bool dB,
|
||||
const WaveDisplay &display, bool /* showProgress */, bool muted
|
||||
#ifdef EXPERIMENTAL_OUTPUT_DISPLAY
|
||||
, const float gain
|
||||
#endif
|
||||
);
|
||||
void DrawIndividualSamples(wxDC & dc, const wxRect & r,
|
||||
void DrawIndividualSamples(wxDC & dc, const wxRect & rect,
|
||||
float zoomMin, float zoomMax, bool dB,
|
||||
WaveClip *clip,
|
||||
double t0, double pps, double h,
|
||||
bool drawSamples, bool showPoints, bool muted);
|
||||
bool bigPoints, bool showPoints, bool muted);
|
||||
|
||||
void DrawNegativeOffsetTrackArrows(wxDC & dc, const wxRect & r);
|
||||
void DrawNegativeOffsetTrackArrows(wxDC & dc, const wxRect & rect);
|
||||
|
||||
void DrawEnvelope(wxDC & dc, const wxRect & r, const double env[],
|
||||
void DrawEnvelope(wxDC & dc, const wxRect & rect, const double env[],
|
||||
float zoomMin, float zoomMax, bool dB);
|
||||
void DrawEnvLine(wxDC & dc, const wxRect & r, int x, int y, int cy, bool top);
|
||||
void DrawEnvLine(wxDC & dc, const wxRect & rect, int x, int y, int cy, bool top);
|
||||
|
||||
// Preference values
|
||||
float mdBrange; // "/GUI/EnvdBRange"
|
||||
|
|
Loading…
Reference in New Issue