Re: FVWM: picky picky : shadow/hilight colors

From: Dominik Vogt <dominik.vogt_at_fvwm.org>
Date: Mon, 20 Dec 1999 10:59:00 +0100

On Mon, Dec 20, 1999 at 09:08:28AM +0000, gsez020_at_compo.bedford.waii.com wrote:
> Dominik Vogt writes:
> > As far as I know CDE even adapts the actual colours it uses to your
> > display hardware. That is why CDE's colours look the same
> > regardless of the machine you have. This is far beyond everything
> > we tried to code yet.
>
>...
>
> If you really want to get the same colours as CDE, link in the Motif
> library and call XmGetColors(). That returns foreground, select, and
> shadow colours for a given background. In my experience the
> underlying algorithm is different in each of Motif 1.1, 1.2 (CDE 1.0),
> and 2.1 (CDE 2.1).

Ah, thanks for the info. The algorithm that lesstif uses does
indeed look like what CDE does. Dan, do you feel inclined to
port lesstif's algorithm to fvwm? I've attached the source file
with the code. Look for the '_XmColorProcDefaultProc' function.

Bye

Dominik ^_^

-- 
Dominik Vogt, Agilent Technologies, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/464-4596, fax: 07031/464-3883, dominik_vogt_at_agilent.com
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Dec 20 1999 - 04:00:18 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST