Files
OpenPlexusX/VibranceHud/Display/ICustomModeDriver.cs
T
2026-11-24 23:40:08 +03:00

31 lines
634 B
C#

using System;
using System.Collections.Generic;
namespace VibranceHud.Display;
public interface ICustomModeDriver
{
bool Available { get; }
bool Trial(string? deviceName, int width, int height, int hz);
bool Trial(string? deviceName, int width, int height, int hz, DisplayMode? native)
{
return Trial(deviceName, width, height, hz);
}
bool IsOnTheNativeSignal(string? deviceName, int width, int height, int hz, DisplayMode? native)
{
return true;
}
bool Save(string? deviceName);
bool Revert(string? deviceName);
IReadOnlyList<DisplayMode> Saved(string? deviceName)
{
return Array.Empty<DisplayMode>();
}
}