Jens Grunert wrote: > I have very large widgets and my program did not work. After changing > x_,y_,w_,h_ in FL_Widget.H from short to in it works ok. > Is there any reason why x_,y_,w_,h_ are decleard as short in Fl_Widget?
Because most of the underlying graphics APIs (X11, GDI, QuickDraw) only support 16-bit coordinates. Quartz uses a 32-bit float for drawing (24-bit resolution), as do Cairo and the Aero stack on Vista. Changing to 32-bit coordinates will require some additional clipping and culling code, some/most of which is already in 2.0... -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

