Exemplo n.º 1
0
        private void OnTokenCancelled(object sender, InternalTokenCancelledEventArgs e)
        {
            //clusters[e.TokenHashId].SetState(ClusterState.Invalid);

            //Add these to FingerTouches
            //Cluster c = clusters[e.TokenHashId];
            //foreach (KeyValuePair<int, TouchInput> record in c.Points)
            //{
            //    InputManager.AddFingerTouch(record.Value);
            //}
        }
Exemplo n.º 2
0
 private void LaunchTokenCancelled(InternalTokenCancelledEventArgs e)
 {
     EventHandler<InternalTokenCancelledEventArgs> handler;
     lock (TokenCallBackLock)
     {
         handler = TokenCancelledEvent;
     }
     
     if(handler != null)
     {
         handler(this, e);
     }
 }