1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-22 00:47:13 +01:00

Remove calls to TrackPanel::FindTrackRect for finding control area

This commit is contained in:
Paul Licameli
2018-11-19 11:03:41 -05:00
parent 6f31a9f7dc
commit 15777834e0
5 changed files with 15 additions and 15 deletions

View File

@@ -341,10 +341,9 @@ public:
void MakeParentRedrawScrollbars();
// If label, rectangle includes track control panel only.
// If !label, rectangle includes all of that, and the vertical ruler, and
// the proper track area.
wxRect FindTrackRect( const Track * target, bool label );
// Rectangle includes track control panel, and the vertical ruler, and
// the proper track area of all channels, and the separators between them.
wxRect FindTrackRect( const Track * target );
protected:
void MakeParentModifyState(bool bWantsAutoSave); // if true, writes auto-save file. Should set only if you really want the state change restored after