CVSROOT:        /cvs/directfb
Module name:    gdk-directfb
Changes by:     mitch   20010716 20:15:36

Modified files:
        .              : gdkdrawable-directfb.c gdkglobals-directfb.c 
                         gdkmain-directfb.c gdkprivate-directfb.h 

Log message:
Added a commandline option "enable-color-keying" which does ugly stuff
in gdk_directfb_draw_rectangle():

- if we got passed a GC, set opacity to 0 if the GC's FG color is black.
- if the passed GC is NULL (we are called from gdk_window_clear_area()),
set the opacity to 0 unconditionally.

Yes, this is very ugly but at least the uglyness has to be switched
on explicitely.



-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to