Re: [gtk-list] Re: [patch] bug corrections for transparent pixmap in gdkpixmap.c




Kay Winkler wrote:
>> I don't like gdk_color_white/black() either, but unfortunatly we'll have
>> to stick to this solution until we find a better one :(.

> The better solution should be to use the Xlib function/macro  for 
> requesting the white or black:
 
> BlackPixel 
> BlackPixelOfScreen
> WhitePixel
> WhitePixelOfScreen

gdk_color_white/black() functions are wrappers for White/BlackPixel()
macros.
Guess we'll have to stick this solution :).

Patrice.



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