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

FindTrackRect omits all margins; better screen reader focus rects...

... Formerly it was outside of the yellow focus at the right side.  Now it
follows the yellow consistently on four sides.

The constant dx in TrackPanelAx::GetLocation might be adjusted.

No change of behavior is intended at other uses of FindTrackRect
This commit is contained in:
Paul Licameli
2017-06-04 10:55:46 -04:00
parent 134c1ff47a
commit c38efc1fcd
4 changed files with 33 additions and 17 deletions

View File

@@ -563,6 +563,9 @@ protected:
};
virtual FoundCell FindCell(int mouseX, int mouseY);
// If label, rectangle includes track control panel only.
// If !label, rectangle includes all of that, and the vertical ruler, and
// the proper track area.
virtual wxRect FindTrackRect(Track * target, bool label);
virtual int GetVRulerWidth() const;