swarm-support
[Top][All Lists]
Advanced

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

Re: rgb from Colormap


From: Marcus G. Daniels
Subject: Re: rgb from Colormap
Date: 22 Mar 2001 12:58:47 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "RS" == Ralf Stephan <address@hidden> writes:

RS> is there a way to get RGB info from Colormap, presumably
RS> through the Tk layer (couldn't find anything on this)?  Or is it
RS> the only way to cache color settings and give them back or, using
RS> X11, calculate RGB from color names?

The Colormap stuff sits directly on top of X11 colormaps and GDI palettes,
so it means dealing with those interfaces.  It might be possible to get
by with X11 interfaces, since the Tk support for Windows has some
compatibility routines that are there just to facilitate the port.
See "man XLookupColor" for starters..

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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