C# Class Microsoft.Xna.Framework.OpenTKGameWindow

Inheritance: GameWindow, IDisposable
Datei anzeigen Open project: procfxgen/MGShaderEditor Class Usage Examples

Protected Properties

Property Type Description
game Microsoft.Xna.Framework.Game

Private Properties

Property Type Description
ChangeClientBounds void
HandleInput void
Initialize void
Keyboard_KeyDown void
Keyboard_KeyUp void
OnKeyPress void
OnResize void
OpenTkGameWindow_Closing void
ProcessEvents void
ToggleFullScreen void
UpdateBorder void
UpdateWindowState void

Public Methods

Method Description
BeginScreenDeviceChange ( bool willBeFullScreen ) : void
Dispose ( ) : void
EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void
OpenTKGameWindow ( Microsoft.Xna.Framework.Game game ) : MonoGame.Utilities
SetMouseVisible ( bool visible ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
SetSupportedOrientations ( DisplayOrientation orientations ) : void
SetTitle ( string title ) : void

Private Methods

Method Description
ChangeClientBounds ( Rectangle clientBounds ) : void
HandleInput ( ) : void
Initialize ( Microsoft.Xna.Framework.Game game ) : void
Keyboard_KeyDown ( object sender, OpenTK e ) : void
Keyboard_KeyUp ( object sender, OpenTK e ) : void
OnKeyPress ( object sender, KeyPressEventArgs e ) : void
OnResize ( object sender, EventArgs e ) : void
OpenTkGameWindow_Closing ( object sender, CancelEventArgs e ) : void
ProcessEvents ( ) : void
ToggleFullScreen ( ) : void
UpdateBorder ( ) : void
UpdateWindowState ( ) : void

Method Details

BeginScreenDeviceChange() public method

public BeginScreenDeviceChange ( bool willBeFullScreen ) : void
willBeFullScreen bool
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndScreenDeviceChange() public method

public EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void
screenDeviceName string
clientWidth int
clientHeight int
return void

OpenTKGameWindow() public method

public OpenTKGameWindow ( Microsoft.Xna.Framework.Game game ) : MonoGame.Utilities
game Microsoft.Xna.Framework.Game
return MonoGame.Utilities

SetMouseVisible() public method

public SetMouseVisible ( bool visible ) : void
visible bool
return void

SetSupportedOrientations() protected method

protected SetSupportedOrientations ( DisplayOrientation orientations ) : void
orientations DisplayOrientation
return void

SetTitle() protected method

protected SetTitle ( string title ) : void
title string
return void

Property Details

game protected_oe property

protected Game,Microsoft.Xna.Framework game
return Microsoft.Xna.Framework.Game