On 02.10.2009, at 19:01, imacarthur wrote:

> I'm thinking this would work OK, but I'm not sure how confident I am
> that the rendering order will be exactly what you'd want for your z-
> order... Should be? I'm not sure - Matt seems to think it can't be
> guaranteed, and he knows this stuff...

As long as the parent group is declared "damaged" and the whole bunch  
of children is redrawn, the result will look as expected. As soon as  
FLTK starts optimizing and uses clipping, the last-clicked widget will  
be shown in front of all others, even if it is not.

You would have to improve Fl_Group to check for overlapping and redraw  
those widgets as well.

Matthias

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to