michael wrote: > I try to set the ColorKey at the top window. > > GdkWindowObject *private; > GdkWindowImplDirectFB *impl; > IDirectFBWindow *ll_window; > > private = GDK_WINDOW_OBJECT (widget->window); > impl = GDK_WINDOW_IMPL_DIRECTFB(private->impl); > ll_window = impl->window; > ll_window->SetColorKey(ll_window,0,255,0); > > So I expected that all the green bit are trasparent and I must see the > background of the > main window, but I see the gree color of the draw area. What is wrong?
You also need to enable it via GetOptions(&x) and SetOptions(x|DWOP_COLORKEYING). -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev