Did you uncomment the line SetCooperativeLevel(layer, DLSCL_ADMINISTRATIVE) ?
This is a part of df_window.c. I used it many times.
Replace (or correct) your text by it after the line
layer->SetBackgroundMode( layer, DLBM_IMAGE );
DFBWindowDescription desc;
desc.flags = ( DWDESC_POSX | DWDESC_POSY |
DWDESC_WIDTH | DWDESC_HEIGHT | DWDESC_CAPS );
desc.posx = 200;
desc.posy = 200;
desc.width = 512;
desc.height = 145;
desc.caps = DWCAPS_ALPHACHANNEL;
DFBCHECK(layer->CreateWindow( layer, &desc, &window ) );
window->GetSurface( window, &window_surface );
DFBCHECK(dfb->CreateImageProvider( dfb, "/dfblogo.png", &provider ));
provider->RenderTo( provider, window_surface, NULL );
window_surface->Flip( window_surface, NULL, 0 );
provider->Release( provider );
--
Best Regards
Nikita Egorov
[email protected]
[email protected]
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users