Re: Handheld infrastructure

From: Jim Gettys <jg.a.t.pa.dec.com>
Date: Tue Aug 22 2000 - 09:48:15 EDT

Unfortunately, we didn't know about that hack way back when X was young...

It is a good one, but most X servers don't have preallocated colors in
pseudocolor, and it doesn't work at all for truecolor displays.
                                - Jim

> Sender: handhelds-admin@handhelds.org
> From: "Greg Haerr" <greg@censoft.com>
> Date: Mon, 21 Aug 2000 23:28:11 -0600
> To: "Christopher J Mason" <cmason@cmu.edu>,
> "Keith Packard" <keithp@keithp.com>
> Cc: <handhelds@handhelds.org>
> Subject: Re: [Handhelds] Handheld infrastructure
> -----
> : They do grab the server and use XOR to draw "erasable" lines. This works
> : great on monochrome screens but is hardly visible over color images. A
> : more general mechanism to create reversable drawing is needed for ink on
> : color screens.
>
> Well, the way Windows does it is by allocating a standard
> set of colors (20) and allocating them 10 at the bottom and
> 10 at the top of the palette, with application-requested
> colors being placed in between. In this way, with the
> 20 colors sorted properly, the XOR drawing modes always
> produce the easily noticed inverse color.
>
> Regards,
>

--
Jim Gettys
Technology and Corporate Development
Compaq Computer Corporation
jg@pa.dec.com
Received on Tue Aug 22 06:44:25 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:42:16 EDT