This commit is contained in:
TinyHerm committed 2026-11-24 23:40:08 +03:00
commit 1c7a8cf25f
579 files changed
+83196

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
namespace VibranceHud.Monitors;
public interface IMonitorWriter
{
bool SetBrightnessPercent(int monitorIndex, PanelRange range, int percent);
bool SetContrastPercent(int monitorIndex, PanelRange range, int percent);
bool SetLowBlueLight(int monitorIndex, PanelRange gain, int strength);
bool SetRedGainPercent(int monitorIndex, PanelRange range, int percent);
bool SetGreenGainPercent(int monitorIndex, PanelRange range, int percent);
bool SetInputSource(int monitorIndex, byte value);
bool RestoreBrightness(int monitorIndex, int raw);
bool RestoreContrast(int monitorIndex, int raw);
bool RestoreBlueGain(int monitorIndex, int raw);
bool RestoreRedGain(int monitorIndex, int raw);
bool RestoreGreenGain(int monitorIndex, int raw);
(bool Brightness, bool Contrast, bool BlueGain, bool RedGain, bool GreenGain) RestoreAll(int monitorIndex, int? brightness, int? contrast, int? blueGain, int? redGain = null, int? greenGain = null);
int? ReadTrustedBrightness(int monitorIndex);
bool RestoreColourDefaults(int monitorIndex);
}