Well, I'm still not sure what to do to fix the logic here.  When a button is 
pushed, the PUSHED flag is set but the STATE flag is not.  Seems to me they 
mean the same thing, so I don't know why they're being handled differently.  In 
any case, for anyone else with this problem, you can just use Button::pushed() 
instead of Button::value() to find out if the button is pressed.

> Button::value() is always returning false.  It appears this was caused by a 
> change to the the handle function's DRAG logic in Button.cxx (lines 91-108) 
> that happened from version 2.0.x-r5734 to 2.0.x-r5940.  So far I haven't been 
> able to narrow it down any better than that.  Does anyone know of a fix for 
> this?
>
> Sorry if this has been discussed already; I couldn't find it in the archives.

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to