> why is 'double'[ window preferred? my fluid creates it by > default but in the 1.1 docs the cubeview tutorial makes no > mention of this and creates a 'single'
In general, a double window is preferred because it will be double-buffered, and thus will be redrawn more cleanly on the display (though this only matters if you are doing something that, maybe animations or similar, that redraw the window contents as it is changing...) The test folder contains an example (doublebuffer) that attempts to illustrate this: It shows two windows, one single-buffered, one double buffered. If you now whip the slider on each back and forth quickly, you may be able to perceive some "tearing" of the image in the single-buffer window, but not in the double-buffer window. However: On many modern systems, the graphics cards are so fast that the tearing may not be perceptible, and some systems with composited displays (certainly OSX, possible Win7 and Vista, maybe X11 systems with e.g. Compiz) all the windows are inherently buffered anyway, so again the effect may not be noticeable. Once upon a time, though, it made a really noticeable difference! BUT: If you are using the Fl_Window to enclose a GL window, then you are advised *NOT* to use the double-buffered window, as that may (depending on what GL drivers you system has installed) interact with the GL context updates, so in the case of GL windows I would advise to *always* enclose them in an Fl_Single_Window for consistency across platforms... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

