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

Move drawing code for margins and separators

This commit is contained in:
Paul Licameli
2018-11-03 00:34:49 -04:00
parent b881a6e918
commit 1ca079b503
5 changed files with 86 additions and 135 deletions

View File

@@ -183,14 +183,6 @@ 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 ClearSeparator (
TrackPanelDrawingContext &context, const wxRect & rect);
void DrawSash (
wxDC* dc, const wxRect & rect, int labelw, bool bSelected );
public:
// Set the object that performs catch-all event handling when the pointer