Ok, it's fixed. On Tue, Apr 16, 2002 at 11:28:04AM -0600, Micah Dowty wrote: > I noticed this too but thought I fixed the problem... > The reasoning behind self-destructing the build handler is so that the popup's >backdrop is only drawn once even if the popup itself is redrawn. This fixes a bug >where the drop shadow or dimming would be drawn multiple times when a dialog is >redrawn. One side effect of this is that you can't click on the backdrop of the popup >to make it close, since the input code assumes you can only click on visible objects, >and if it's visible it will have a build handler. I changed the input code to check >whether it has a build handler or it already has a groplist attached. > > Ah.. just realized the problem. If you haven't defined a backdrop property there >will be no groplist or build function. Ok, I'll fix this up ASAP. > > On Tue, Apr 16, 2002 at 03:32:36PM +0200, Philippe Ney wrote: > > Hi Micah, > > > > Since the release 1.52 of widget/popup.c, the popup act in a strange way when used >as a menu. > > I mean that you cannot get out of the menu without selecting one item. > > A normal behavior (as previousely) would be to make the menu disapear when >clicking the background (I guess). > > > > I track the problem and found that this is due to the following line (157-158): > > > > /* Since the backdrop should only be rendered once, self-destruct this build >handler */ > > self->in->build = NULL; > > > > Which prevent the backdrop to be rebuild by the popup (right?) > > Is this new behavior a wish or just the result of some memory(?) optimization? > > Could we return to the previous one? > > What is the opinion of the others PicoGUI users? > > > > Thanx, > > -philippe > > > > _______________________________________________ > > Pgui-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/pgui-devel > > -- > Only you can prevent creeping featurism! > > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel
-- Only you can prevent creeping featurism! _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
