DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2257 Version: 1.3-current Fix Version: 1.3-current (r7650) Alex's patch has been uploaded (in essence) and found to correct this bug. About the clipping issue: - fl_push_noclip() and fl_pop_clip() calls have always been commented out in 1.3, for some reason I am not sure about. - in 1.1, they are commented out in the Quartz version of fl_begin_offscreen/fl_end_offscreen, but are active in their Quickdraw version, thus the code doesn't seem completely coherent. - the attached program that displays the bug writes to the offscreen buffer by these statements: fl_begin_offscreen(offscr); // draw the widget hierarchy of this group into the offscreen Fl_Group::draw(); fl_end_offscreen(); and, as already reported, even with Alex's change, the resulting offscreen buffer is clipped of some buttons. But this is not a result of the offscreen buffer, but of Fl_Group::draw() which does not draw what is outside its window. I think this behavior is logical, and believe the test program should be re-written: fl_begin_offscreen(offscr); // draw the widget hierarchy of this group into the offscreen fl_push_no_clip(); Fl_Group::draw(); fl_pop_clip(); fl_end_offscreen(); because it's the drawing function caller's responsibility to control the current clipping state when he/she draws. Link: http://www.fltk.org/str.php?L2257 Version: 1.3-current Fix Version: 1.3-current (r7650) _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
