/// <summary> /// Creates the play options menu. /// </summary> private void CreatePlayOptionsMenu() { // new menuEntity for play options PlayOptionsMenu = new MenuEntity(); // Play button PlayOptionsMenu.AddMenuItemModel(new MenuItemModel() { DisplayText = "Play", IsSelected = true, ParentSelected = true, IsVisible = true, RelayCommand = new RelayCommand(() => { MediaPlayerModel.GetInstance.PlayMediaFullScreen(PlayOptions.Play); }) }); // Play All button PlayOptionsMenu.AddMenuItemModel(new MenuItemModel() { DisplayText = "Play All", IsSelected = false, ParentSelected = true, IsVisible = true, RelayCommand = new RelayCommand(() => { MediaPlayerModel.GetInstance.PlayMediaFullScreen(PlayOptions.PlayAll); }) }); // Suffle Button PlayOptionsMenu.AddMenuItemModel(new MenuItemModel() { DisplayText = "Shuffle", IsSelected = false, ParentSelected = true, IsVisible = true, RelayCommand = new RelayCommand(() => { MediaPlayerModel.GetInstance.PlayMediaFullScreen(PlayOptions.Shuffle); }) }); // Repeat Button PlayOptionsMenu.AddMenuItemModel(new MenuItemModel() { DisplayText = "Repeat", IsSelected = false, ParentSelected = true, IsVisible = true, RelayCommand = new RelayCommand(() => { MediaPlayerModel.GetInstance.PlayMediaFullScreen(PlayOptions.Repeat); }) }); }
/// <summary> /// Creates the game options menu. /// </summary> private void CreateGameOptionsMenu() { this.GameOptionsMenu = new MenuEntity(); // Play game option GameOptionsMenu.AddMenuItemModel(new MenuItemModel() { DisplayText = "Play", IsSelected = true, ParentSelected = true, RelayCommand = new RelayCommand(() => { }) }); // Save current cover option GameOptionsMenu.AddMenuItemModel(new MenuItemModel() { DisplayText = "Save Current Cover", IsSelected = false, ParentSelected = true, RelayCommand = new RelayCommand(() => { }) }); }