made OpenWindow and CloseWindow static

This commit is contained in:
Bob
2010-09-20 22:59:04 +12:00
parent 086bdfb4bd
commit f4699132d6
12 changed files with 33 additions and 33 deletions

View File

@@ -24,12 +24,12 @@ namespace OpenRA.Widgets.Delegates
bg.GetWidget("BUTTON_CLOSE").OnMouseUp = mi => {
Game.Settings.Save();
Widget.RootWidget.CloseWindow();
Widget.CloseWindow();
return true;
};
Widget.RootWidget.GetWidget("MAINMENU_BUTTON_MUSIC").OnMouseUp = mi => {
Widget.RootWidget.OpenWindow("MUSIC_MENU");
Widget.OpenWindow("MUSIC_MENU");
return true;
};