if I do this i will not be to see the small browser window anymore. As in the screen I want to have a small *opaque* browser window and on background the video i'm playing (so the background would be *transparent*, meaning I want only the background alpha to be 0). Do have any idea please of how to do this?
thx, -- Wejden On Mon, Oct 11, 2010 at 10:21 AM, haithem rahmani <haithem.rahm...@gmail.com > wrote: > 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 < >> benjamin.r.def...@intel.com> 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:* directfb-users-boun...@directfb.org [mailto: >>> directfb-users-boun...@directfb.org] *On Behalf Of *Wejdene SMIDA >>> *Sent:* Friday, October 08, 2010 6:48 AM >>> *To:* directfb-users@directfb.org >>> *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 directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users