DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2159 Version: 1.3-current The problem (common to 1.1 and 1.3) is demonstrated with a small patch to the valuators demo. I've added an fl_alert to the callback. If one drags a slider, new boxes will pop-up as-long as the mouse is being pushed during the dragging. After one stops dragging, a single fl_alert box will remain which, which can be clicked away. However at this point the application is partly irreponsive, since one cannot for instance close is any more (e.g. with "X") in the top right of the window. Is this intended behavior? Index: valuators.fl =================================================================== --- valuators.fl (revision 6664) +++ valuators.fl (working copy) @@ -1,18 +1,24 @@ # data file for the Fltk User Interface Designer (fluid) -version 1.0107 +version 1.0300 header_name {.h} code_name {.cxx} + +decl {\#include <FL/fl_ask.h>} {public +} + Function {callback(Fl_Widget* o, void*)} {open private return_type void } { code {printf("%g \\r", ((Fl_Valuator*)o)->value()); fflush(stdout);} {} + code {fl_alert("I am modal");} {selected + } } Function {} {open } { Fl_Window {} { label {Valuator classes, showing values for type()} open - xywh {479 151 580 510} type Double color 43 selection_color 43 + xywh {480 178 580 510} type Double color 43 selection_color 43 code0 {\#include <stdio.h>} visible } { Fl_Box {} { @@ -191,7 +197,7 @@ tooltip {Horizontal Roller} xywh {345 430 90 20} type Horizontal labelsize 8 } Fl_Box {} { - label {Some widgets have color(FL_GREEN) and color2(FL_RED) to show the areas these effect.} selected + label {Some widgets have color(FL_GREEN) and color2(FL_RED) to show the areas these effect.} xywh {460 385 110 115} box BORDER_FRAME color 0 selection_color 0 labelsize 11 align 128 } } Link: http://www.fltk.org/str.php?L2159 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
