Re: [gtk-list] Re: Help with GtkColor
- From: Joe Pfeiffer <pfeiffer cs nmsu edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Help with GtkColor
- Date: Thu, 20 May 1999 10:04:38 -0600
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]