discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trying to set selectedTextBackgroundColor


From: Fred Kiefer
Subject: Re: trying to set selectedTextBackgroundColor
Date: Thu, 04 Jul 2002 00:11:38 +0200

THis was broken through the change I made some time ago to load the
system colours from a coulour list. As the feature to change the colours
in the defaults file seems to be quite popular I readded it. Now you may
either store a new system colour list or add some entries into your
defautls file, where the later takes precedence.
But remember that the colours must be stored there directly as explained
by Richard. Defining a colour list here has never been supported.
I played a bit with very strange colour settings:

        controlBackgroundColor = "0.89 0.0 0.89";
        controlColor = "0.89 0.89 0.0";
        textBackgroundColor = "0.3 0.3 0.0";
        windowBackgroundColor = "0.0 0.89 0.89";

They look horrible, but the good thing about them is that they show that
we still have some inconsistencies in GNUstep. Some images are not
transparent (As the slider arrows), the bezel border files the whole
control...

Cheers Fred

Richard Frith-Macdonald wrote:
> 
> On Wednesday, July 3, 2002, at 12:50 AM, Jim Balhoff wrote:
> 
> > Hi,
> >
> > I am still trying to change the highlight color of text.  From
> > NSColor.h, I found that I need to set selectedTextBackgroundColor.
> > I've been trying commands like this:
> <snip>
> > Any suggestions?
> 
> Sorry, I don't have time right now to look at the code and check.
> The use of NSDefaults to set system colors used to work (I know 'cos I
> wrote it and
> tested it), but people have worked on the code since I last used it, and
> it may have
> been broken.
> 
> The simple format for specifying colors should be as three floating
> point numbers
> (rgb in the range 0.0 to 1.0) separated by white space.
> 
> eg.
> 
> defaults write NSGlobalDomain selectedTextBackgroundColor '0.0 1.0 0.0'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]