Hi,

continuing with this topic, I would like to propose making
MxKineticScrollView's event handling a bit more complicated by letting
pass button and motion events through to its child if the slide
gesture doesn't start in a direction for which we are scrolling.

This means for example that if the horizontal adjustment's dimensions
are such that doesn't overflow the allocated box dimensions, and the
motion events we are getting indicate that the slide is starting
closer to the X axis than the Y axis, we would:

- abort the scroll operation,
- replay the button press event to its child,
- replay the last(s) motion event to its child.

I have some confidence that this change wouldn't complicate
MxKineticScrollView much further, I'm only a bit unsure of the
replaying events bit of it. Maybe we would end up needing to duplicate
something like emit_event() in clutter-main.c so moving that to some
new public API may be convenient.

Thanks,

Tomeu
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to