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

This commit is contained in:
the_fiddler 2008-04-25 22:09:41 +00:00
parent 6293fbadc3
commit 1789c67fd2

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;
}