mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Translucent background to track name (on Mac)
Mac only, as mac supports translucent brushes by default. wxWidgets makes using a wxDC and wxGraphicContext at the same time complex and slow. Hence just for mac.
This commit is contained in:
@@ -78,7 +78,7 @@ class AColor {
|
||||
static void BevelTrackInfo(wxDC & dc, bool up, const wxRect & r, bool highlight = false);
|
||||
static wxColour Blend(const wxColour & c1, const wxColour & c2);
|
||||
|
||||
static void UseThemeColour( wxDC * dc, int iBrush, int iPen=-1 );
|
||||
static void UseThemeColour( wxDC * dc, int iBrush, int iPen=-1, int alpha = 255 );
|
||||
static void TrackPanelBackground(wxDC * dc, bool selected);
|
||||
|
||||
static void Light(wxDC * dc, bool selected, bool highlight = false);
|
||||
|
||||
Reference in New Issue
Block a user