On 12/12/2011 11:44 AM, Domingo Alvarez Duarte wrote:
> I'm proposing to add a second changed flag to Fl_Widget, this second one
> will not be reseted after a callback like the actual one is.
>
> I'm working with windows with several Fl_Inputs and some of then uses
> callback to allow calculations when the value changes, but at the end I
> need to know which ones have changed over the session and because the
> CHANGED flag is cleared after the callbacks this information is lost.
>
> With a second flag that is not reset by the callback I can easily get
> the changes over the section.

This was fixed in fltk2 by clearing the flag *before* the callback is 
called. The callback can then turn it back on if it wants.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to