Hi Thierry,

the simplest approach would be:

(1) have your sawman app mananger deny all window alterations by having AddWindow etc. nearly empty (2) on F10, remove/add/layout all windows yourself by providing the correct coordinates.

Or.. why not simply only do (2), and deny all move/resize requests.

Greets
Niels

Thierry GAYET - GMAIL wrote:
Hi,

I am using testman from the sawman package from the directfb website 'cos i wanna have a simple application manager.

I am using an environment that uses directfb and fusion in an embedded settopbox (tv decoder called tribbox).

I am starting my application manager first, then my directfb application (browser, flash, ...) in fullscreen mode (thanks to the force-windowed properties) in the directfbrc setting file.

I would like to have each application in separate layout and thant to the F10 key, switch the focus between them.

Inside the source code of testman sample there is an indication that say that the f10 can switch between layout mode but there is only one in the test code.

How i can add one new application one a separate layout ? If i am checking, the number of windows is increasing, but not the number of layouts.

If somebody have a similar code, can i get it ?

Thanks a lof in advance for all tips.

Here is my /root/.directfbrc file :

  wm           = sawman
  system       = fbdev
  hardware
  force-windowed
  debug = SaWMan/Auto

A+
Thierry GAYET
Mobile : +33(0)663.849.589
Email   : thierry.ga...@gmail.com <mailto:thierry.ga...@gmail.com>




------------------------------------------------------------------------

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to