how to convert windows RGB color to GdkColor



I know that in the windows, a pixel is made from RGB, each value of them
is between 0 and 255.
Now I work on the Linux and I found that the GdkColor also has the same
structures RGB, but the difference is that each value is between 0 and
65535.  I wonder whether there is a way to convert the windows RGB color
to GdkColor?

Thanks



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