Re: [gtk-list] Re: Help with GtkColor




   XColor and GdkColor, both have red, green and blue fields, and are
   identical.

   Not real up on X, but the function I'm calling is expecting a XPixel color
   a number from 0-12345 (or some number, can't remember right now). Its the
   acual color of the pixel, not the RGB values... This value is neaded to be
   sent directly to the tuner hardware...

GdkColor also has a pixel field (as does XColor).  If everything else
has been set up right, it will contain the index you want.
-- 
Joseph J. Pfeiffer, Jr., Ph.D.       Phone -- (505) 646-1605
Department of Computer Science       FAX   -- (505) 646-1002
New Mexico State University          http://www.cs.nmsu.edu/~pfeiffer



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