[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trying to set selectedTextBackgroundColor
From: |
Chris B . Vetter |
Subject: |
Re: trying to set selectedTextBackgroundColor |
Date: |
Tue, 2 Jul 2002 17:27:58 -0700 |
On Tue, 02 Jul 2002 19:50:00 -0400
Jim Balhoff <balhoff@mac.com> wrote:
> 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:
> defaults write NSGlobalDomain selectedTextBackgroundColor '(0, 255, 0)'
> or
> defaults write NSGlobalDomain selectedTextBackgroundColor '(0, 1, 0)'
The colour definitions are not in X11 rbg style ...
NSGlobalDomain = {
[...]
System = {
controlBackgroundColor = "0.89 0.89 0.89";
controlColor = "0.89 0.89 0.89";
textBackgroundColor = "0.89 0.89 0.89";
windowBackgroundColor = "0.89 0.89 0.89";
};
[...]
However, changing the values doesn't seem to work. At least not in Ink.app.
> I was expecting one of these to produce a green color, but actually after
> checking in Ink and GNUMail it appears that neither do a thing. My
> highlight color is still a pale blue.
It's lightGray (0.667 0.667 0.667), not "pale blue", according to
gui/Source/NSColor.m and gui/Source/externs.m
--
Chris