Re: [AD] window resizing

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



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? Should there be another function like recreate_screen( w, h ) to deal with this for the user?




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