Exemplo n.º 1
0
 protected void hoverWindow(txUIObject window, bool hover)
 {
     if (window != null)
     {
         if (hover)
         {
             window.onMouseEnter(getCurMousePosition());
         }
         else
         {
             window.onMouseLeave(getCurMousePosition());
         }
     }
 }
Exemplo n.º 2
0
 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();
         }
     }
 }