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 committed 2016-03-09 12:35:50 -08:00
1 parent 8d9aa9857c
commit 315e31bf76
1 file changed
+11 -2
@@ -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()