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

When drawing, treat track plus separator BELOW as the natural grouping...

... and treat the top margin of the first track specially.
This commit is contained in:
Paul Licameli
2018-11-01 00:03:00 -04:00
parent 3589aacd7c
commit 55774fbb29
2 changed files with 63 additions and 38 deletions

View File

@@ -377,9 +377,11 @@ protected:
void HighlightFocusedTrack (wxDC* dc, const wxRect &rect);
void DrawShadow ( wxDC* dc, const wxRect & rect );
void DrawBordersAroundTrack(wxDC* dc, const wxRect & rect );
void ClearTopMargin (
TrackPanelDrawingContext &context, const wxRect &clip);
void ClearLeftAndRightMargins (
TrackPanelDrawingContext &context, const wxRect & clip);
void ClearOutsideOfTrack (
void ClearSeparator (
TrackPanelDrawingContext &context, const wxRect & rect);
void DrawSash (
wxDC* dc, const wxRect & rect, int labelw, bool bSelected );