summaryrefslogtreecommitdiff
path: root/riscos/mouse.c
Commit message (Collapse)AuthorAgeFilesLines
* Change LOG() macro to be varadicVincent Sanders2015-05-281-3/+2
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Fix several doxygen issuesVincent Sanders2014-11-081-2/+2
|
* Allow mouse tracking events to terminate without a PointerLeaving event ↵Steve Fryatt2014-04-051-7/+28
| | | | | | being received. This change should handle the situation where a PointerEntering event is received without a corresponding PointerLeaving event, which appears to be caused by some third-party OS addons. This could cause unexpected consequences, so all such terminations are currently logged.
* Fix broken dragging mouse pointer introduced in mouse tracking changes.Steve Fryatt2013-12-301-1/+15
|
* Improve responsiveness of drags.Michael Drake2013-10-271-4/+6
|
* Allow ro_mouse to enable null polls; remove unused global variables.Steve Fryatt2013-09-081-0/+41
| | | | | Implement ro_mouse_poll_interval() to allow ro_mouse to influence null polling. Remove unused calls to drag type globals.
* Move all mouse tracking into ro_mouse module.Steve Fryatt2013-09-081-3/+75
| | | | | | Add Pointer Entering Window events to wimp_event module and add handlers to all modules requiring mouse tracking. Updated: Treeview, URL Complete, History and GUI Window. Delete all handling for Pointer Entering/Leaving from ro_gui.
* Restructure handling of DragEnd events.Steve Fryatt2013-09-081-0/+131
Add ro_mouse module to process mouse events during drags and on null polls. Implement support in ro_mouse for tracking the mouse during drags and passing on DragEnd events. Remove ro_gui_drag_end() and update all of its clients so that they use ro_mouse. Remove the unused ro_gui_window_frame_resize_end(). Termination of save drags with Escape is unimplemented, but appears broken anyway. The use of gui_drag_type is still required to handle Message_DatasaveAck processing. Mouse tracking is still handled via gui.c.