Inheritance: Artemis.Models.EffectModel
Exemple #1
0
        public GamesViewModel(GameViewModel[] gameViewModels, ProfileManager profileManager,
            ProfilePreviewModel profilePreviewModel)
        {
            DisplayName = "Games";
            _gameViewModels = gameViewModels;

            profileManager.ProfilePreviewModel = profilePreviewModel;
            profileManager.GameViewModels.AddRange(_gameViewModels);
        }
 public WindowsProfileViewModel(MainManager main, IProfileEditorVmFactory pFactory,
     ProfilePreviewModel profilePreviewModel, WindowsProfileModel model) : base(main, model)
 {
     DisplayName = "Windows Profile";
     PFactory = pFactory;
     ProfilePreviewModel = profilePreviewModel;
     EffectSettings = ((WindowsProfileModel) EffectModel).Settings;
     ProfileEditor = PFactory.CreateProfileEditorVm(main, (WindowsProfileModel) EffectModel,
         ((WindowsProfileSettings) EffectSettings).LastProfile);
     ProfilePreviewModel.Profile = ProfileEditor.SelectedProfile;
     ProfileEditor.PropertyChanged += ProfileUpdater;
     MainManager.EffectManager.EffectModels.Add(EffectModel);
 }
 public AudioVisualizerViewModel(MainManager main, ProfilePreviewModel model) : base(main, model)
 {
     DisplayName = "Audio Visualization / Key waves";
 }