mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +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:
parent
a31a33a6c9
commit
dc40a649e7
@ -50,8 +50,8 @@ namespace Artemis.Modules.Games.Dota2
|
|||||||
{
|
{
|
||||||
Initialized = false;
|
Initialized = false;
|
||||||
_topRow = MainManager.KeyboardManager.ActiveKeyboard.KeyboardRegions.First(r => r.RegionName == "TopRow");
|
_topRow = MainManager.KeyboardManager.ActiveKeyboard.KeyboardRegions.First(r => r.RegionName == "TopRow");
|
||||||
HealthRect = new KeyboardRectangle(MainManager.KeyboardManager.ActiveKeyboard, 0, _topRow.TopLeft.X,
|
HealthRect = new KeyboardRectangle(MainManager.KeyboardManager.ActiveKeyboard, 0, _topRow.TopLeft.X,
|
||||||
new List<Color>(),
|
new List<Color>(),
|
||||||
LinearGradientMode.Horizontal)
|
LinearGradientMode.Horizontal)
|
||||||
{ Height = Scale, ContainedBrush = false };
|
{ Height = Scale, ContainedBrush = false };
|
||||||
MainManager.GameStateWebServer.GameDataReceived += HandleGameData;
|
MainManager.GameStateWebServer.GameDataReceived += HandleGameData;
|
||||||
@ -67,6 +67,15 @@ namespace Artemis.Modules.Games.Dota2
|
|||||||
UpdateAbilities();
|
UpdateAbilities();
|
||||||
if (Settings.ShowHealth)
|
if (Settings.ShowHealth)
|
||||||
UpdateHealth();
|
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()
|
private void UpdateHealth()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user