mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-12 07:36:24 +01:00
Make FocusRect visible on Dark Themes.
Now uses clrTrackPanelText for the focus rect dots.
This commit is contained in:
@@ -181,13 +181,14 @@ void AColor::DrawFocus(wxDC & dc, wxRect & rect)
|
|||||||
// other platforms.
|
// other platforms.
|
||||||
dc.SetPen(wxPen(wxT("MEDIUM GREY"), 1, wxSOLID));
|
dc.SetPen(wxPen(wxT("MEDIUM GREY"), 1, wxSOLID));
|
||||||
|
|
||||||
dc.SetLogicalFunction(wxCOPY);
|
//dc.SetLogicalFunction(wxCOPY);
|
||||||
#else
|
#else
|
||||||
dc.SetPen(wxPen(wxT("MEDIUM GREY"), 0, wxSOLID));
|
UseThemeColour( &dc, clrTrackPanelText );
|
||||||
|
//dc.SetPen(wxPen(wxT("MEDIUM GREY"), 0, wxSOLID));
|
||||||
|
|
||||||
// this seems to be closer than what Windows does than wxINVERT although
|
// this seems to be closer than what Windows does than wxINVERT although
|
||||||
// I'm still not sure if it's correct
|
// I'm still not sure if it's correct
|
||||||
dc.SetLogicalFunction(wxAND_REVERSE);
|
//dc.SetLogicalFunction(wxAND_REVERSE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
wxCoord z;
|
wxCoord z;
|
||||||
|
|||||||
Reference in New Issue
Block a user