Re: [Gmath-devel] GMatH News and Questions
Status: Pre-Alpha
Brought to you by:
aurag
From: Adrian F. <fe...@ma...> - 2000-04-14 12:59:34
|
What you have to do is to parse the color you want, "light blue", for example, using gdk_color_parse. Then you get the fields color.red/green/blue. After that you use gdk_color_alloc to get the best match according to your X color depth, you don't have to care about that. Hope this helps, <ADRIAN> On Thu, 13 Apr 2000, Hassan Aurag wrote: > I was really talking about available colors and not all colors. It > seems however gtk font select has this and shows them. Of course, > available colors depend on your X depth (8 bit, 16, 24, 32) > > Any other ideas? > > > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > > On 4/7/00, 7:42:05 AM, Adrian Feiguin <fe...@ma...> wrote > regarding Re: [Gmath-devel] GMatH News and Questions: > > > > > -Anyone knows how to get the rgb list of colors on your system, or > > > the gnome strings associated with them? > > > > > > You'll find a list here: > > > /usr/X11R6/lib/X11/rgb.txt > > > Regards, > > <ADRIAN> > > > > |