* Tests/GameWindowStates.cs: Updated GameWindowState.cs test pattern.

This commit is contained in:
the_fiddler 2008-04-25 22:09:41 +00:00
parent c086ee3a99
commit dab5111c3a

View file

@ -43,10 +43,12 @@ namespace Examples.Tests
switch (this.WindowState)
{
case WindowState.Normal: this.WindowState = WindowState.Maximized; break;
case WindowState.Maximized: this.WindowState = WindowState.Fullscreen; break;
case WindowState.Fullscreen: this.WindowState = WindowState.Minimized; break;
case WindowState.Minimized:
this.WindowState = WindowState.Normal;
case WindowState.Maximized: this.WindowState = WindowState.Fullscreen; break;
case WindowState.Fullscreen:
this.WindowState = WindowState.Normal;
this.WindowState = WindowState.Minimized;
break;
case WindowState.Minimized: this.WindowState = WindowState.Normal;
break;
}