> > To Haithem: yes, i tryed bg-none but i got a black screen > (instead of a transparent one) and i think it is due to the global > alpha value which i set in the beginning (when opening fb0 using > stgfb_control alpha=128 meaning full opacity). >
simply try call this "stgfb_control" with alpha=0 On Fri, Oct 8, 2010 at 5:38 PM, Defnet, Benjamin R < > [email protected]> wrote: > >> You can set the background color alpha to transparent for your display >> layer using >> >> >> >> IDirectFBDisplayLayer-> >> *SetBackgroundColor*<http://www.directfb.org/docs/DirectFB_Reference_1_4/IDirectFBDisplayLayer_SetBackgroundColor.html>(r, >> g, b, a) >> >> >> >> >> >> *From:* [email protected] [mailto: >> [email protected]] *On Behalf Of *Wejdene SMIDA >> *Sent:* Friday, October 08, 2010 6:48 AM >> *To:* [email protected] >> *Subject:* [directfb-users] changing background opacity >> >> >> >> Hi everybody, >> >> I'm too new with directFB, I'm using the 1.4.3 version cross-compiled >> for the STB5202 platform. >> This is the scenario: >> I'm displaying a video using ST application on the first layer, and my >> purpose it to show a small browser window over the video so that we >> can see both of the video and the browser. >> The problem I'm facing is the transparency: when the global alpha >> value is set to be full opaque, the video can not be displayed anymore >> (it's hidden), and when I decrease the alpha value I can see both the >> video and the browser but the browser window is not opaque (it takes >> naturally in consideration the global alpha value) >> My question: Is there any way to change the background opacity so that >> it can be transparent (in order to display the video)? >> >> Thanks in advance, >> -- >> Wejden >> > > > -- * _ _ _ _ _ | || |__ _(_) |_| |_ ___ _ __ | __ / _` | | _| ' \/ -_) ' \ |_||_\__,_|_|\__|_||_\___|_|_|_| *
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
