UI tweaks

This commit is contained in:
Serge
2023-05-07 11:17:45 +02:00
parent 479572e39d
commit 832f13d8e4
6 changed files with 25 additions and 2 deletions

View File

@@ -30,6 +30,8 @@ namespace GHelper
buttonReset.Text = Properties.Strings.FactoryDefaults;
checkApplyFans.Text = Properties.Strings.ApplyFanCurve;
labelGPU.Text = Properties.Strings.GPUSettings;
InitTheme();
MinRPM = 18;
@@ -162,6 +164,9 @@ namespace GHelper
trackGPUBoost.Value = Math.Max(Math.Min(gpu_boost, ASUSWmi.MaxGPUBoost), ASUSWmi.MinGPUBoost);
trackGPUTemp.Value = Math.Max(Math.Min(gpu_temp, ASUSWmi.MaxGPUTemp), ASUSWmi.MinGPUTemp);
panelGPUBoost.Visible = (Program.wmi.DeviceGet(ASUSWmi.PPT_GPUC0) >= 0);
panelGPUTemp.Visible = (Program.wmi.DeviceGet(ASUSWmi.PPT_GPUC2) >= 0);
VisualiseGPUSettings();
}