On 21.04.2008, at 22:16, Roman Kantor wrote: > Let's say I have a widget which changes its schape from FL_UP_BOX to > FL_ROUND_UP_BOX and this widget is on a tilled image of a window (like > in the case of plastic cheme). Is there any better approach (more > minimal redraw) than explicit damage of the the top-level window > within > the region of the widget outline?
No, not from within the system. FLTK was originally not designed to have widgets that let the background shine through. The complicated answer (and you always get a complicated answer from me, right? :-) would be to figure out, what the background looks like, then redraw the background for the areas that shine through, the change to the new box type. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

