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:
parent
3cb147c237
commit
3e28a7afb1
@ -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);
|
||||
|
@ -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 );
|
||||
|
@ -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 ) );
|
||||
}
|
||||
|
@ -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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user