예제 #1
0
 public void HandleRoutedEvent(BubbleEventArgs args)
 {
     if (RoutedHandlers.ContainsKey(args.Token))
     {
         RoutedHandlers[args.Token].Invoke(args);
     }
 }
예제 #2
0
    public void HandleNewBubblesOnGameBoard(object sender, BubbleEventArgs bubbleEventArgs)
    {
        Debug.Log($"GameBoardGraphicsController: About to handle {bubbleEventArgs.BubbleNodes.Count} bubbleNodes.");

        foreach (var bubbleNode in bubbleEventArgs.BubbleNodes)
        {
            SetupBubbleGraphics(bubbleNode);
        }
    }
예제 #3
0
 public void LaunchRoutedEvent(IUILogicalNode Launcher, BubbleEventArgs args)
 {
     foreach (IUILogicalNode node in GetUINode(Launcher, args.RoutingStrategy))
     {
         if (args.RoutingState == RoutingState.Handled)
         {
             break;
         }
         //node.HandleRoutedEvent(args);
     }
     RoutedEventOver();
 }
예제 #4
0
 void mSceneControlBubbleResize(object sender, BubbleEventArgs e)
 {
     System.Drawing.Point point = new Point(e.Bubble.ClientLeft, e.Bubble.ClientTop);
     mInformationBubble.Location = point;
     mInformationBubble.Visible  = true;
 }
예제 #5
0
 void mSceneControlBubbleClose(object sender, BubbleEventArgs e)
 {
     mInformationBubble.Visible = false;
 }
예제 #6
0
 public void RedirectionRoutedEvent(IUILogicalNode redirector, BubbleEventArgs args)
 {
 }