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; } }
public void OnPointerDisplayModeChanged(PointerDisplayModeChanged e) { PointerDisplayModeChanged?.Invoke(e); }