1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-05 22:59:29 +02:00

Tracking down background colours.

This commit is contained in:
James Crook 2016-06-20 22:45:03 +01:00
parent 3cb147c237
commit 3e28a7afb1
4 changed files with 7 additions and 1 deletions

View File

@ -929,6 +929,8 @@ AudacityProject::AudacityProject(wxWindow * parent, wxWindowID id,
//pPage->SetBackgroundColour( theTheme.Colour( clrDark ));
#endif
pPage->SetBackgroundColour(*wxRED);
wxBoxSizer *bs;
{
auto ubs = std::make_unique<wxBoxSizer>(wxVERTICAL);

View File

@ -661,6 +661,8 @@ void ToolBar::MakeRecoloredImage( teBmps eBmpOut, teBmps eBmpIn )
#else
wxColour newColour = wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE );
#endif
newColour = wxColour( 60,60,60 );
wxColour baseColour = wxColour( 204, 204, 204 );
auto pPattern = ChangeImageColour( pSrc, baseColour, newColour );

View File

@ -355,7 +355,7 @@ ToolDock::ToolDock( ToolManager *manager, wxWindow *parent, int dockid ):
// Init
mManager = manager;
SetBackgroundColour(*wxRED);
// Use for testing gaps
// SetOwnBackgroundColour( wxColour( 255, 0, 0 ) );
}

View File

@ -196,6 +196,8 @@ class ToolFrame final : public wxFrame
#if !defined(__WXMAC__)
dc.SetBackground(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)));
wxBrush clearer( wxColour( 60,60,60 ));
dc.SetBackground( clearer );
dc.Clear();
dc.SetBrush( *wxTRANSPARENT_BRUSH );
dc.DrawRectangle( 0, 0, sz.GetWidth(), sz.GetHeight() );