Hi,

Denis Oliver Kropp wrote:
> 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).
>
First of all, thanks for your help. Now all seems to work.

One thing I don't understand about the top level window. If I put an 
image or color
in the top level window using gtk I see only gray but if I modified 
directfbrc with an bg-image
I see the background image, and the three widget are trasparent.

vbox -> drawing area
        button

Regards Michael

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to