mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Merge branch 'seerge:main' into cpu-auto-tdp
This commit is contained in:
@@ -294,6 +294,11 @@ public class AsusACPI
|
||||
MaxGPUPower = 70;
|
||||
}
|
||||
|
||||
if (AppConfig.IsSlash())
|
||||
{
|
||||
MaxGPUPower = 25;
|
||||
}
|
||||
|
||||
if (AppConfig.DynamicBoost5())
|
||||
{
|
||||
MaxGPUBoost = 5;
|
||||
|
||||
@@ -161,12 +161,10 @@ namespace GHelper
|
||||
});
|
||||
}
|
||||
|
||||
public void VisualiseNewDriver(int position, int newer, TableLayoutPanel table)
|
||||
private void _VisualiseNewDriver(int position, int newer, TableLayoutPanel table)
|
||||
{
|
||||
var label = table.GetControlFromPosition(3, position) as LinkLabel;
|
||||
if (label != null)
|
||||
{
|
||||
Invoke(delegate
|
||||
{
|
||||
if (newer == DRIVER_NEWER)
|
||||
{
|
||||
@@ -177,10 +175,24 @@ namespace GHelper
|
||||
|
||||
if (newer == DRIVER_NOT_FOUND) label.LinkColor = Color.Gray;
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public void VisualiseNewDriver(int position, int newer, TableLayoutPanel table)
|
||||
{
|
||||
if (InvokeRequired)
|
||||
{
|
||||
Invoke(delegate
|
||||
{
|
||||
_VisualiseNewDriver(position, newer, table);
|
||||
});
|
||||
} else
|
||||
{
|
||||
_VisualiseNewDriver(position, newer, table);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void VisualiseNewCount(int updatesCount, TableLayoutPanel table)
|
||||
{
|
||||
Invoke(delegate
|
||||
|
||||
Reference in New Issue
Block a user