Chrome.rootWidget -> Widget.RootWidget

This commit is contained in:
alzeih
2010-07-21 16:14:31 +12:00
parent 795da1b088
commit 647252b0cb
17 changed files with 38 additions and 36 deletions

View File

@@ -38,9 +38,6 @@ namespace OpenRA
public static World world;
internal static Viewport viewport;
public static Controller controller;
public static Widget RootWidget {
get { return Chrome.rootWidget; }
}
internal static Chrome chrome;
internal static UserSettings Settings;
@@ -629,8 +626,8 @@ namespace OpenRA
JoinLocal();
LoadShellMap(shellmap);
Chrome.rootWidget.CloseWindow();
Chrome.rootWidget.OpenWindow("MAINMENU_BG");
Widget.RootWidget.CloseWindow();
Widget.RootWidget.OpenWindow("MAINMENU_BG");
}
static string baseSupportDir = null;