private void _controller_ScreenContactContinued(RadialController sender, RadialControllerScreenContactContinuedEventArgs args) { if (ScreenContactContinued != null) { ScreenContactContinued(null, args.ToUnity()); } }
// 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); } }
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() + ")"); }
private void MyController_ScreenContactContinued(RadialController sender, RadialControllerScreenContactContinuedEventArgs args) { UpdatePanelLocation(args.Contact); }
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); }
private void controller_ScreenContactContinued(object sender, RadialControllerScreenContactContinuedEventArgs args) { m_screenContactContinuedEventArgs = args; m_screenContactContinuedEventFired = true; }