mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
UI Tweaks
This commit is contained in:
@@ -145,7 +145,7 @@ namespace GHelper.Input
|
|||||||
{
|
{
|
||||||
Logger.WriteLine(e.Key.ToString());
|
Logger.WriteLine(e.Key.ToString());
|
||||||
|
|
||||||
if (AppConfig.ContainsModel("Z13"))
|
if (AppConfig.ContainsModel("Z13") || AppConfig.ContainsModel("FA506"))
|
||||||
{
|
{
|
||||||
switch (e.Key)
|
switch (e.Key)
|
||||||
{
|
{
|
||||||
@@ -202,13 +202,11 @@ namespace GHelper.Input
|
|||||||
KeyboardHook.KeyPress(Keys.Snapshot);
|
KeyboardHook.KeyPress(Keys.Snapshot);
|
||||||
break;
|
break;
|
||||||
case Keys.F7:
|
case Keys.F7:
|
||||||
if (AppConfig.ContainsModel("TUF"))
|
//if (AppConfig.ContainsModel("TUF")) Program.toast.RunToast(ScreenBrightness.Adjust(-10) + "%", ToastIcon.BrightnessDown);
|
||||||
Program.toast.RunToast(ScreenBrightness.Adjust(-10) + "%", ToastIcon.BrightnessDown);
|
|
||||||
HandleOptimizationEvent(16);
|
HandleOptimizationEvent(16);
|
||||||
break;
|
break;
|
||||||
case Keys.F8:
|
case Keys.F8:
|
||||||
if (AppConfig.ContainsModel("TUF"))
|
// if (AppConfig.ContainsModel("TUF")) Program.toast.RunToast(ScreenBrightness.Adjust(+10) + "%", ToastIcon.BrightnessUp);
|
||||||
Program.toast.RunToast(ScreenBrightness.Adjust(+10) + "%", ToastIcon.BrightnessUp);
|
|
||||||
HandleOptimizationEvent(32);
|
HandleOptimizationEvent(32);
|
||||||
break;
|
break;
|
||||||
case Keys.F9:
|
case Keys.F9:
|
||||||
|
|||||||
10
app/Settings.Designer.cs
generated
10
app/Settings.Designer.cs
generated
@@ -299,10 +299,10 @@ namespace GHelper
|
|||||||
// labelBattery
|
// labelBattery
|
||||||
//
|
//
|
||||||
labelBattery.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
labelBattery.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
labelBattery.Location = new Point(392, 0);
|
labelBattery.Location = new Point(432, 0);
|
||||||
labelBattery.Margin = new Padding(8, 0, 8, 0);
|
labelBattery.Margin = new Padding(8, 0, 8, 0);
|
||||||
labelBattery.Name = "labelBattery";
|
labelBattery.Name = "labelBattery";
|
||||||
labelBattery.Size = new Size(364, 36);
|
labelBattery.Size = new Size(324, 36);
|
||||||
labelBattery.TabIndex = 39;
|
labelBattery.TabIndex = 39;
|
||||||
labelBattery.Text = " ";
|
labelBattery.Text = " ";
|
||||||
labelBattery.TextAlign = ContentAlignment.TopRight;
|
labelBattery.TextAlign = ContentAlignment.TopRight;
|
||||||
@@ -324,7 +324,7 @@ namespace GHelper
|
|||||||
labelBatteryTitle.Location = new Point(42, 0);
|
labelBatteryTitle.Location = new Point(42, 0);
|
||||||
labelBatteryTitle.Margin = new Padding(8, 0, 8, 0);
|
labelBatteryTitle.Margin = new Padding(8, 0, 8, 0);
|
||||||
labelBatteryTitle.Name = "labelBatteryTitle";
|
labelBatteryTitle.Name = "labelBatteryTitle";
|
||||||
labelBatteryTitle.Size = new Size(393, 32);
|
labelBatteryTitle.Size = new Size(466, 32);
|
||||||
labelBatteryTitle.TabIndex = 37;
|
labelBatteryTitle.TabIndex = 37;
|
||||||
labelBatteryTitle.Text = "Battery Charge Limit";
|
labelBatteryTitle.Text = "Battery Charge Limit";
|
||||||
//
|
//
|
||||||
@@ -928,10 +928,10 @@ namespace GHelper
|
|||||||
// labelMidFan
|
// labelMidFan
|
||||||
//
|
//
|
||||||
labelMidFan.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
labelMidFan.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
||||||
labelMidFan.Location = new Point(474, -2);
|
labelMidFan.Location = new Point(516, -2);
|
||||||
labelMidFan.Margin = new Padding(8, 0, 8, 0);
|
labelMidFan.Margin = new Padding(8, 0, 8, 0);
|
||||||
labelMidFan.Name = "labelMidFan";
|
labelMidFan.Name = "labelMidFan";
|
||||||
labelMidFan.Size = new Size(296, 34);
|
labelMidFan.Size = new Size(254, 34);
|
||||||
labelMidFan.TabIndex = 28;
|
labelMidFan.TabIndex = 28;
|
||||||
labelMidFan.Text = " ";
|
labelMidFan.Text = " ";
|
||||||
labelMidFan.TextAlign = ContentAlignment.TopRight;
|
labelMidFan.TextAlign = ContentAlignment.TopRight;
|
||||||
|
|||||||
Reference in New Issue
Block a user