diff options
| author | Michael <[email protected]> | 2017-07-13 08:40:47 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-07-13 08:40:47 -0400 |
| commit | e92af1bc7fe5cd5860206061f4ff261b3339cc51 (patch) | |
| tree | 14b571e2495731d7302b61c56d18ae5e4988587e /ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs | |
| parent | af01804c0fb4286f5975e973aec2b4eaf9752c08 (diff) | |
| download | shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.tar.gz shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.tar.bz2 shiftos_thereturn-e92af1bc7fe5cd5860206061f4ff261b3339cc51.zip | |
SidePanel system, system status, crapton of other neat things
Diffstat (limited to 'ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs')
| -rw-r--r-- | ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs index 942b8b6..165944e 100644 --- a/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs +++ b/ShiftOS.Frontend/GraphicsSubsystem/UIManager.cs @@ -19,6 +19,12 @@ namespace ShiftOS.Frontend.GraphicsSubsystem public static System.Drawing.Size Viewport { get; set; } public static GUI.Control FocusedControl = null; + public static void BringToFront(GUI.Control ctrl) + { + topLevels.Remove(ctrl); + topLevels.Add(ctrl); + } + public static void LayoutUpdate() { foreach (var toplevel in topLevels.ToArray()) |
