On May 18, 2007, at 7:02 PM, Himadri Sarkar wrote: > hi fltk user's > > I wanted to know is there any callback associated with maximize or > minimize, > the problem which i am facing is that when i reduce the size of any > window > displaying an image the image size remains same so it just pours > out of the > box in which i am displaing the image. If there is any callback > associated > with maximize/minimize then i could use the copy method to reduce > the size > of image. > > Any help in this regard will be highly appreciated
On FLTK1, you can override the virtual function "resize(x, y, w, h)", on FLTK2, you'd override "layout()" instead. They will be called whenever a widget is about to be resized. ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

