Exemplo n.º 1
0
 public override GH_ObjectResponse RespondToMouseMove(GH_Canvas sender, GH_CanvasMouseEvent e)
 {
     if (_activeControl != null)
     {
         return(_activeControl.RespondToMouseMove(sender, e));
     }
     return(0);
 }
Exemplo n.º 2
0
        public GH_ObjectResponse RespondToMouseMove(GH_Canvas sender, GH_CanvasMouseEvent e)
        {
            if (_activeWidget != null)
            {
                return(_activeWidget.RespondToMouseMove(sender, e));
            }
            int count = _menus.Count;

            for (int i = 0; i < count; i++)
            {
                GH_ObjectResponse val = _menus[i].RespondToMouseMove(sender, e);
                if ((int)val != 0)
                {
                    return(val);
                }
            }
            return(0);
        }