Hi!

Yes, your window has a DFBSurface as it's backing store.
You can control the capabilities of this surface to switch on double buffering 
and more. See the examples and docs...

Richie

 

> -----Ursprüngliche Nachricht-----
> Von: Arvind Ayyangar [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 12. Dezember 2006 08:35
> An: Unger Richard
> Cc: Pandit Panburana; directfb-dev
> Betreff: Re: [directfb-dev] DirectFB questions.
> 
> > > > >     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...
> 
> Could someone please elaborate on that. I have been looking 
> out for some documentation but in vain..
> 
> > 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.
> 
> what is double buffering in DFB? Do you have to enable it ?
> 
> >
> > Richie
> >
> 
> 
> --
> Regards
>   ARviND AyyangaR
> 
>  "Success is not measured by what a man accomplishes, but by 
> the opposition he has encountered, and the courage with which 
> he maintained the struggle against overwhelming odds."
> 

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to