> -----Ursprüngliche Nachricht----- > Von: Arvind Ayyangar [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 11. Dezember 2006 11:23 > An: Unger Richard > Cc: Pandit Panburana; directfb-dev > Betreff: Re: [directfb-dev] DirectFB questions. > > On 12/11/06, Unger Richard <[EMAIL PROTECTED]> wrote: > > Hi! > > > > > 5) Is there any window manager for directFB? I am > looking for a > > > simple window manager that can switch window of different > processes > > > in particular. > > > > > > > Yes DFB has this built in. You can show and hide, move and > resize the windows used by DFB applications. If you expect > the user to do this with the mouse, you will probably have > some work to do on the GUI side. > > I cant find an API to hide windows. I though that the only > option was to change the opacity. When multiple windows re > open, repainting of windows doesn't seem to be done, only the > events are grabbed by the foocused windoo. > Correct me ifI am wrong.. >
Hi - yes, you can set the opacity to 0 - then the window will not be drawn. You can also dispose the window. AFAIK, and there are far more experienced people than me on this list, there are a number of options you can use to control drawing behaviour... If you set up your windows to be double-buffered, then you should be able to move / expose / hide them without ever receiving redraw events, as DFB uses a back buffer per window. Thus you only need to draw the contents once, and then not again until the content changes. Richie _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
