protected override void OnKinectCursorLeave(object sender, KinectCursorEventArgs e) { if (_timerEnabled) { e.Cursor.StopCursorAnimation(); _hoverTimer.Stop(); } }
protected override void OnKinectCursorEnter(object sender, KinectCursorEventArgs e) { if (_timerEnabled) { _hoverTimer.Interval = TimeSpan.FromMilliseconds(HoverInterval); e.Cursor.AnimateCursor(HoverInterval); _hoverTimer.Start(); } }
private void MakeInvisible(object sender, KinectCursorEventArgs e) { Imagen.Opacity = 0; }
private void SwitchPage(object sender, KinectCursorEventArgs e) { if (e.IsDirectionRight) { LoadedPDF.PreviousPage(); PauseTracking(); } else { LoadedPDF.NextPage(); PauseTracking(); } }
private void RewindVidFalse(object sender, KinectCursorEventArgs e) { _Rewind.Tick -= _Rewind_Tick; _Rewind.Stop(); }
private void RewindVidTrue(object sender, KinectCursorEventArgs e) { _VideoPlayer.Pause(); IsPaused(); _Rewind.Start(); _Rewind.Tick += _Rewind_Tick; }
private void ForwardVidFalse(object sender, KinectCursorEventArgs e) { _FastForward.Tick -= _FastForward_Tick; _FastForward.Stop(); }
private void ForwardVidTrue(object sender, KinectCursorEventArgs e) { _VideoPlayer.Pause(); IsPaused(); _FastForward.Start(); _FastForward.Tick += _FastForward_Tick; }
private void SwitchPicture(object sender, KinectCursorEventArgs e) { if (e.IsDirectionRight) { NextPicture(sender, e); PauseTracking(); } else { PreviousPicture(sender, e); PauseTracking(); } }
private void OutOfBounds(object sender, KinectCursorEventArgs e) { var _kinect = KinectCursorManager.Instance; _kinect.GesturePoints.Clear(); }
private void MakeVisible(object sender, KinectCursorEventArgs e) { Nombre.Opacity = 1; Imagen.Opacity = 1; }
private void MakeVisible(object sender, KinectCursorEventArgs e) { Imagen.Opacity = 1; _Texto.Opacity = 1; }
private void MakeVisible(object sender, KinectCursorEventArgs e) { OnHover.Opacity = 1; }