David Lopez schrieb:
> Hi, I have the following problem: Suppose that you have two widgets,
> let's say Fl_Boxes, overlapped in a window. You need to redraw the
> one in the back.

parent()->redraw();

> Is there any way to get FLTK 1.3
> to keep track of the widgets that are above a given widget to get
> them redrawn without having myself to keep a list of widgets whose
> coordinates intersect with the widget being drawn?

That already works for list of children() the "front" widget must be 
sorted to be drawn as last. But the trick is, not to redraw the single 
widget, but parent() group or window, to keep track of order.

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to