24#ifndef _NETSURF_RISCOS_MOUSE_H_
25#define _NETSURF_RISCOS_MOUSE_H_
50 void (*drag_track)(wimp_pointer *pointer,
void *data),
51 void (*drag_cancel)(
void *data),
void *data);
78 void (*poll_track)(wimp_pointer *pointer,
void *data),
void ro_mouse_pointer_leaving_window(wimp_leaving *leaving)
Process Wimp_PointerLeaving events by terminating an active mouse track and passing the details on to...
void ro_mouse_drag_start(void(*drag_end)(wimp_dragged *dragged, void *data), void(*drag_track)(wimp_pointer *pointer, void *data), void(*drag_cancel)(void *data), void *data)
Start a drag, providing a function to be called when the Wimp_DragEnd event is received and optionall...
os_t ro_mouse_poll_interval(void)
Return the desired polling interval to allow the mouse tracking to be carried out.
void ro_mouse_drag_end(wimp_dragged *dragged)
Process Wimp_DragEnd events by passing the details on to any registered event handler.
void ro_mouse_poll(void)
Process Null polls for any drags and mouse trackers that are currently active.
void ro_mouse_track_start(void(*poll_end)(wimp_leaving *leaving, void *data), void(*poll_track)(wimp_pointer *pointer, void *data), void *data)
Start tracking the mouse in a window, providing a function to be called on null polls and optionally ...
void ro_mouse_kill(void *data)
Kill any tracking events if the data pointers match the supplied pointer.