mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-24 23:33:50 +02:00
Line to mark off scrub ruler.
Provides a clear boundary between scrub ruler and quick select ruler, even if the theme colours have been warped to be very similar. Thanks to Gale for spotting this problem on Mac.
This commit is contained in:
@@ -281,13 +281,15 @@ void AColor::BevelTrackInfo(wxDC & dc, bool up, const wxRect & r)
|
||||
#endif
|
||||
}
|
||||
|
||||
void AColor::UseThemeColour( wxDC * dc, int iIndex )
|
||||
void AColor::UseThemeColour( wxDC * dc, int iIndex, int index2 )
|
||||
{
|
||||
if (!inited)
|
||||
Init();
|
||||
wxColour col = theTheme.Colour( iIndex );
|
||||
spareBrush.SetColour( col );
|
||||
dc->SetBrush( spareBrush );
|
||||
if( index2 != -1)
|
||||
col = theTheme.Colour( index2 );
|
||||
sparePen.SetColour( col );
|
||||
dc->SetPen( sparePen );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user