Fw: [AD] bug in gui apps

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


----- Original Message -----
From: "Matthew Smith" <matt@xxxxxxxxxx>
To: "Eric Botcazou" <ebotcazou@xxxxxxxxxx>
Sent: Saturday, February 02, 2002 6:23 PM
Subject: Re: [AD] bug in gui apps


> > > The GUI doesn't support any hierarchy, so as soon as a sub-dialog or
> > > a menu is opened, the main dialog disappears.. a possible solution I
can
> > > see would be adding a "parent" field to the DIALOG and MENU structs
> > > - and inside the gui_switchin, recursively redraw all the parent
> > > DIALOGs/MENUs.
> >
> > Every suggestion (and patch) is welcome for Allegro 5.
> >
>
> Solutions to this come in every shade of complexity/ugliness.  There are
> also problems when windows are moved around and other windows opened on
top.
> The best solution probably means a back-buffer, dirty rectangles _and_
> hierachical windows. I think its better to refine the add-on libraries to
> find a complete set of fixes before patching Allegro piecemeal.
>
> For instance, if the DIALOG structure is to change, it should change once
> only, with all the additions needed.  I am not convinced it needs changing
> as the hierarchy can be expressed in different ways.  My favoured idea is
to
> have a stack of (DIALOG *)s instead of the single active_dialog.
>
> This can all be perfected in add-ons, and then retro-fitted into Allegro
in
> time for 5.0
>
> Matt
>



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