Re: [AD] Centering the Allegro window on the Windows desktop

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


On Sat, 2005-01-22 at 21:41 +0100, Evert Glebbeek wrote:
> The attached patch by gnolam makes the Allegro window always be centred on 
> the Windows desktop when it's created. I think this makes sense, so if no 
> one objects I'm going to apply it tomorrow after some testing.
> At the very least, I think the window should reappear centred if a graphics 
> mode is set after set_gfx_mode(GFX_TEXT,...) has been called, as this 
> should restore the graphics system to an uninitialized state.

Shouldn't it be centered relative to the previous window in that case
(making sure it doesn't go over any screen edges)?


-- 
Elias Pschernig





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