Re: [AD] window resizing

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Jon Rafkind wrote:

My idea for the new gfx API is similar; if necessary, the graphics driver would allow the window to be resized immediately, but the rest of Allegro would not know about it until after the user acknowledged that the resize happened.

So the user should destroy and recreate the screen bitmap in the user defined callback? In one sense this is better becuase then the user can alter screen as they please and not have any race conditions where screen is destroyed or equal to NULL, but in another sense maybe the user needs to know to much about screen?


I don't really understand what you're thinking of.  Example?

Peter

PS. To be honest, I don't think resizing should be added to the current API. Also, callback-based designs are being phased out because of all the troubles they cause with threads.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/