mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-20 09:31:15 +02:00
Draw diagonal grabber and background in themed colours.
This commit is contained in:
@@ -183,10 +183,9 @@ void ToolFrame::OnPaint( wxPaintEvent & WXUNUSED(event) )
|
|||||||
wxSize sz = GetSize();
|
wxSize sz = GetSize();
|
||||||
wxRect r;
|
wxRect r;
|
||||||
|
|
||||||
dc.SetPen( wxColour( 90, 90, 90 ) );
|
dc.SetPen( theTheme.Colour( clrTrackPanelText) );
|
||||||
|
|
||||||
#if !defined(__WXMAC__)
|
#if !defined(__WXMAC__)
|
||||||
wxBrush clearer( wxColour( 60,60,60 ));
|
wxBrush clearer( theTheme.Colour( clrMedium ));
|
||||||
dc.SetBackground( clearer );
|
dc.SetBackground( clearer );
|
||||||
dc.Clear();
|
dc.Clear();
|
||||||
dc.SetBrush( *wxTRANSPARENT_BRUSH );
|
dc.SetBrush( *wxTRANSPARENT_BRUSH );
|
||||||
|
Reference in New Issue
Block a user