It doesn't appear that the way fltk is designed that you could ask a widget 
during a wait loop if it was clicked, double clicked, etc..   So right now, I 
just have a call back that sets a global structure that flags the widget and 
type of click, then at the end of the wait loop, the structure is cleared.  
That is fine for that, but now I have something that I need to add taht is 
detached from the app, a class that gets passed x,y,w,h area available for it 
and the buttons the main window has, it has to be able to determine when they 
are clicked, if the widget held the click state, it be easy, but the only way I 
see now is for me to have to pass the click structure too.  How is fltk 
designed to work for deteting clicks when you only know the widget?
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to