From ae560aeb8b38bc32b05f9af7e3230de712ee5b5c Mon Sep 17 00:00:00 2001 From: alberth Date: Sun, 23 May 2010 14:53:39 +0000 Subject: (svn r19886) -Add [FS#3705]: Perform window callback during mouse dragging for the purpose of highlighting the destination (sbr). --- src/window_gui.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/window_gui.h') diff --git a/src/window_gui.h b/src/window_gui.h index 4e64cc5df..55a223581 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -656,6 +656,13 @@ public: */ virtual void OnRightClick(Point pt, int widget) {} + /** + * An 'object' is being dragged at the provided position, highlight the target if possible. + * @param pt The point inside the window that the mouse hovers over. + * @param widget The widget the mouse hovers over. + */ + virtual void OnMouseDrag(Point pt, int widget) {} + /** * A dragged 'object' has been released. * @param pt the point inside the window where the release took place. -- cgit v1.2.3-54-g00ecf