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());
|
||||
|
||||
if (AppConfig.ContainsModel("Z13"))
|
||||
if (AppConfig.ContainsModel("Z13") || AppConfig.ContainsModel("FA506"))
|
||||
{
|
||||
switch (e.Key)
|
||||
{
|
||||
@@ -202,13 +202,11 @@ namespace GHelper.Input
|
||||
KeyboardHook.KeyPress(Keys.Snapshot);
|
||||
break;
|
||||
case Keys.F7:
|
||||
if (AppConfig.ContainsModel("TUF"))
|
||||
Program.toast.RunToast(ScreenBrightness.Adjust(-10) + "%", ToastIcon.BrightnessDown);
|
||||
//if (AppConfig.ContainsModel("TUF")) Program.toast.RunToast(ScreenBrightness.Adjust(-10) + "%", ToastIcon.BrightnessDown);
|
||||
HandleOptimizationEvent(16);
|
||||
break;
|
||||
case Keys.F8:
|
||||
if (AppConfig.ContainsModel("TUF"))
|
||||
Program.toast.RunToast(ScreenBrightness.Adjust(+10) + "%", ToastIcon.BrightnessUp);
|
||||
// if (AppConfig.ContainsModel("TUF")) Program.toast.RunToast(ScreenBrightness.Adjust(+10) + "%", ToastIcon.BrightnessUp);
|
||||
HandleOptimizationEvent(32);
|
||||
break;
|
||||
case Keys.F9:
|
||||
|
||||
10
app/Settings.Designer.cs
generated
10
app/Settings.Designer.cs
generated
@@ -299,10 +299,10 @@ namespace GHelper
|
||||
// labelBattery
|
||||
//
|
||||
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.Name = "labelBattery";
|
||||
labelBattery.Size = new Size(364, 36);
|
||||
labelBattery.Size = new Size(324, 36);
|
||||
labelBattery.TabIndex = 39;
|
||||
labelBattery.Text = " ";
|
||||
labelBattery.TextAlign = ContentAlignment.TopRight;
|
||||
@@ -324,7 +324,7 @@ namespace GHelper
|
||||
labelBatteryTitle.Location = new Point(42, 0);
|
||||
labelBatteryTitle.Margin = new Padding(8, 0, 8, 0);
|
||||
labelBatteryTitle.Name = "labelBatteryTitle";
|
||||
labelBatteryTitle.Size = new Size(393, 32);
|
||||
labelBatteryTitle.Size = new Size(466, 32);
|
||||
labelBatteryTitle.TabIndex = 37;
|
||||
labelBatteryTitle.Text = "Battery Charge Limit";
|
||||
//
|
||||
@@ -928,10 +928,10 @@ namespace GHelper
|
||||
// labelMidFan
|
||||
//
|
||||
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.Name = "labelMidFan";
|
||||
labelMidFan.Size = new Size(296, 34);
|
||||
labelMidFan.Size = new Size(254, 34);
|
||||
labelMidFan.TabIndex = 28;
|
||||
labelMidFan.Text = " ";
|
||||
labelMidFan.TextAlign = ContentAlignment.TopRight;
|
||||
|
||||
Reference in New Issue
Block a user