Re: gtkrc/GdkColor relationship



"Petro Verheuvel" <pverheuvel roax nl> writes:

I need to know which relationship/formula there is between the specification of colors in gtkrc
(range 0.0 - 1.0) and the GdkColor structure (range 0 - 0xffff).

Can someone give me a hint?


If the rc file has 0.5, you do 0xffff * 0.5.

Havoc



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