(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

@@ -409,6 +409,12 @@ static void DispatchHoverEvent(Window *w, int x, int y)
GuiShowTooltips(wid->tool_tip);
return;
}
/* Widget has no index, so the window is not interested in it. */
if (wid->index < 0) return;
Point pt = { x, y };
w->OnHover(pt, wid->index);
}
/**