On May 20, 2007, at 7:45 PM, Himadri Sarkar wrote:

> 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.

As I wrote before, no, there is no callback for sizing related  
functions. You get resizing information by deriving your own class  
and writing your own incarnation of 'resize(x, y, w, h)' (FLTK1) or  
'layout()' (FLTK2).

Matthias

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to