>And  how  can  I  disable  layer ? I see DirectFB reference  of 
>IDirectFBDisplayLayer
>but i  cant find  which  API  to  disable layer.

IMHO, the easiest way to control visibility of display layer's is with the 
IDirectFBScreen::SetMixerConfiguration function, however your DFB solution must 
have a screen that supports mixers (check for the DSCCAPS_MIXERS flag and 
quantity in the DFBScreenDescription struct that can be obtained from 
IDirectFBScreen::GetDescription function).

Since there is hardly any documentation of mixers available, I added a page to 
the DFB Wiki that describes how they are used and configured.  It is available 
at:  http://www.directfb.org/wiki/index.php/Notes:Mixer_Usage.

Regards,
Timothy

--

Timothy Strelchun
CE Software Engineering
Digital Home Group
Intel Corporation

The views expressed above are my own and not those of Intel

>-----Original Message-----
>From: [email protected] 
>[mailto:[email protected]] On Behalf Of 
>[email protected]
>Sent: Tuesday, February 09, 2010 3:00 AM
>To: [email protected]
>Subject: directfb-users Digest, Vol 60, Issue 9
>

>Message: 3
>Date: Tue, 9 Feb 2010 00:55:40 -0800 (PST)
>From: Roach_d <[email protected]>
>Subject: Re: [directfb-users] re  leasing layer
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset=us-ascii
>
>
>Hi
>
>>You can try disabling the layer, or setting the opacity to 0, 
>before you 
>>release it.
>
>Thanks for reply .
>I use   layer->SetOpacity(layer , 0 )  to  hide  ohter  layers.
>but  app  layer cant see , and  SetOpacity's error  are  
>DFB_ACCESSDENIED in
>all layer I want to hide.
>I thought that  SetCooperativeLevel  Layer  to  
>DLSCL_ADMINISTRATIVE  , but
>one of layer is still administrative.
>How  can  i  solve  this  error?
>
>>You can try disabling the layer, 
>
>And  how  can  I  disable  layer ? I see DirectFB reference  of 
>IDirectFBDisplayLayer
>but i  cant find  which  API  to  disable layer.
>
>Thanks.
>
>-- 
>View this message in context: 
>http://old.nabble.com/releasing-layer-tp27478478p27512160.html
>Sent from the DirectFB Users mailing list archive at Nabble.com.
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to