mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Curve editor fix
This commit is contained in:
177
app/Extra.Designer.cs
generated
177
app/Extra.Designer.cs
generated
@@ -86,13 +86,13 @@ namespace GHelper
|
|||||||
checkSleepLid = new CheckBox();
|
checkSleepLid = new CheckBox();
|
||||||
checkShutdownLid = new CheckBox();
|
checkShutdownLid = new CheckBox();
|
||||||
groupOther = new GroupBox();
|
groupOther = new GroupBox();
|
||||||
checkFnLock = new CheckBox();
|
|
||||||
checkGpuApps = new CheckBox();
|
|
||||||
checkAutoApplyWindowsPowerMode = new CheckBox();
|
checkAutoApplyWindowsPowerMode = new CheckBox();
|
||||||
checkUSBC = new CheckBox();
|
|
||||||
checkNoOverdrive = new CheckBox();
|
|
||||||
checkTopmost = new CheckBox();
|
checkTopmost = new CheckBox();
|
||||||
|
checkNoOverdrive = new CheckBox();
|
||||||
|
checkUSBC = new CheckBox();
|
||||||
checkVariBright = new CheckBox();
|
checkVariBright = new CheckBox();
|
||||||
|
checkGpuApps = new CheckBox();
|
||||||
|
checkFnLock = new CheckBox();
|
||||||
groupBindings.SuspendLayout();
|
groupBindings.SuspendLayout();
|
||||||
tableKeys.SuspendLayout();
|
tableKeys.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)pictureHelp).BeginInit();
|
((System.ComponentModel.ISupportInitialize)pictureHelp).BeginInit();
|
||||||
@@ -115,8 +115,8 @@ namespace GHelper
|
|||||||
groupBindings.Location = new Point(9, 11);
|
groupBindings.Location = new Point(9, 11);
|
||||||
groupBindings.Margin = new Padding(4, 2, 4, 2);
|
groupBindings.Margin = new Padding(4, 2, 4, 2);
|
||||||
groupBindings.Name = "groupBindings";
|
groupBindings.Name = "groupBindings";
|
||||||
groupBindings.Padding = new Padding(4, 2, 4, 2);
|
groupBindings.Padding = new Padding(4, 2, 50, 2);
|
||||||
groupBindings.Size = new Size(966, 381);
|
groupBindings.Size = new Size(966, 343);
|
||||||
groupBindings.TabIndex = 0;
|
groupBindings.TabIndex = 0;
|
||||||
groupBindings.TabStop = false;
|
groupBindings.TabStop = false;
|
||||||
groupBindings.Text = "Key Bindings";
|
groupBindings.Text = "Key Bindings";
|
||||||
@@ -145,10 +145,11 @@ namespace GHelper
|
|||||||
tableKeys.Controls.Add(textFNF4, 2, 4);
|
tableKeys.Controls.Add(textFNF4, 2, 4);
|
||||||
tableKeys.Controls.Add(comboFNC, 1, 5);
|
tableKeys.Controls.Add(comboFNC, 1, 5);
|
||||||
tableKeys.Controls.Add(textFNC, 2, 5);
|
tableKeys.Controls.Add(textFNC, 2, 5);
|
||||||
tableKeys.Location = new Point(13, 38);
|
tableKeys.Dock = DockStyle.Top;
|
||||||
tableKeys.Margin = new Padding(4, 2, 40, 2);
|
tableKeys.Location = new Point(4, 34);
|
||||||
|
tableKeys.Margin = new Padding(4, 2, 4, 2);
|
||||||
tableKeys.Name = "tableKeys";
|
tableKeys.Name = "tableKeys";
|
||||||
tableKeys.Padding = new Padding(9, 11, 9, 11);
|
tableKeys.Padding = new Padding(9, 11, 0, 11);
|
||||||
tableKeys.RowCount = 6;
|
tableKeys.RowCount = 6;
|
||||||
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 49F));
|
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 49F));
|
||||||
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 49F));
|
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 49F));
|
||||||
@@ -156,7 +157,7 @@ namespace GHelper
|
|||||||
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 49F));
|
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 49F));
|
||||||
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 47F));
|
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 47F));
|
||||||
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 21F));
|
tableKeys.RowStyles.Add(new RowStyle(SizeType.Absolute, 21F));
|
||||||
tableKeys.Size = new Size(901, 307);
|
tableKeys.Size = new Size(912, 307);
|
||||||
tableKeys.TabIndex = 10;
|
tableKeys.TabIndex = 10;
|
||||||
//
|
//
|
||||||
// labelFNC
|
// labelFNC
|
||||||
@@ -171,32 +172,35 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// textM2
|
// textM2
|
||||||
//
|
//
|
||||||
textM2.Location = new Point(542, 62);
|
textM2.Dock = DockStyle.Top;
|
||||||
|
textM2.Location = new Point(554, 62);
|
||||||
textM2.Margin = new Padding(4, 2, 4, 2);
|
textM2.Margin = new Padding(4, 2, 4, 2);
|
||||||
textM2.Name = "textM2";
|
textM2.Name = "textM2";
|
||||||
textM2.PlaceholderText = "action";
|
textM2.PlaceholderText = "action";
|
||||||
textM2.Size = new Size(342, 39);
|
textM2.Size = new Size(354, 39);
|
||||||
textM2.TabIndex = 14;
|
textM2.TabIndex = 14;
|
||||||
//
|
//
|
||||||
// textM1
|
// textM1
|
||||||
//
|
//
|
||||||
textM1.Location = new Point(542, 13);
|
textM1.Dock = DockStyle.Top;
|
||||||
|
textM1.Location = new Point(554, 13);
|
||||||
textM1.Margin = new Padding(4, 2, 4, 2);
|
textM1.Margin = new Padding(4, 2, 4, 2);
|
||||||
textM1.Name = "textM1";
|
textM1.Name = "textM1";
|
||||||
textM1.PlaceholderText = "action";
|
textM1.PlaceholderText = "action";
|
||||||
textM1.Size = new Size(342, 39);
|
textM1.Size = new Size(354, 39);
|
||||||
textM1.TabIndex = 13;
|
textM1.TabIndex = 13;
|
||||||
//
|
//
|
||||||
// comboM1
|
// comboM1
|
||||||
//
|
//
|
||||||
comboM1.BorderColor = Color.White;
|
comboM1.BorderColor = Color.White;
|
||||||
comboM1.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboM1.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
|
comboM1.Dock = DockStyle.Top;
|
||||||
comboM1.FormattingEnabled = true;
|
comboM1.FormattingEnabled = true;
|
||||||
comboM1.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom });
|
comboM1.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom });
|
||||||
comboM1.Location = new Point(189, 13);
|
comboM1.Location = new Point(193, 13);
|
||||||
comboM1.Margin = new Padding(4, 2, 4, 2);
|
comboM1.Margin = new Padding(4, 2, 4, 2);
|
||||||
comboM1.Name = "comboM1";
|
comboM1.Name = "comboM1";
|
||||||
comboM1.Size = new Size(312, 40);
|
comboM1.Size = new Size(353, 40);
|
||||||
comboM1.TabIndex = 11;
|
comboM1.TabIndex = 11;
|
||||||
//
|
//
|
||||||
// labelM1
|
// labelM1
|
||||||
@@ -213,42 +217,46 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
comboM4.BorderColor = Color.White;
|
comboM4.BorderColor = Color.White;
|
||||||
comboM4.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboM4.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
|
comboM4.Dock = DockStyle.Top;
|
||||||
comboM4.FormattingEnabled = true;
|
comboM4.FormattingEnabled = true;
|
||||||
comboM4.Items.AddRange(new object[] { Strings.PerformanceMode, Strings.OpenGHelper, Strings.Custom });
|
comboM4.Items.AddRange(new object[] { Strings.PerformanceMode, Strings.OpenGHelper, Strings.Custom });
|
||||||
comboM4.Location = new Point(189, 160);
|
comboM4.Location = new Point(193, 160);
|
||||||
comboM4.Margin = new Padding(4, 2, 4, 2);
|
comboM4.Margin = new Padding(4, 2, 4, 2);
|
||||||
comboM4.Name = "comboM4";
|
comboM4.Name = "comboM4";
|
||||||
comboM4.Size = new Size(312, 40);
|
comboM4.Size = new Size(353, 40);
|
||||||
comboM4.TabIndex = 3;
|
comboM4.TabIndex = 3;
|
||||||
//
|
//
|
||||||
// comboM3
|
// comboM3
|
||||||
//
|
//
|
||||||
comboM3.BorderColor = Color.White;
|
comboM3.BorderColor = Color.White;
|
||||||
comboM3.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboM3.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
|
comboM3.Dock = DockStyle.Top;
|
||||||
comboM3.FormattingEnabled = true;
|
comboM3.FormattingEnabled = true;
|
||||||
comboM3.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom });
|
comboM3.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom });
|
||||||
comboM3.Location = new Point(189, 111);
|
comboM3.Location = new Point(193, 111);
|
||||||
comboM3.Margin = new Padding(4, 2, 4, 2);
|
comboM3.Margin = new Padding(4, 2, 4, 2);
|
||||||
comboM3.Name = "comboM3";
|
comboM3.Name = "comboM3";
|
||||||
comboM3.Size = new Size(312, 40);
|
comboM3.Size = new Size(353, 40);
|
||||||
comboM3.TabIndex = 1;
|
comboM3.TabIndex = 1;
|
||||||
//
|
//
|
||||||
// textM4
|
// textM4
|
||||||
//
|
//
|
||||||
textM4.Location = new Point(542, 160);
|
textM4.Dock = DockStyle.Top;
|
||||||
|
textM4.Location = new Point(554, 160);
|
||||||
textM4.Margin = new Padding(4, 2, 4, 2);
|
textM4.Margin = new Padding(4, 2, 4, 2);
|
||||||
textM4.Name = "textM4";
|
textM4.Name = "textM4";
|
||||||
textM4.PlaceholderText = "action";
|
textM4.PlaceholderText = "action";
|
||||||
textM4.Size = new Size(342, 39);
|
textM4.Size = new Size(354, 39);
|
||||||
textM4.TabIndex = 5;
|
textM4.TabIndex = 5;
|
||||||
//
|
//
|
||||||
// textM3
|
// textM3
|
||||||
//
|
//
|
||||||
textM3.Location = new Point(542, 111);
|
textM3.Dock = DockStyle.Top;
|
||||||
|
textM3.Location = new Point(554, 111);
|
||||||
textM3.Margin = new Padding(4, 2, 4, 2);
|
textM3.Margin = new Padding(4, 2, 4, 2);
|
||||||
textM3.Name = "textM3";
|
textM3.Name = "textM3";
|
||||||
textM3.PlaceholderText = "action";
|
textM3.PlaceholderText = "action";
|
||||||
textM3.Size = new Size(342, 39);
|
textM3.Size = new Size(354, 39);
|
||||||
textM3.TabIndex = 4;
|
textM3.TabIndex = 4;
|
||||||
//
|
//
|
||||||
// labelM4
|
// labelM4
|
||||||
@@ -285,12 +293,13 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
comboM2.BorderColor = Color.White;
|
comboM2.BorderColor = Color.White;
|
||||||
comboM2.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboM2.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
|
comboM2.Dock = DockStyle.Top;
|
||||||
comboM2.FormattingEnabled = true;
|
comboM2.FormattingEnabled = true;
|
||||||
comboM2.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom });
|
comboM2.Items.AddRange(new object[] { Strings.Default, Strings.VolumeMute, Strings.PlayPause, Strings.PrintScreen, Strings.ToggleAura, Strings.Custom });
|
||||||
comboM2.Location = new Point(189, 62);
|
comboM2.Location = new Point(193, 62);
|
||||||
comboM2.Margin = new Padding(4, 2, 4, 2);
|
comboM2.Margin = new Padding(4, 2, 4, 2);
|
||||||
comboM2.Name = "comboM2";
|
comboM2.Name = "comboM2";
|
||||||
comboM2.Size = new Size(312, 40);
|
comboM2.Size = new Size(353, 40);
|
||||||
comboM2.TabIndex = 12;
|
comboM2.TabIndex = 12;
|
||||||
//
|
//
|
||||||
// labelFNF4
|
// labelFNF4
|
||||||
@@ -307,40 +316,44 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
comboFNF4.BorderColor = Color.White;
|
comboFNF4.BorderColor = Color.White;
|
||||||
comboFNF4.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboFNF4.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
|
comboFNF4.Dock = DockStyle.Top;
|
||||||
comboFNF4.FormattingEnabled = true;
|
comboFNF4.FormattingEnabled = true;
|
||||||
comboFNF4.Location = new Point(189, 209);
|
comboFNF4.Location = new Point(193, 209);
|
||||||
comboFNF4.Margin = new Padding(4, 2, 4, 2);
|
comboFNF4.Margin = new Padding(4, 2, 4, 2);
|
||||||
comboFNF4.Name = "comboFNF4";
|
comboFNF4.Name = "comboFNF4";
|
||||||
comboFNF4.Size = new Size(312, 40);
|
comboFNF4.Size = new Size(353, 40);
|
||||||
comboFNF4.TabIndex = 7;
|
comboFNF4.TabIndex = 7;
|
||||||
//
|
//
|
||||||
// textFNF4
|
// textFNF4
|
||||||
//
|
//
|
||||||
textFNF4.Location = new Point(542, 209);
|
textFNF4.Dock = DockStyle.Top;
|
||||||
|
textFNF4.Location = new Point(554, 209);
|
||||||
textFNF4.Margin = new Padding(4, 2, 4, 2);
|
textFNF4.Margin = new Padding(4, 2, 4, 2);
|
||||||
textFNF4.Name = "textFNF4";
|
textFNF4.Name = "textFNF4";
|
||||||
textFNF4.PlaceholderText = "action";
|
textFNF4.PlaceholderText = "action";
|
||||||
textFNF4.Size = new Size(342, 39);
|
textFNF4.Size = new Size(354, 39);
|
||||||
textFNF4.TabIndex = 8;
|
textFNF4.TabIndex = 8;
|
||||||
//
|
//
|
||||||
// comboFNC
|
// comboFNC
|
||||||
//
|
//
|
||||||
comboFNC.BorderColor = Color.White;
|
comboFNC.BorderColor = Color.White;
|
||||||
comboFNC.ButtonColor = Color.FromArgb(255, 255, 255);
|
comboFNC.ButtonColor = Color.FromArgb(255, 255, 255);
|
||||||
|
comboFNC.Dock = DockStyle.Top;
|
||||||
comboFNC.FormattingEnabled = true;
|
comboFNC.FormattingEnabled = true;
|
||||||
comboFNC.Location = new Point(189, 256);
|
comboFNC.Location = new Point(193, 256);
|
||||||
comboFNC.Margin = new Padding(4, 2, 4, 2);
|
comboFNC.Margin = new Padding(4, 2, 4, 2);
|
||||||
comboFNC.Name = "comboFNC";
|
comboFNC.Name = "comboFNC";
|
||||||
comboFNC.Size = new Size(312, 40);
|
comboFNC.Size = new Size(353, 40);
|
||||||
comboFNC.TabIndex = 16;
|
comboFNC.TabIndex = 16;
|
||||||
//
|
//
|
||||||
// textFNC
|
// textFNC
|
||||||
//
|
//
|
||||||
textFNC.Location = new Point(542, 256);
|
textFNC.Dock = DockStyle.Top;
|
||||||
|
textFNC.Location = new Point(554, 256);
|
||||||
textFNC.Margin = new Padding(4, 2, 4, 2);
|
textFNC.Margin = new Padding(4, 2, 4, 2);
|
||||||
textFNC.Name = "textFNC";
|
textFNC.Name = "textFNC";
|
||||||
textFNC.PlaceholderText = "action";
|
textFNC.PlaceholderText = "action";
|
||||||
textFNC.Size = new Size(342, 39);
|
textFNC.Size = new Size(354, 39);
|
||||||
textFNC.TabIndex = 17;
|
textFNC.TabIndex = 17;
|
||||||
//
|
//
|
||||||
// pictureHelp
|
// pictureHelp
|
||||||
@@ -348,7 +361,7 @@ namespace GHelper
|
|||||||
pictureHelp.BackgroundImage = Resources.icons8_help_64;
|
pictureHelp.BackgroundImage = Resources.icons8_help_64;
|
||||||
pictureHelp.BackgroundImageLayout = ImageLayout.Zoom;
|
pictureHelp.BackgroundImageLayout = ImageLayout.Zoom;
|
||||||
pictureHelp.Cursor = Cursors.Hand;
|
pictureHelp.Cursor = Cursors.Hand;
|
||||||
pictureHelp.Location = new Point(915, 55);
|
pictureHelp.Location = new Point(921, 51);
|
||||||
pictureHelp.Margin = new Padding(4, 2, 4, 2);
|
pictureHelp.Margin = new Padding(4, 2, 4, 2);
|
||||||
pictureHelp.Name = "pictureHelp";
|
pictureHelp.Name = "pictureHelp";
|
||||||
pictureHelp.Size = new Size(32, 32);
|
pictureHelp.Size = new Size(32, 32);
|
||||||
@@ -363,7 +376,7 @@ namespace GHelper
|
|||||||
groupLight.Controls.Add(panelXMG);
|
groupLight.Controls.Add(panelXMG);
|
||||||
groupLight.Controls.Add(tableBacklight);
|
groupLight.Controls.Add(tableBacklight);
|
||||||
groupLight.Dock = DockStyle.Top;
|
groupLight.Dock = DockStyle.Top;
|
||||||
groupLight.Location = new Point(9, 392);
|
groupLight.Location = new Point(9, 354);
|
||||||
groupLight.Margin = new Padding(4, 2, 4, 2);
|
groupLight.Margin = new Padding(4, 2, 4, 2);
|
||||||
groupLight.Name = "groupLight";
|
groupLight.Name = "groupLight";
|
||||||
groupLight.Padding = new Padding(4, 2, 4, 11);
|
groupLight.Padding = new Padding(4, 2, 4, 11);
|
||||||
@@ -787,7 +800,7 @@ namespace GHelper
|
|||||||
groupOther.Controls.Add(checkGpuApps);
|
groupOther.Controls.Add(checkGpuApps);
|
||||||
groupOther.Controls.Add(checkFnLock);
|
groupOther.Controls.Add(checkFnLock);
|
||||||
groupOther.Dock = DockStyle.Top;
|
groupOther.Dock = DockStyle.Top;
|
||||||
groupOther.Location = new Point(9, 946);
|
groupOther.Location = new Point(9, 908);
|
||||||
groupOther.Margin = new Padding(4, 2, 4, 2);
|
groupOther.Margin = new Padding(4, 2, 4, 2);
|
||||||
groupOther.Name = "groupOther";
|
groupOther.Name = "groupOther";
|
||||||
groupOther.Padding = new Padding(20, 2, 4, 10);
|
groupOther.Padding = new Padding(20, 2, 4, 10);
|
||||||
@@ -796,31 +809,6 @@ namespace GHelper
|
|||||||
groupOther.TabStop = false;
|
groupOther.TabStop = false;
|
||||||
groupOther.Text = "Other";
|
groupOther.Text = "Other";
|
||||||
//
|
//
|
||||||
// checkFnLock
|
|
||||||
//
|
|
||||||
checkFnLock.AutoSize = true;
|
|
||||||
checkFnLock.Dock = DockStyle.Top;
|
|
||||||
checkFnLock.Location = new Point(20, 34);
|
|
||||||
checkFnLock.Margin = new Padding(4, 2, 4, 2);
|
|
||||||
checkFnLock.MaximumSize = new Size(780, 0);
|
|
||||||
checkFnLock.Name = "checkFnLock";
|
|
||||||
checkFnLock.Size = new Size(780, 36);
|
|
||||||
checkFnLock.TabIndex = 49;
|
|
||||||
checkFnLock.Text = "Process Fn+F hotkeys without Fn";
|
|
||||||
checkFnLock.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// checkGpuApps
|
|
||||||
//
|
|
||||||
checkGpuApps.AutoSize = true;
|
|
||||||
checkGpuApps.Dock = DockStyle.Top;
|
|
||||||
checkGpuApps.Location = new Point(20, 70);
|
|
||||||
checkGpuApps.Margin = new Padding(4, 2, 4, 2);
|
|
||||||
checkGpuApps.Name = "checkGpuApps";
|
|
||||||
checkGpuApps.Size = new Size(942, 36);
|
|
||||||
checkGpuApps.TabIndex = 48;
|
|
||||||
checkGpuApps.Text = "Stop all apps using GPU when switching to Eco";
|
|
||||||
checkGpuApps.UseVisualStyleBackColor = true;
|
|
||||||
//
|
|
||||||
// checkAutoApplyWindowsPowerMode
|
// checkAutoApplyWindowsPowerMode
|
||||||
//
|
//
|
||||||
checkAutoApplyWindowsPowerMode.AutoSize = true;
|
checkAutoApplyWindowsPowerMode.AutoSize = true;
|
||||||
@@ -833,17 +821,17 @@ namespace GHelper
|
|||||||
checkAutoApplyWindowsPowerMode.Text = "Auto Adjust Windows Power Mode";
|
checkAutoApplyWindowsPowerMode.Text = "Auto Adjust Windows Power Mode";
|
||||||
checkAutoApplyWindowsPowerMode.UseVisualStyleBackColor = true;
|
checkAutoApplyWindowsPowerMode.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// checkUSBC
|
// checkTopmost
|
||||||
//
|
//
|
||||||
checkUSBC.AutoSize = true;
|
checkTopmost.AutoSize = true;
|
||||||
checkUSBC.Dock = DockStyle.Top;
|
checkTopmost.Dock = DockStyle.Top;
|
||||||
checkUSBC.Location = new Point(20, 142);
|
checkTopmost.Location = new Point(20, 214);
|
||||||
checkUSBC.Margin = new Padding(4, 2, 4, 2);
|
checkTopmost.Margin = new Padding(4, 2, 4, 2);
|
||||||
checkUSBC.Name = "checkUSBC";
|
checkTopmost.Name = "checkTopmost";
|
||||||
checkUSBC.Size = new Size(942, 36);
|
checkTopmost.Size = new Size(942, 36);
|
||||||
checkUSBC.TabIndex = 4;
|
checkTopmost.TabIndex = 1;
|
||||||
checkUSBC.Text = "Keep GPU disabled on USB-C charger in Optimized mode";
|
checkTopmost.Text = Strings.WindowTop;
|
||||||
checkUSBC.UseVisualStyleBackColor = true;
|
checkTopmost.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// checkNoOverdrive
|
// checkNoOverdrive
|
||||||
//
|
//
|
||||||
@@ -857,17 +845,17 @@ namespace GHelper
|
|||||||
checkNoOverdrive.Text = Strings.DisableOverdrive;
|
checkNoOverdrive.Text = Strings.DisableOverdrive;
|
||||||
checkNoOverdrive.UseVisualStyleBackColor = true;
|
checkNoOverdrive.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// checkTopmost
|
// checkUSBC
|
||||||
//
|
//
|
||||||
checkTopmost.AutoSize = true;
|
checkUSBC.AutoSize = true;
|
||||||
checkTopmost.Dock = DockStyle.Top;
|
checkUSBC.Dock = DockStyle.Top;
|
||||||
checkTopmost.Location = new Point(20, 214);
|
checkUSBC.Location = new Point(20, 142);
|
||||||
checkTopmost.Margin = new Padding(4, 2, 4, 2);
|
checkUSBC.Margin = new Padding(4, 2, 4, 2);
|
||||||
checkTopmost.Name = "checkTopmost";
|
checkUSBC.Name = "checkUSBC";
|
||||||
checkTopmost.Size = new Size(942, 36);
|
checkUSBC.Size = new Size(942, 36);
|
||||||
checkTopmost.TabIndex = 1;
|
checkUSBC.TabIndex = 4;
|
||||||
checkTopmost.Text = Strings.WindowTop;
|
checkUSBC.Text = "Keep GPU disabled on USB-C charger in Optimized mode";
|
||||||
checkTopmost.UseVisualStyleBackColor = true;
|
checkUSBC.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
// checkVariBright
|
// checkVariBright
|
||||||
//
|
//
|
||||||
@@ -881,6 +869,31 @@ namespace GHelper
|
|||||||
checkVariBright.Text = "AMD Display VariBright";
|
checkVariBright.Text = "AMD Display VariBright";
|
||||||
checkVariBright.UseVisualStyleBackColor = true;
|
checkVariBright.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
|
// checkGpuApps
|
||||||
|
//
|
||||||
|
checkGpuApps.AutoSize = true;
|
||||||
|
checkGpuApps.Dock = DockStyle.Top;
|
||||||
|
checkGpuApps.Location = new Point(20, 70);
|
||||||
|
checkGpuApps.Margin = new Padding(4, 2, 4, 2);
|
||||||
|
checkGpuApps.Name = "checkGpuApps";
|
||||||
|
checkGpuApps.Size = new Size(942, 36);
|
||||||
|
checkGpuApps.TabIndex = 48;
|
||||||
|
checkGpuApps.Text = "Stop all apps using GPU when switching to Eco";
|
||||||
|
checkGpuApps.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// checkFnLock
|
||||||
|
//
|
||||||
|
checkFnLock.AutoSize = true;
|
||||||
|
checkFnLock.Dock = DockStyle.Top;
|
||||||
|
checkFnLock.Location = new Point(20, 34);
|
||||||
|
checkFnLock.Margin = new Padding(4, 2, 4, 2);
|
||||||
|
checkFnLock.MaximumSize = new Size(780, 0);
|
||||||
|
checkFnLock.Name = "checkFnLock";
|
||||||
|
checkFnLock.Size = new Size(780, 36);
|
||||||
|
checkFnLock.TabIndex = 49;
|
||||||
|
checkFnLock.Text = "Process Fn+F hotkeys without Fn";
|
||||||
|
checkFnLock.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
// Extra
|
// Extra
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(13F, 32F);
|
AutoScaleDimensions = new SizeF(13F, 32F);
|
||||||
|
|||||||
@@ -249,7 +249,8 @@ namespace GHelper
|
|||||||
checkVariBright.CheckedChanged += CheckVariBright_CheckedChanged;
|
checkVariBright.CheckedChanged += CheckVariBright_CheckedChanged;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception ex)
|
}
|
||||||
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Debug.WriteLine(ex.ToString());
|
Debug.WriteLine(ex.ToString());
|
||||||
checkVariBright.Visible = false;
|
checkVariBright.Visible = false;
|
||||||
|
|||||||
22
app/Fans.cs
22
app/Fans.cs
@@ -9,7 +9,9 @@ namespace GHelper
|
|||||||
public partial class Fans : RForm
|
public partial class Fans : RForm
|
||||||
{
|
{
|
||||||
|
|
||||||
|
int curIndex = -1;
|
||||||
DataPoint curPoint = null;
|
DataPoint curPoint = null;
|
||||||
|
|
||||||
Series seriesCPU;
|
Series seriesCPU;
|
||||||
Series seriesGPU;
|
Series seriesGPU;
|
||||||
Series seriesMid;
|
Series seriesMid;
|
||||||
@@ -640,6 +642,8 @@ namespace GHelper
|
|||||||
private void ChartCPU_MouseUp(object? sender, MouseEventArgs e)
|
private void ChartCPU_MouseUp(object? sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
curPoint = null;
|
curPoint = null;
|
||||||
|
curIndex = -1;
|
||||||
|
|
||||||
labelTip.Visible = false;
|
labelTip.Visible = false;
|
||||||
|
|
||||||
SaveProfile(seriesCPU, AsusFan.CPU);
|
SaveProfile(seriesCPU, AsusFan.CPU);
|
||||||
@@ -669,9 +673,12 @@ namespace GHelper
|
|||||||
bool tip = false;
|
bool tip = false;
|
||||||
|
|
||||||
HitTestResult hit = chart.HitTest(e.X, e.Y);
|
HitTestResult hit = chart.HitTest(e.X, e.Y);
|
||||||
|
Series series = chart.Series[0];
|
||||||
|
|
||||||
if (hit.Series is not null && hit.PointIndex >= 0)
|
if (hit.Series is not null && hit.PointIndex >= 0)
|
||||||
{
|
{
|
||||||
curPoint = hit.Series.Points[hit.PointIndex];
|
curIndex = hit.PointIndex;
|
||||||
|
curPoint = hit.Series.Points[curIndex];
|
||||||
tip = true;
|
tip = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -696,18 +703,19 @@ namespace GHelper
|
|||||||
|
|
||||||
if (dy < dymin) dy = dymin;
|
if (dy < dymin) dy = dymin;
|
||||||
|
|
||||||
if (e.Button.HasFlag(MouseButtons.Left) && hit.Series is not null)
|
if (e.Button.HasFlag(MouseButtons.Left))
|
||||||
{
|
{
|
||||||
|
double deltaY = dy - curPoint.YValues[0];
|
||||||
|
double deltaX = dx - curPoint.XValue;
|
||||||
|
|
||||||
curPoint.XValue = dx;
|
curPoint.XValue = dx;
|
||||||
|
|
||||||
if (Control.ModifierKeys == Keys.Shift)
|
if (Control.ModifierKeys == Keys.Shift)
|
||||||
{
|
AdjustAll(0, deltaY, series);
|
||||||
AdjustAllDots(0, dy - curPoint.YValues[0], hit.Series);
|
else
|
||||||
} else
|
|
||||||
{
|
{
|
||||||
curPoint.YValues[0] = dy;
|
curPoint.YValues[0] = dy;
|
||||||
AdjustAllLevels(hit.PointIndex, dx, dy, hit.Series);
|
AdjustAllLevels(curIndex, dx, dy, series);
|
||||||
}
|
}
|
||||||
|
|
||||||
tip = true;
|
tip = true;
|
||||||
@@ -731,7 +739,7 @@ namespace GHelper
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AdjustAllDots(double deltaX, double deltaY, Series series)
|
private void AdjustAll(double deltaX, double deltaY, Series series)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < series.Points.Count; i++)
|
for (int i = 0; i < series.Points.Count; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user