Inheritance: Artemis.Settings.OverlaySettings
Exemplo n.º 1
0
 public VolumeBar(DeviceManager deviceManager, VolumeDisplaySettings settings)
 {
     _deviceManager = deviceManager;
     Settings       = settings;
     Transparancy   = 255;
     Scale          = 4;
 }
Exemplo n.º 2
0
 public VolumeBar(DeviceManager deviceManager, VolumeDisplaySettings settings)
 {
     _deviceManager = deviceManager;
     Settings = settings;
     Transparancy = 255;
     Scale = 4;
 }
Exemplo n.º 3
0
        public VolumeDisplayModel(MainManager mainManager, VolumeDisplaySettings settings) : base(mainManager)
        {
            Settings = settings;
            Name     = "VolumeDisplay";
            Enabled  = Settings.Enabled;

            VolumeDisplay = new VolumeBar(MainManager.DeviceManager, settings);
        }
Exemplo n.º 4
0
        public VolumeDisplayViewModel(MainManager mainManager) : base(mainManager)
        {
            DisplayName = "Volume Display";

            // Settings are loaded from file by class
            OverlaySettings = new VolumeDisplaySettings();

            // Create effect model and add it to MainManager
            OverlayModel = new VolumeDisplayModel(mainManager, (VolumeDisplaySettings)OverlaySettings);
            MainManager.EffectManager.EffectModels.Add(OverlayModel);
        }