From a6e00de265652e5bae67429040ecdfa87e6fbbca Mon Sep 17 00:00:00 2001
From: Sparronator9999 <86388887+Sparronator9999@users.noreply.github.com>
Date: Sun, 16 Feb 2025 10:23:30 +1100
Subject: [PATCH] Update performance mode tooltips
- Fix potential crash when loading a config without a PerfModeConf
- Adjust sizing of top row of drop-downs on Fan Control tab to better fit drop-down text
---
YAMDCC.ConfigEditor/MainForm.Designer.cs | 129 ++++++++++++-----------
YAMDCC.ConfigEditor/MainForm.cs | 23 +++-
YAMDCC.ConfigEditor/MainForm.resx | 72 +++++++++++++
YAMDCC.ConfigEditor/Strings.resx | 11 +-
4 files changed, 165 insertions(+), 70 deletions(-)
diff --git a/YAMDCC.ConfigEditor/MainForm.Designer.cs b/YAMDCC.ConfigEditor/MainForm.Designer.cs
index a218144..738cc19 100644
--- a/YAMDCC.ConfigEditor/MainForm.Designer.cs
+++ b/YAMDCC.ConfigEditor/MainForm.Designer.cs
@@ -54,6 +54,9 @@ private void InitializeComponent()
System.Windows.Forms.ToolStripMenuItem tsiCheckUpdate;
System.Windows.Forms.TabControl tcMain;
System.Windows.Forms.TabPage tabFanControl;
+ System.Windows.Forms.Label lblProfPerfMode;
+ System.Windows.Forms.Label lblProfSel;
+ System.Windows.Forms.Label lblFanSel;
System.Windows.Forms.TabPage tabExtra;
System.Windows.Forms.TableLayoutPanel tblExtra;
System.Windows.Forms.Label lblFanMode;
@@ -99,13 +102,10 @@ private void InitializeComponent()
this.tsiSource = new System.Windows.Forms.ToolStripMenuItem();
this.tblFanControl = new System.Windows.Forms.TableLayoutPanel();
this.cboProfPerfMode = new System.Windows.Forms.ComboBox();
- this.lblProfPerfMode = new System.Windows.Forms.Label();
this.btnProfDel = new System.Windows.Forms.Button();
this.btnProfAdd = new System.Windows.Forms.Button();
this.cboProfSel = new System.Windows.Forms.ComboBox();
- this.lblProfSel = new System.Windows.Forms.Label();
this.cboFanSel = new System.Windows.Forms.ComboBox();
- this.lblFanSel = new System.Windows.Forms.Label();
this.tblCurve = new System.Windows.Forms.TableLayoutPanel();
this.cboFanMode = new System.Windows.Forms.ComboBox();
this.cboPerfMode = new System.Windows.Forms.ComboBox();
@@ -140,6 +140,9 @@ private void InitializeComponent()
tsiCheckUpdate = new System.Windows.Forms.ToolStripMenuItem();
tcMain = new System.Windows.Forms.TabControl();
tabFanControl = new System.Windows.Forms.TabPage();
+ lblProfPerfMode = new System.Windows.Forms.Label();
+ lblProfSel = new System.Windows.Forms.Label();
+ lblFanSel = new System.Windows.Forms.Label();
tabExtra = new System.Windows.Forms.TabPage();
tblExtra = new System.Windows.Forms.TableLayoutPanel();
lblFanMode = new System.Windows.Forms.Label();
@@ -292,27 +295,27 @@ private void InitializeComponent()
// tsiProfRen
//
this.tsiProfRen.Name = "tsiProfRen";
- this.tsiProfRen.Size = new System.Drawing.Size(180, 22);
+ this.tsiProfRen.Size = new System.Drawing.Size(178, 22);
this.tsiProfRen.Text = "Change Name";
this.tsiProfRen.Click += new System.EventHandler(this.ProfRename);
//
// tsiProfChangeDesc
//
this.tsiProfChangeDesc.Name = "tsiProfChangeDesc";
- this.tsiProfChangeDesc.Size = new System.Drawing.Size(180, 22);
+ this.tsiProfChangeDesc.Size = new System.Drawing.Size(178, 22);
this.tsiProfChangeDesc.Text = "Change Description";
this.tsiProfChangeDesc.Click += new System.EventHandler(this.ProfChangeDesc);
//
// sep3
//
sep3.Name = "sep3";
- sep3.Size = new System.Drawing.Size(177, 6);
+ sep3.Size = new System.Drawing.Size(175, 6);
//
// tsiProfDel
//
this.tsiProfDel.Name = "tsiProfDel";
this.tsiProfDel.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Delete)));
- this.tsiProfDel.Size = new System.Drawing.Size(180, 22);
+ this.tsiProfDel.Size = new System.Drawing.Size(178, 22);
this.tsiProfDel.Text = "Delete";
this.tsiProfDel.Click += new System.EventHandler(this.ProfDel);
//
@@ -476,23 +479,24 @@ private void InitializeComponent()
//
// tblFanControl
//
- this.tblFanControl.ColumnCount = 8;
+ this.tblFanControl.ColumnCount = 9;
this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
- this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
+ this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 27.5F));
this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
- this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
+ this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 27.5F));
this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
- this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
+ this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 45F));
+ this.tblFanControl.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tblFanControl.Controls.Add(this.cboProfPerfMode, 7, 0);
- this.tblFanControl.Controls.Add(this.lblProfPerfMode, 6, 0);
+ this.tblFanControl.Controls.Add(lblProfPerfMode, 6, 0);
this.tblFanControl.Controls.Add(this.btnProfDel, 5, 0);
this.tblFanControl.Controls.Add(this.btnProfAdd, 4, 0);
this.tblFanControl.Controls.Add(this.cboProfSel, 3, 0);
- this.tblFanControl.Controls.Add(this.lblProfSel, 2, 0);
+ this.tblFanControl.Controls.Add(lblProfSel, 2, 0);
this.tblFanControl.Controls.Add(this.cboFanSel, 1, 0);
- this.tblFanControl.Controls.Add(this.lblFanSel, 0, 0);
+ this.tblFanControl.Controls.Add(lblFanSel, 0, 0);
this.tblFanControl.Controls.Add(this.tblCurve, 0, 1);
this.tblFanControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.tblFanControl.Location = new System.Drawing.Point(0, 0);
@@ -510,27 +514,27 @@ private void InitializeComponent()
this.cboProfPerfMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboProfPerfMode.DropDownWidth = 200;
this.cboProfPerfMode.FormattingEnabled = true;
- this.cboProfPerfMode.Location = new System.Drawing.Point(419, 3);
+ this.cboProfPerfMode.Location = new System.Drawing.Point(379, 3);
this.cboProfPerfMode.Name = "cboProfPerfMode";
- this.cboProfPerfMode.Size = new System.Drawing.Size(104, 23);
+ this.cboProfPerfMode.Size = new System.Drawing.Size(142, 23);
this.cboProfPerfMode.TabIndex = 7;
this.cboProfPerfMode.SelectedIndexChanged += new System.EventHandler(this.ProfPerfModeChanged);
//
// lblProfPerfMode
//
- this.lblProfPerfMode.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.lblProfPerfMode.AutoSize = true;
- this.lblProfPerfMode.Location = new System.Drawing.Point(348, 6);
- this.lblProfPerfMode.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
- this.lblProfPerfMode.Name = "lblProfPerfMode";
- this.lblProfPerfMode.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
- this.lblProfPerfMode.Size = new System.Drawing.Size(68, 17);
- this.lblProfPerfMode.TabIndex = 6;
- this.lblProfPerfMode.Text = "Perf. mode:";
+ lblProfPerfMode.Anchor = System.Windows.Forms.AnchorStyles.Left;
+ lblProfPerfMode.AutoSize = true;
+ lblProfPerfMode.Location = new System.Drawing.Point(308, 6);
+ lblProfPerfMode.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
+ lblProfPerfMode.Name = "lblProfPerfMode";
+ lblProfPerfMode.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
+ lblProfPerfMode.Size = new System.Drawing.Size(68, 17);
+ lblProfPerfMode.TabIndex = 6;
+ lblProfPerfMode.Text = "Perf. mode:";
//
// btnProfDel
//
- this.btnProfDel.Location = new System.Drawing.Point(322, 3);
+ this.btnProfDel.Location = new System.Drawing.Point(282, 3);
this.btnProfDel.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
this.btnProfDel.Name = "btnProfDel";
this.btnProfDel.Size = new System.Drawing.Size(23, 23);
@@ -541,7 +545,7 @@ private void InitializeComponent()
//
// btnProfAdd
//
- this.btnProfAdd.Location = new System.Drawing.Point(299, 3);
+ this.btnProfAdd.Location = new System.Drawing.Point(259, 3);
this.btnProfAdd.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
this.btnProfAdd.Name = "btnProfAdd";
this.btnProfAdd.Size = new System.Drawing.Size(23, 23);
@@ -556,23 +560,23 @@ private void InitializeComponent()
this.cboProfSel.Dock = System.Windows.Forms.DockStyle.Fill;
this.cboProfSel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboProfSel.FormattingEnabled = true;
- this.cboProfSel.Location = new System.Drawing.Point(192, 3);
+ this.cboProfSel.Location = new System.Drawing.Point(172, 3);
this.cboProfSel.Name = "cboProfSel";
- this.cboProfSel.Size = new System.Drawing.Size(104, 23);
+ this.cboProfSel.Size = new System.Drawing.Size(84, 23);
this.cboProfSel.TabIndex = 3;
this.cboProfSel.SelectedIndexChanged += new System.EventHandler(this.ProfSelChanged);
//
// lblProfSel
//
- this.lblProfSel.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.lblProfSel.AutoSize = true;
- this.lblProfSel.Location = new System.Drawing.Point(145, 6);
- this.lblProfSel.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
- this.lblProfSel.Name = "lblProfSel";
- this.lblProfSel.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
- this.lblProfSel.Size = new System.Drawing.Size(44, 17);
- this.lblProfSel.TabIndex = 2;
- this.lblProfSel.Text = "Profile:";
+ lblProfSel.Anchor = System.Windows.Forms.AnchorStyles.Left;
+ lblProfSel.AutoSize = true;
+ lblProfSel.Location = new System.Drawing.Point(125, 6);
+ lblProfSel.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
+ lblProfSel.Name = "lblProfSel";
+ lblProfSel.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
+ lblProfSel.Size = new System.Drawing.Size(44, 17);
+ lblProfSel.TabIndex = 2;
+ lblProfSel.Text = "Profile:";
//
// cboFanSel
//
@@ -581,21 +585,21 @@ private void InitializeComponent()
this.cboFanSel.FormattingEnabled = true;
this.cboFanSel.Location = new System.Drawing.Point(35, 3);
this.cboFanSel.Name = "cboFanSel";
- this.cboFanSel.Size = new System.Drawing.Size(104, 23);
+ this.cboFanSel.Size = new System.Drawing.Size(84, 23);
this.cboFanSel.TabIndex = 1;
this.cboFanSel.SelectedIndexChanged += new System.EventHandler(this.FanSelChanged);
//
// lblFanSel
//
- this.lblFanSel.Anchor = System.Windows.Forms.AnchorStyles.Left;
- this.lblFanSel.AutoSize = true;
- this.lblFanSel.Location = new System.Drawing.Point(3, 6);
- this.lblFanSel.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
- this.lblFanSel.Name = "lblFanSel";
- this.lblFanSel.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
- this.lblFanSel.Size = new System.Drawing.Size(29, 17);
- this.lblFanSel.TabIndex = 0;
- this.lblFanSel.Text = "Fan:";
+ lblFanSel.Anchor = System.Windows.Forms.AnchorStyles.Left;
+ lblFanSel.AutoSize = true;
+ lblFanSel.Location = new System.Drawing.Point(3, 6);
+ lblFanSel.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
+ lblFanSel.Name = "lblFanSel";
+ lblFanSel.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
+ lblFanSel.Size = new System.Drawing.Size(29, 17);
+ lblFanSel.TabIndex = 0;
+ lblFanSel.Text = "Fan:";
//
// tblCurve
//
@@ -613,7 +617,7 @@ private void InitializeComponent()
this.tblCurve.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tblCurve.RowStyles.Add(new System.Windows.Forms.RowStyle());
this.tblCurve.RowStyles.Add(new System.Windows.Forms.RowStyle());
- this.tblCurve.Size = new System.Drawing.Size(526, 307);
+ this.tblCurve.Size = new System.Drawing.Size(524, 307);
this.tblCurve.TabIndex = 2;
//
// tabExtra
@@ -660,7 +664,7 @@ private void InitializeComponent()
this.cboFanMode.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.cboFanMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboFanMode.FormattingEnabled = true;
- this.cboFanMode.Location = new System.Drawing.Point(133, 137);
+ this.cboFanMode.Location = new System.Drawing.Point(160, 137);
this.cboFanMode.Name = "cboFanMode";
this.cboFanMode.Size = new System.Drawing.Size(150, 23);
this.cboFanMode.TabIndex = 9;
@@ -670,7 +674,7 @@ private void InitializeComponent()
//
lblFanMode.Anchor = System.Windows.Forms.AnchorStyles.Right;
lblFanMode.AutoSize = true;
- lblFanMode.Location = new System.Drawing.Point(5, 141);
+ lblFanMode.Location = new System.Drawing.Point(32, 141);
lblFanMode.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
lblFanMode.Name = "lblFanMode";
lblFanMode.Size = new System.Drawing.Size(125, 15);
@@ -681,7 +685,7 @@ private void InitializeComponent()
//
lblChgLim.Anchor = System.Windows.Forms.AnchorStyles.Right;
lblChgLim.AutoSize = true;
- lblChgLim.Location = new System.Drawing.Point(55, 5);
+ lblChgLim.Location = new System.Drawing.Point(82, 5);
lblChgLim.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
lblChgLim.Name = "lblChgLim";
lblChgLim.Padding = new System.Windows.Forms.Padding(0, 0, 0, 3);
@@ -693,19 +697,19 @@ private void InitializeComponent()
//
lblPerfMode.Anchor = System.Windows.Forms.AnchorStyles.Right;
lblPerfMode.AutoSize = true;
- lblPerfMode.Location = new System.Drawing.Point(18, 36);
+ lblPerfMode.Location = new System.Drawing.Point(4, 36);
lblPerfMode.Margin = new System.Windows.Forms.Padding(4, 3, 0, 3);
lblPerfMode.Name = "lblPerfMode";
- lblPerfMode.Size = new System.Drawing.Size(112, 15);
+ lblPerfMode.Size = new System.Drawing.Size(153, 15);
lblPerfMode.TabIndex = 2;
- lblPerfMode.Text = "Performance mode:";
+ lblPerfMode.Text = "Default performance mode:";
//
// cboPerfMode
//
this.cboPerfMode.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.cboPerfMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboPerfMode.FormattingEnabled = true;
- this.cboPerfMode.Location = new System.Drawing.Point(133, 32);
+ this.cboPerfMode.Location = new System.Drawing.Point(160, 32);
this.cboPerfMode.Name = "cboPerfMode";
this.cboPerfMode.Size = new System.Drawing.Size(150, 23);
this.cboPerfMode.TabIndex = 3;
@@ -715,7 +719,7 @@ private void InitializeComponent()
//
lblWinFnSwap.Anchor = System.Windows.Forms.AnchorStyles.Right;
lblWinFnSwap.AutoSize = true;
- lblWinFnSwap.Location = new System.Drawing.Point(3, 62);
+ lblWinFnSwap.Location = new System.Drawing.Point(30, 62);
lblWinFnSwap.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
lblWinFnSwap.Name = "lblWinFnSwap";
lblWinFnSwap.Padding = new System.Windows.Forms.Padding(0, 0, 0, 2);
@@ -727,7 +731,7 @@ private void InitializeComponent()
//
this.chkWinFnSwap.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.chkWinFnSwap.AutoSize = true;
- this.chkWinFnSwap.Location = new System.Drawing.Point(133, 61);
+ this.chkWinFnSwap.Location = new System.Drawing.Point(160, 61);
this.chkWinFnSwap.Name = "chkWinFnSwap";
this.chkWinFnSwap.Size = new System.Drawing.Size(68, 19);
this.chkWinFnSwap.TabIndex = 5;
@@ -739,7 +743,7 @@ private void InitializeComponent()
//
lblKeyLight.Anchor = System.Windows.Forms.AnchorStyles.Right;
lblKeyLight.AutoSize = true;
- lblKeyLight.Location = new System.Drawing.Point(18, 101);
+ lblKeyLight.Location = new System.Drawing.Point(45, 101);
lblKeyLight.Margin = new System.Windows.Forms.Padding(3, 3, 0, 3);
lblKeyLight.Name = "lblKeyLight";
lblKeyLight.Size = new System.Drawing.Size(112, 15);
@@ -752,7 +756,7 @@ private void InitializeComponent()
flwKeyLight.Controls.Add(this.lblKeyLightLow);
flwKeyLight.Controls.Add(this.tbKeyLight);
flwKeyLight.Controls.Add(this.lblKeyLightHigh);
- flwKeyLight.Location = new System.Drawing.Point(130, 83);
+ flwKeyLight.Location = new System.Drawing.Point(157, 83);
flwKeyLight.Margin = new System.Windows.Forms.Padding(0);
flwKeyLight.Name = "flwKeyLight";
flwKeyLight.Size = new System.Drawing.Size(225, 51);
@@ -796,7 +800,7 @@ private void InitializeComponent()
flwChgLim.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
flwChgLim.Controls.Add(this.chkChgLim);
flwChgLim.Controls.Add(this.numChgLim);
- flwChgLim.Location = new System.Drawing.Point(130, 0);
+ flwChgLim.Location = new System.Drawing.Point(157, 0);
flwChgLim.Margin = new System.Windows.Forms.Padding(0);
flwChgLim.Name = "flwChgLim";
flwChgLim.Size = new System.Drawing.Size(130, 29);
@@ -1165,9 +1169,7 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem tsiSource;
private System.Windows.Forms.TableLayoutPanel tblFanControl;
private System.Windows.Forms.TableLayoutPanel tblCurve;
- private System.Windows.Forms.Label lblFanSel;
private System.Windows.Forms.ComboBox cboFanSel;
- private System.Windows.Forms.Label lblProfSel;
private System.Windows.Forms.ComboBox cboProfSel;
private System.Windows.Forms.Button btnProfAdd;
private System.Windows.Forms.Button btnProfDel;
@@ -1202,6 +1204,5 @@ private void InitializeComponent()
private System.Windows.Forms.TextBox txtFirmDate;
private System.Windows.Forms.TextBox txtFirmVer;
private System.Windows.Forms.ComboBox cboProfPerfMode;
- private System.Windows.Forms.Label lblProfPerfMode;
}
}
diff --git a/YAMDCC.ConfigEditor/MainForm.cs b/YAMDCC.ConfigEditor/MainForm.cs
index 2956d8a..ef5e9ad 100644
--- a/YAMDCC.ConfigEditor/MainForm.cs
+++ b/YAMDCC.ConfigEditor/MainForm.cs
@@ -733,9 +733,12 @@ private void ProfSelChanged(object sender, EventArgs e)
ttMain.SetToolTip(cboProfSel, Strings.GetString(
"ttProfSel", cfg.FanCurveConfs[cfg.CurveSel].Desc));
- cboProfPerfMode.SelectedIndex = Config.FanConfs[0]
- .FanCurveConfs[cboProfSel.SelectedIndex].PerfModeSel + 1;
- cboProfPerfMode.Enabled = true;
+ if (Config.PerfModeConf is not null)
+ {
+ cboProfPerfMode.SelectedIndex = Config.FanConfs[0]
+ .FanCurveConfs[cboProfSel.SelectedIndex].PerfModeSel + 1;
+ cboProfPerfMode.Enabled = true;
+ }
bool enable = curveCfg.Name != "Default";
for (int i = 0; i < numFanSpds.Length; i++)
@@ -763,9 +766,19 @@ private void ProfSelChanged(object sender, EventArgs e)
private void ProfPerfModeChanged(object sender, EventArgs e)
{
int i = cboProfPerfMode.SelectedIndex;
+ PerfModeConf pModeCfg = Config.PerfModeConf;
Config.FanConfs[0].FanCurveConfs[cboProfSel.SelectedIndex].PerfModeSel = i - 1;
- //ttMain.SetToolTip(cboPerfMode,
- // Strings.GetString("ttPerfMode", Config.PerfModeConf.PerfModes[i].Desc));
+
+ if (i > 0)
+ {
+ ttMain.SetToolTip(cboProfPerfMode,
+ Strings.GetString("ttProfPerfMode", pModeCfg.PerfModes[i - 1].Desc));
+ }
+ else // use default performance mode description
+ {
+ ttMain.SetToolTip(cboProfPerfMode,
+ Strings.GetString("ttProfPerfMode", pModeCfg.PerfModes[pModeCfg.ModeSel].Desc));
+ }
}
private void ProfAdd(object sender, EventArgs e)
diff --git a/YAMDCC.ConfigEditor/MainForm.resx b/YAMDCC.ConfigEditor/MainForm.resx
index 10bb805..b292b6d 100644
--- a/YAMDCC.ConfigEditor/MainForm.resx
+++ b/YAMDCC.ConfigEditor/MainForm.resx
@@ -129,6 +129,24 @@
False
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
False
@@ -144,18 +162,57 @@
False
+
+ False
+
False
False
+
+ False
+
+
+ False
+
+
+ False
+
False
False
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
False
@@ -195,6 +252,21 @@
False
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
+
+ False
+
False
diff --git a/YAMDCC.ConfigEditor/Strings.resx b/YAMDCC.ConfigEditor/Strings.resx
index a6f372a..5cb962d 100644
--- a/YAMDCC.ConfigEditor/Strings.resx
+++ b/YAMDCC.ConfigEditor/Strings.resx
@@ -351,8 +351,17 @@ increasing to 100% for the highest setting (or lower, if you want a quieter fan
brightness, or drag left to decrease it (or turn it off).
- Click or scroll to select the performance mode of your laptop.
+ Click or scroll to select the default performance mode of your laptop.
Note that this is different from Windows' power plans.
+This value will be overridden by the per-profile performance mode
+(you can find it on the "Fan control" tab).
+
+Performance mode description:
+{0}
+
+
+ Click or scroll to select the performance mode to be applied with this fan profile.
+Set to "Default" to use the value set by "Default performance mode" (on the "Extras" tab).
Performance mode description:
{0}