27 lines
646 B
C#
27 lines
646 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace VDash.Overlay.Config
|
|
{
|
|
public class MonitorOverlayConfig : IOverlayConfig
|
|
{
|
|
public event EventHandler WidthUpdated;
|
|
public string Name { get; set; }
|
|
public string Key { get; set; }
|
|
public string MonitorName { get; set; }
|
|
float m_Width = 2.5f;
|
|
public float OverlayWidth
|
|
{
|
|
get { return m_Width; }
|
|
set
|
|
{
|
|
m_Width = value;
|
|
WidthUpdated?.Invoke(this, null);
|
|
}
|
|
}
|
|
}
|
|
}
|