On 17.06.2008, at 11:33, PaoloItaly wrote: > FLTK 1.1.8 > Win32 > I need to refresh the outside labels of some widgets without rapaint > the whole group.
Depending on your layout, you can solve this by adding another group as a child of the larger group and a parent of the widget in queston. The new group would only contain the widget plus the area that is occupied by the label. Creating a group uses very little resources. Use them wherever they help structure your app. Or seperate your widget into two widgets, one without a label and a second one with an inside label just where the outside label of the first widget would be. > fl_rectf(X,Y,W,H); Depending on where you got X< Y, W, and H, this only filles your widget, not the label area. The call beow however may draw outside of X Y and W H if the alignment value indicates an outside label. > > widget->draw_label(X,Y,W,H,(Fl_Align)a); > > fl_pop_clip(); > but nothing is displayed. Your drawing may alos be overdrawn by the background of your parent group... . ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

