1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-11 15:16:27 +01:00

Remove some uses of Track::GetHeight()...

Pass top-left point, not a rectangle, to places that did not use width or
height.
This commit is contained in:
Paul Licameli
2017-06-04 08:29:32 -04:00
parent 5395f253bf
commit afd3b0ba19
2 changed files with 31 additions and 28 deletions

View File

@@ -118,10 +118,10 @@ private:
void GetTitleBarRect(const wxRect & rect, wxRect &dest) const;
void GetMuteSoloRect(const wxRect & rect, wxRect &dest, bool solo, bool bHasSoloButton,
const Track *pTrack) const;
void GetGainRect(const wxRect & rect, wxRect &dest) const;
void GetPanRect(const wxRect & rect, wxRect &dest) const;
void GetGainRect(const wxPoint & topLeft, wxRect &dest) const;
void GetPanRect(const wxPoint & topLeft, wxRect &dest) const;
#ifdef EXPERIMENTAL_MIDI_OUT
void GetVelocityRect(const wxRect & rect, wxRect &dest) const;
void GetVelocityRect(const wxPoint & topLeft, wxRect &dest) const;
#endif
void GetMinimizeRect(const wxRect & rect, wxRect &dest) const;
void GetSyncLockIconRect(const wxRect & rect, wxRect &dest) const;