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

Reply via email to