Пример #1
0
        internal override void InitUI()
        {
            base.InitUI();

             MouseCursor.State = MouseCursorState.None;

             UIWindow wnd = new UIWindow();

             img = new UIImage(WWTexture.FromImageResource("Background 'Blizzard'"));
             wnd.AddComponent(img);

             elapsedTime = 0;
        }
Пример #2
0
        internal override void InitUI()
        {
            elapsedTime = 0;

             MouseCursor.State = MouseCursorState.Pointer;

             backgroundWindow = new MenuBackgroundWindow();
             mainMenuWindow = new MainMenuWindow();

             textWindow = new UIWindow();
             UIImage img = new UIImage(WWTexture.FromImageResource("Text 'WarCraft'"));
             textWindow.AddComponent(img);
             textWindow.Height = img.Height;
        }