protected void hoverWindow(txUIObject window, bool hover) { if (window != null) { if (hover) { window.onMouseEnter(getCurMousePosition()); } else { window.onMouseLeave(getCurMousePosition()); } } }
protected void hoverWindow(txUIObject window, bool hover) { if (window != null) { window.setMouseHovered(hover); if (mButtonCallbackList[window].mHoverCallback != null) { mButtonCallbackList[window].mHoverCallback(window, hover); } if (hover) { window.onMouseEnter(); } else { window.onMouseLeave(); } } }