mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Anime matrix tweaks
This commit is contained in:
@@ -420,6 +420,9 @@ namespace Starlight.AnimeMatrix
|
||||
|
||||
public void PresentTextDiagonal(string text)
|
||||
{
|
||||
|
||||
Clear();
|
||||
|
||||
int maxX = (int)Math.Sqrt(MaxRows * MaxRows + MaxColumns * MaxColumns);
|
||||
|
||||
using (Bitmap bmp = new Bitmap(maxX, MaxRows))
|
||||
|
||||
@@ -2,6 +2,7 @@ using Microsoft.Win32;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Management;
|
||||
using System.Reflection;
|
||||
using System.Security.Principal;
|
||||
using Tools;
|
||||
|
||||
@@ -103,7 +104,7 @@ namespace GHelper
|
||||
}
|
||||
|
||||
Logger.WriteLine("------------");
|
||||
Logger.WriteLine("App launched: " + config.GetModel());
|
||||
Logger.WriteLine("App launched: " + config.GetModel() + " :" + Assembly.GetExecutingAssembly().GetName().Version.ToString());
|
||||
|
||||
Application.EnableVisualStyles();
|
||||
|
||||
|
||||
@@ -885,7 +885,12 @@ namespace GHelper
|
||||
this.Top = Screen.FromControl(this).WorkingArea.Height - 10 - this.Height;
|
||||
this.Activate();
|
||||
|
||||
aTimer.Enabled = true;
|
||||
Task.Run(async () =>
|
||||
{
|
||||
await Task.Delay(TimeSpan.FromSeconds(1));
|
||||
aTimer.Enabled = true;
|
||||
});
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -924,13 +929,6 @@ namespace GHelper
|
||||
customPower = limit_cpu;
|
||||
}
|
||||
|
||||
/*
|
||||
if (Program.wmi.DeviceGet(ASUSWmi.PPT_APUC2) >= 0)
|
||||
{
|
||||
Program.wmi.DeviceSet(ASUSWmi.PPT_APUC2, 87, "PowerLimit C2");
|
||||
}
|
||||
*/
|
||||
|
||||
Program.settingsForm.BeginInvoke(SetPerformanceLabel);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user