orb.logic.gestures_delegate module

class orb.logic.gestures_delegate.GesturesDelegate(overlay)

Bases: object

get_match(gdb, touch)

Find channel that matches the given gesture, in the given gesture database.

init_gdb(channels_widget)

Init gestures database with the gestures for each channel.

on_touch_down(touch)

Delegated on_touch_down event for the ChannelsWidget. Apply the inverse transformation Matrix to the point so they are in the Scatter’s local space.

on_touch_move(touch)

Delegated on_touch_move event for the ChannelsWidget. Apply the inverse transformation Matrix to the point so they are in the Scatter’s local space.

on_touch_up(touch)

Delegated on_touch_up event for the ChannelsWidget. Apply the inverse transformation Matrix to the point so they are in the Scatter’s local space.

reset(*_)

Reset the delegate’s channels.

orb.logic.gestures_delegate.simplegesture(name, point_list)