Re: [fltk.development] Fl_Window::show() on multiple screens

2011-11-12 Thread Evan Laforge
On Tue, Oct 18, 2011 at 4:49 AM, Manolo Gouy manolo.g...@univ-lyon1.fr wrote: On Mon, Oct 17, 2011 at 4:58 AM, Manolo Gouy wrote: Could you, please, try to restore a window after having added this patch but without overriding show() ? Excellent, seems to work! Thanks. The new code has

[fltk.development] FL_CLOSE event

2011-11-12 Thread pv
if I understood correctly, FL_CLOSE event is not sent to window when it is closed. but the callback is invoked. Is it correct behavior? Fl.cxx: case FL_CLOSE: if ( grab() || (modal() window != modal()) ) return 0; wi-do_callback(); //wi-handle(FL_CLOSE); //why not like this???

Re: [fltk.development] Fl_Window::show() on multiple screens

2011-11-12 Thread Evan Laforge
On Sat, Nov 12, 2011 at 5:40 AM, Manolo Gouy manolo.g...@univ-lyon1.fr wrote: I describe here the logic flow of window creation: // this puts in the crect rectangle the desired window position and size    NSRect crect;    crect.origin.x = w-x();    crect.origin.y = main_screen_height -

Re: [fltk.development] [RFE] STR #2728: Add test program to test for shadowed variables (-Wshadow)

2011-11-12 Thread Greg Ercolano
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2728 Version: 1.3-feature Attached file shadow-variables-test-program.patch... Link: http://www.fltk.org/str.php?L2728 Version: 1.3-featureIndex: Makefile