On Fri, Oct 12, 2012 at 11:45:25AM +0200, Jürgen Schmidt wrote:
> On 10/12/12 11:24 AM, Joost Andrae wrote:
> > Hi,
> > 
> >> Examples:
> >> http://people.apache.org/~jsc/test/aoo_new_defautl_background.png
> >> http://people.apache.org/~jsc/test/aoo_new_defautl_background2.png
> >>
> >> I know that probably many have an opinion about the color. But more
> >> important for now is the question if we want such a change in general.
> >> In the end the color should fit to other branding items as well.
> >>
> >> UX has probably some comments and feedback here as well?
> >>
> > 
> > how about to make this background configurable ?
> 
> it is already ;-) See Tools->Options->Appearance->Application
> background. I am talking about a new default only and fixing the start
> center problem.

The start center ignores the Appearance configuration (something like
svtools::ColorConfig().GetColorValue(svtools::APPBACKGROUND).nColor) and
uses instead the "workspace gradient", see
framework::BackingWindow::Paint() in
trunk/main/framework/source/services/backingwindow.hxx|cxx

The default is defined in trunk/main/vcl/inc/vcl/settings.hxx

#define DEFAULT_WORKSPACE_GRADIENT_START_COLOR Color( 0xa3, 0xae, 0xb8 )
#define DEFAULT_WORKSPACE_GRADIENT_END_COLOR Color( 0x73, 0x7e, 0x88 )


and set in void ImplStyleData::SetStandardStyles()
main/vcl/source/app/settings.cxx

In dark themes it is set to black, see 
void Window::ImplUpdateGlobalSettings( AllSettings& rSettings, sal_Bool 
bCallHdl )
in main/vcl/source/window/window.cxx

It looks like playing with this should take also into account high
contrast / dark themes, because leaving the default app. background in
the Tools dialog makes the background change accordingly. That said, AOO
look really horrible in dark themes, but that's another issue :)


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: pgpJ5riR0YGp2.pgp
Description: PGP signature

Reply via email to