public override void Dispose()
 {
     if (descWidget != null)
     {
         descWidget.Dispose();
     }
     if (inputWidget != null)
     {
         inputWidget.Dispose();
     }
     game.Keyboard.KeyRepeat = false;
     base.Dispose();
 }
 public override void Dispose()
 {
     if (descWidget != null)
     {
         descWidget.Dispose();
     }
     if (inputWidget != null)
     {
         inputWidget.Dispose();
     }
     game.Keyboard.KeyRepeat = false;
     extendedHelpFont.Dispose();
     DisposeExtendedHelp();
     base.Dispose();
 }
 public override void Dispose()
 {
     game.Keyboard.KeyRepeat = false;
     inputWidget.Dispose();
     DisposeDescWidget();
     base.Dispose();
 }
Esempio n. 4
0
        void DisposeEditingWidgets()
        {
            if (currentAction != null)
            {
                currentAction.Dispose();
                currentAction = null;
            }

            for (int i = 8; i < widgets.Length - 1; i++)
            {
                if (widgets[i] != null)
                {
                    widgets[i].Dispose();
                    widgets[i] = null;
                }
            }
            focusWidget = null;
        }