From ee8fb6f39f3014cf4e4c17a28904850a58f2f4f3 Mon Sep 17 00:00:00 2001 From: Steve Fryatt Date: Sun, 8 Sep 2013 13:27:11 +0100 Subject: Allow ro_mouse to enable null polls; remove unused global variables. Implement ro_mouse_poll_interval() to allow ro_mouse to influence null polling. Remove unused calls to drag type globals. --- riscos/mouse.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'riscos/mouse.h') diff --git a/riscos/mouse.h b/riscos/mouse.h index 26fb72e5b..e78a37eed 100644 --- a/riscos/mouse.h +++ b/riscos/mouse.h @@ -90,5 +90,24 @@ void ro_mouse_track_start(void (*poll_end)(wimp_leaving *leaving, void *data), void ro_mouse_pointer_leaving_window(wimp_leaving *leaving); + +/** + * Kill any tracking events if the data pointers match the supplied pointer. + * + * \param *data The data of the client to be killed. + */ + +void ro_mouse_kill(void *data); + + +/** + * Return the desired polling interval to allow the mouse tracking to be + * carried out. + * + * \return Desired poll interval (0 for none required). + */ + +os_t ro_mouse_poll_interval(void); + #endif -- cgit v1.2.3