1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 21:38:38 +00:00

Added a few things to work on tonight.

I want to add those things to the keyboard tonight.
This commit is contained in:
Logan Saso 2016-03-09 12:35:50 -08:00
parent a31a33a6c9
commit dc40a649e7

View File

@ -50,8 +50,8 @@ namespace Artemis.Modules.Games.Dota2
{
Initialized = false;
_topRow = MainManager.KeyboardManager.ActiveKeyboard.KeyboardRegions.First(r => r.RegionName == "TopRow");
HealthRect = new KeyboardRectangle(MainManager.KeyboardManager.ActiveKeyboard, 0, _topRow.TopLeft.X,
new List<Color>(),
HealthRect = new KeyboardRectangle(MainManager.KeyboardManager.ActiveKeyboard, 0, _topRow.TopLeft.X,
new List<Color>(),
LinearGradientMode.Horizontal)
{ Height = Scale, ContainedBrush = false };
MainManager.GameStateWebServer.GameDataReceived += HandleGameData;
@ -67,6 +67,15 @@ namespace Artemis.Modules.Games.Dota2
UpdateAbilities();
if (Settings.ShowHealth)
UpdateHealth();
/*
* if (Settings.ShowDayCycle)
* UpdateDay();
* if (Settings.ShowMana) //Not sure if this is in the Json. Will check when I get home
* UpdateMana();
* if (Settings.CanCastItems)
* UpdateItems();
* if (Settings.) //Add something
*/
}
private void UpdateHealth()