mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-07 07:39: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 ));
|
//pPage->SetBackgroundColour( theTheme.Colour( clrDark ));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
pPage->SetBackgroundColour(*wxRED);
|
||||||
|
|
||||||
wxBoxSizer *bs;
|
wxBoxSizer *bs;
|
||||||
{
|
{
|
||||||
auto ubs = std::make_unique<wxBoxSizer>(wxVERTICAL);
|
auto ubs = std::make_unique<wxBoxSizer>(wxVERTICAL);
|
||||||
|
@ -661,6 +661,8 @@ void ToolBar::MakeRecoloredImage( teBmps eBmpOut, teBmps eBmpIn )
|
|||||||
#else
|
#else
|
||||||
wxColour newColour = wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE );
|
wxColour newColour = wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
newColour = wxColour( 60,60,60 );
|
||||||
wxColour baseColour = wxColour( 204, 204, 204 );
|
wxColour baseColour = wxColour( 204, 204, 204 );
|
||||||
|
|
||||||
auto pPattern = ChangeImageColour( pSrc, baseColour, newColour );
|
auto pPattern = ChangeImageColour( pSrc, baseColour, newColour );
|
||||||
|
@ -355,7 +355,7 @@ ToolDock::ToolDock( ToolManager *manager, wxWindow *parent, int dockid ):
|
|||||||
|
|
||||||
// Init
|
// Init
|
||||||
mManager = manager;
|
mManager = manager;
|
||||||
|
SetBackgroundColour(*wxRED);
|
||||||
// Use for testing gaps
|
// Use for testing gaps
|
||||||
// SetOwnBackgroundColour( wxColour( 255, 0, 0 ) );
|
// SetOwnBackgroundColour( wxColour( 255, 0, 0 ) );
|
||||||
}
|
}
|
||||||
|
@ -196,6 +196,8 @@ class ToolFrame final : public wxFrame
|
|||||||
|
|
||||||
#if !defined(__WXMAC__)
|
#if !defined(__WXMAC__)
|
||||||
dc.SetBackground(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)));
|
dc.SetBackground(wxBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)));
|
||||||
|
wxBrush clearer( wxColour( 60,60,60 ));
|
||||||
|
dc.SetBackground( clearer );
|
||||||
dc.Clear();
|
dc.Clear();
|
||||||
dc.SetBrush( *wxTRANSPARENT_BRUSH );
|
dc.SetBrush( *wxTRANSPARENT_BRUSH );
|
||||||
dc.DrawRectangle( 0, 0, sz.GetWidth(), sz.GetHeight() );
|
dc.DrawRectangle( 0, 0, sz.GetWidth(), sz.GetHeight() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user