MacArthur, Ian (SELEX GALILEO, UK) wrote:

> 
> 
>> Anyone have any ideas? Has a similar issue happened to anyone else? I
>> suspect the solution is trivial, but I just can't see it for
>> some reason.
> 
> 
> I think Greg had a demo for this... Erm, maybe this one?
> 
> http://www.seriss.com/people/erco/fltk/#DrawCoords
> 
> 
> Don't know of that's the right thing or not...

After posting my question I went straight to Greg's page. His example does
work, except I cannot see why my widget isn't receiving the FL_MOVE event.

The widget is barried like this:

Fl_Group
   Fl_Tabs
     Fl_Touch_Scroll
        Fl_Layer

The Fl_Touch_Scroll is my Fl_Scroll that scrolls its content by dragging
anywhere inside the viewable area.

The Fl_Layer is the widget I want to experience FL_MOVE events. It extends
from Fl_Widget.

I tried printing out the events at Fl_Touch_Scroll, before anything happens
to the event (passing it to the base Fl_Scroll, etc.). When I did this, it
appears the it is not receiving the FL_MOVE event either.

I think I will stick my head into gdb and see if I can determine who is
claiming the FL_MOVE (if the event is being generated at all that is).

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

Reply via email to