--- Aubin Paul <[EMAIL PROTECTED]> escreveu: > On Tue, Mar 04, 2003 at 05:52:00PM -0300, Gustavo Sverzut Barbieri > wrote: > > 2) Each Window MUST have it's own surface and it must have a > property: > > OPAQUE. If OPAQUE==FALSE, then the WM should redraw ALL the things > that > > are under that window and then redraw the whole window. If > > OPAQUE==TRUE, the WM redraw only the parts of the other windows > that > > are not under the opaque window. With that we can avoid problems > like > > the transparency in X11 (like one with Konsole) > > Isn't that something handled by Pygame? You can either set a surface > to be opaque or not (ie alpha channel) and SDL should be able to tell > the difference. >
Yes, PyGame can handle that. But my idea is the WM know if the window is opaque or not, so we can avoid redraw areas under a opaque window. I'll explain my ideas in an email, later. > > One GUI object that is missing now is a Container. But I'll take a > look > > at it later. > > What about the two surface aggregators in Pygame, surfarray and the > other one :) > When I mentioned Container, I meant something like the VBox and HBox, from QT or GTK. I mean, you can define the spacing between items and go and add items or just give an array with items, the container will tell the widget/object it's X,Y and Width,Height. When you resize the container, you resize the contents. Gustavo _______________________________________________________________________ Busca Yahoo! O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra. http://br.busca.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel