aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-19 16:08:33 -0400
committerMichael <[email protected]>2017-07-19 16:08:33 -0400
commitb8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e (patch)
tree4502ced3e939ff3725bc7c1925f1ba88b62653d8 /ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs
parent3fe1872f5f81f8203e57cbba2dca6ce833f08f22 (diff)
downloadshiftos_thereturn-b8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e.tar.gz
shiftos_thereturn-b8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e.tar.bz2
shiftos_thereturn-b8eb7dccfdd16bd1d39bbedeb176fce7f0f1dc9e.zip
Fix terminal and add support for animations
Diffstat (limited to 'ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs')
-rw-r--r--ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs
index a88f28e..d16685b 100644
--- a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs
+++ b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs
@@ -25,10 +25,10 @@ namespace ShiftOS.Frontend.GraphicsSubsystem
topLevels.Add(ctrl);
}
- public static void LayoutUpdate()
+ public static void LayoutUpdate(GameTime gameTime)
{
foreach (var toplevel in topLevels.ToArray())
- toplevel.Layout();
+ toplevel.Layout(gameTime);
}
public static void Animate(object owner, System.Reflection.PropertyInfo prop, double from, double to, int timeMs)
@@ -135,7 +135,7 @@ namespace ShiftOS.Frontend.GraphicsSubsystem
{
if (!topLevels.Contains(ctrl))
topLevels.Add(ctrl);
- ctrl.Layout();
+
}
public static void InvalidateAll()