C# Class Microsoft.Xna.Framework.OpenTKGameWindow

Inheritance: GameWindow, IDisposable
Afficher le fichier Open project: procfxgen/MGShaderEditor Class Usage Examples

Protected Properties

Свойство Type Description
game Microsoft.Xna.Framework.Game

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
SetSupportedOrientations ( DisplayOrientation orientations ) : void
SetTitle ( string title ) : void

Private Methods

Méthode 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 méthode

public BeginScreenDeviceChange ( bool willBeFullScreen ) : void
willBeFullScreen bool
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndScreenDeviceChange() public méthode

public EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void
screenDeviceName string
clientWidth int
clientHeight int
Résultat void

OpenTKGameWindow() public méthode

public OpenTKGameWindow ( Microsoft.Xna.Framework.Game game ) : MonoGame.Utilities
game Microsoft.Xna.Framework.Game
Résultat MonoGame.Utilities

SetMouseVisible() public méthode

public SetMouseVisible ( bool visible ) : void
visible bool
Résultat void

SetSupportedOrientations() protected méthode

protected SetSupportedOrientations ( DisplayOrientation orientations ) : void
orientations DisplayOrientation
Résultat void

SetTitle() protected méthode

protected SetTitle ( string title ) : void
title string
Résultat void

Property Details

game protected_oe property

protected Game,Microsoft.Xna.Framework game
Résultat Microsoft.Xna.Framework.Game