discuss-gnustep
[Top][All Lists]
Advanced

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

Re: How to change system colors?


From: Richard Frith-Macdonald
Subject: Re: How to change system colors?
Date: Sun, 22 Apr 2001 12:11:36 +0100

On Sunday, April 22, 2001, at 10:23 AM, Stefan Urbanek wrote:

Hi

I would like to ask, how it is possible to change system colors?

I've used this:

defaults write NSGlobalDomain controlBackgroundColor '{ ColorSpace = NSCalibratedRGBColorSpace ; R = "0.0"; G = "0.0"; B = "1.0"; }'

But when I run Ink.app it looks the same.

It used to work a year or two ago ....

I have looked at the code and fixed a couple of bugs, one in color lists, and one in the handling of the settings from user defaults (which would definately have stopped your example working).

Either you need to update from CVS, or you could try using the format ...

defaults write NSGlobalDomain controlBackgroundColor '0 0 1'

which is the old (and simpler) format for setting colors.
ie. a string consisting of three numbers is a calibrated RGB color ... which is what is
appropriate for system colors.



reply via email to

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