コード例 #1
0
 private void _controller_ScreenContactContinued(RadialController sender, RadialControllerScreenContactContinuedEventArgs args)
 {
     if (ScreenContactContinued != null)
     {
         ScreenContactContinued(null, args.ToUnity());
     }
 }
コード例 #2
0
 // Dial lifted and placed again
 private void Controller_ScreenContactContinued(RadialController sender, RadialControllerScreenContactContinuedEventArgs args)
 {
     if (IsActive)
     {
         Canvas.SetLeft(_dialGrid, args.Contact.Position.X - DIAL_RADIUS);
         Canvas.SetTop(_dialGrid, args.Contact.Position.Y - DIAL_RADIUS);
     }
 }
コード例 #3
0
        private void RadialController_ScreenContactContinued(RadialController sender,
                                                             RadialControllerScreenContactContinuedEventArgs args)
        {
            Point contactPosition = args.Contact.Position;
            Rect  contactBounds   = args.Contact.Bounds;

            AddToLog("\nScreen contact started (Location: " +
                     contactPosition.X.ToString() + " " +
                     contactPosition.Y.ToString() + " / Bounds: " +
                     contactBounds.X.ToString() + " " +
                     contactBounds.Y.ToString() + " " +
                     contactBounds.Width.ToString() + " " +
                     contactBounds.Height.ToString() + ")");
        }
コード例 #4
0
 private void MyController_ScreenContactContinued(RadialController sender, RadialControllerScreenContactContinuedEventArgs args)
 {
     UpdatePanelLocation(args.Contact);
 }
コード例 #5
0
 private async void MyController_ScreenContactContinued(RadialController sender, RadialControllerScreenContactContinuedEventArgs args)
 {
     if (null != dialControl)
     {
         await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
         {
             Canvas.SetLeft(dialControl, args.Contact.Position.X - 150);
             Canvas.SetTop(dialControl, args.Contact.Position.Y - 150);
         });
     }
 }
        private void Controller_ScreenContactContinued(RadialController sender, RadialControllerScreenContactContinuedEventArgs args)
        {

            log.Text += "\nContact Continued ";
            LogContactInfo(args.Contact);
        }
コード例 #7
0
 private void Controller_ScreenContactContinued(RadialController sender, RadialControllerScreenContactContinuedEventArgs args)
 {
     log.Text += "\nContact Continued ";
     LogContactInfo(args.Contact);
 }
 private void controller_ScreenContactContinued(object sender, RadialControllerScreenContactContinuedEventArgs args)
 {
     m_screenContactContinuedEventArgs  = args;
     m_screenContactContinuedEventFired = true;
 }