Background color
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.
The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.
The final version of Audacity for Windows 98/ME is the legacy 2.0.0 version.
Background color
Hi all. I'm new to the Audacity code base. I was wondering if anyone knew how I could change the background color of the scroller area? I was able to change the main panel color in Project.cpp by doing a "pPage->SetBackgroundColour(theTheme.Colour( newColor ));" but the scroller background color remains gray. Thank you in advance!
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Background color
Unfortunately I don't know much about Theming and colours. From the comment above this line:
that code is commented out because it can lead to the scroller background being painted as clrDark. So the intention of enabling that line is *not* to change the scroller background. Is the whole of the scroller background still the original light grey?
James knows most about these matters, so I would suggest you subscribe to audacity-devel mailing list and ask there for some pointers.
Gale
Code: Select all
//pPage->SetBackgroundColour( theTheme.Colour( clrDark ));
James knows most about these matters, so I would suggest you subscribe to audacity-devel mailing list and ask there for some pointers.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Background color
Hi Gale,
Thanks for your reply. Yes, the scroller background area stays in the default light gray
Thanks for your reply. Yes, the scroller background area stays in the default light gray
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Background color
If you uncomment that line with no other changes it paints the entire scroller background black without changing the background colour.Gale Andrews wrote:Unfortunately I don't know much about Theming and colours. From the comment above this line:that code is commented out because it can lead to the scroller background being painted as clrDark.Code: Select all
//pPage->SetBackgroundColour( theTheme.Colour( clrDark ));
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Background color
Hi Gale,
When I uncomment that clrDark line, I see the areas surrounding the scroller background area to be dark, but the scroller background stays light gray. Have you changed something else?
Thanks!!
When I uncomment that clrDark line, I see the areas surrounding the scroller background area to be dark, but the scroller background stays light gray. Have you changed something else?
Thanks!!
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Background color
No, all I did was remove the "//" from in front of that line, so:francine wrote:Hi Gale,
When I uncomment that clrDark line, I see the areas surrounding the scroller background area to be dark, but the scroller background stays light gray. Have you changed something else?
Code: Select all
pPage->SetBackgroundColour( theTheme.Colour( clrDark ));
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual