On 27 Oct 2011, at 21:38, David wrote: > Okay, so my group boxes look and work good execpt for one issue. If say you > have a main window with one, then pop up something like fl_choice. Take that > box and overlay the main window so the bottom edge of the popup is just above > the groupbox line (covering part of the text), the text is not redrawn. > However, the part within the line is always redrawn ok, as it is if your in > the box and move out fast. To me it looks like the text control isn't > getting called to be repainted (does it only check the first level because > the Text (Fl_Box) is a within the group (Fl_Group), not on the main window?). > > Where is that code logic performed (search for widgets that are within the > area to be repainted)?
The simple workaround may be to request a redraw of the groups parent in that case - the group is only painting the items inside what it perceives as its bounds, but if the label is outside that bound... well... Triggering a redraw of the group's parent should cause the label to be redrawn though since it will be within the parent's bounds. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

