mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Colors for custom modes
This commit is contained in:
@@ -1282,16 +1282,28 @@ namespace GHelper
|
||||
menuBalanced.Checked = true;
|
||||
break;
|
||||
default:
|
||||
if (!Modes.Exists(mode))
|
||||
if (Modes.Exists(mode))
|
||||
{
|
||||
buttonFans.Activated = true;
|
||||
switch (Modes.GetBase(mode))
|
||||
{
|
||||
case AsusACPI.PerformanceSilent:
|
||||
buttonFans.BorderColor = colorEco;
|
||||
break;
|
||||
case AsusACPI.PerformanceTurbo:
|
||||
buttonFans.BorderColor = colorTurbo;
|
||||
break;
|
||||
default:
|
||||
buttonFans.BorderColor = colorStandard;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
buttonBalanced.Activated = true;
|
||||
menuBalanced.Checked = true;
|
||||
mode = AsusACPI.PerformanceBalanced;
|
||||
}
|
||||
else
|
||||
{
|
||||
buttonFans.Activated = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user