(svn r20121) -Add: OnHover method for windows.

This commit is contained in:
terkhen
2010-07-11 11:00:09 +00:00
parent 10fbb87823
commit 9cf9bb9b92
3 changed files with 14 additions and 4 deletions

View File

@@ -657,6 +657,13 @@ public:
*/
virtual void OnRightClick(Point pt, int widget) {}
/**
* The mouse is hovering over a widget in the window, perform an action for it, like opening a custom tooltip.
* @param pt The point where the mouse is hovering.
* @param widget The widget where the mouse is hovering.
*/
virtual void OnHover(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.