mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 08:48:30 +00:00
46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using System;
|
|
using Example_Ambilight_full.TakeAsIs.Model;
|
|
|
|
namespace Example_Ambilight_full.TakeAsIs
|
|
{
|
|
public class AmbilightSettings
|
|
{
|
|
private AmbienceCreatorType _ambienceCreatorType = AmbienceCreatorType.Mirror;
|
|
|
|
#region Properties & Fields
|
|
|
|
public AmbienceCreatorType AmbienceCreatorType
|
|
{
|
|
get { return _ambienceCreatorType; }
|
|
set
|
|
{
|
|
if (_ambienceCreatorType != value)
|
|
{
|
|
_ambienceCreatorType = value;
|
|
AmbienceCreatorTypeChanged?.Invoke(this, new EventArgs());
|
|
}
|
|
}
|
|
}
|
|
|
|
public int OffsetLeft { get; set; } = 0;
|
|
public int OffsetRight { get; set; } = 0;
|
|
public int OffsetTop { get; set; } = 0;
|
|
public int OffsetBottom { get; set; } = 0;
|
|
|
|
public int Downsampling { get; set; } = 2;
|
|
public double MirroredAmount { get; set; } = 10;
|
|
|
|
public SmoothMode SmoothMode { get; set; } = SmoothMode.Low;
|
|
public BlackBarDetectionMode BlackBarDetectionMode { get; set; } = BlackBarDetectionMode.Bottom;
|
|
public FlipMode FlipMode { get; set; } = FlipMode.Vertical;
|
|
|
|
#endregion
|
|
|
|
#region Events
|
|
|
|
public event EventHandler AmbienceCreatorTypeChanged;
|
|
|
|
#endregion
|
|
}
|
|
}
|