[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fvwm
Subject:    Re: FVWM: picky picky : shadow/hilight colors
From:       Dominik Vogt <dominik.vogt () fvwm ! org>
Date:       1999-12-20 10:58:00
[Download RAW message or body]

On Mon, Dec 20, 1999 at 10:59:00AM +0100, dominik.vogt@fvwm.org wrote:
> On Mon, Dec 20, 1999 at 09:08:28AM +0000, gsez020@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.

... and the attachment ...

Bye

Dominik ^_^

-- 
Dominik Vogt, Agilent Technologies, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/464-4596, fax: 07031/464-3883, dominik_vogt@agilent.com

["Visual.c.gz" (application/octet-stream)]
--
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@fvwm.org.
To report problems, send mail to fvwm-owner@fvwm.org.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic