Thank you Haithem and Benjamin for your answers.

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).

To benjamin: Please correct me if i'm wrong, i tryed doing this
using fbset -rgba option, but nothing changed, I think this is what
you've suggested...

My main issue is that global alpha value which i think dominates
the "relative ones" so that i can not change the background alpha...

Thanks again :)

--
Wejden

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

Reply via email to