private void ChangeDisplayMode(PointerDisplayModeChanged change)
        {
            View.Hide(NormalPointerDisplay);
            View.Hide(LockedPointerDisplay);

            switch (change.Mode)
            {
            case PointerDisplayMode.Normal:
                View.Show(NormalPointerDisplay);
                break;

            case PointerDisplayMode.Locked:
                View.Show(LockedPointerDisplay);
                break;
            }
        }
示例#2
0
 public void OnPointerDisplayModeChanged(PointerDisplayModeChanged e)
 {
     PointerDisplayModeChanged?.Invoke(e);
 }