C# Class MonoGame.Framework.WinFormsGameWindow

Inheritance: Microsoft.Xna.Framework.GameWindow, IDisposable
Mostra file Open project: procfxgen/MGShaderEditor Class Usage Examples

Private Properties

Property Type Description
ChangeClientSize void
Dispose void
Initialize void
OnActivated void
OnClientSizeChanged void
OnDeactivate void
OnKeyPress void
OnMouseEnter void
OnMouseLeave void
OnMouseScroll void
OnRawKeyEvent void
PeekMessage bool
RegisterToAllWindows void
RunLoop void
UnregisterFromAllWindows void
UpdateMouseState void
UpdateWindows void
WinFormsGameWindow System

Public Methods

Method Description
BeginScreenDeviceChange ( bool willBeFullScreen ) : void
Dispose ( ) : void
EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void
MouseVisibleToggled ( ) : void

Protected Methods

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

Private Methods

Method Description
ChangeClientSize ( Size clientBounds ) : void
Dispose ( bool disposing ) : void
Initialize ( int width, int height ) : void
OnActivated ( object sender, EventArgs eventArgs ) : void
OnClientSizeChanged ( object sender, EventArgs eventArgs ) : void
OnDeactivate ( object sender, EventArgs eventArgs ) : void
OnKeyPress ( object sender, KeyPressEventArgs e ) : void
OnMouseEnter ( object sender, EventArgs e ) : void
OnMouseLeave ( object sender, EventArgs e ) : void
OnMouseScroll ( object sender, MouseEventArgs mouseEventArgs ) : void
OnRawKeyEvent ( object sender, SharpDX.RawInput.KeyboardInputEventArgs args ) : void
PeekMessage ( NativeMessage &msg, IntPtr hWnd, uint messageFilterMin, uint messageFilterMax, uint flags ) : bool
RegisterToAllWindows ( ) : void
RunLoop ( ) : void
UnregisterFromAllWindows ( ) : void
UpdateMouseState ( ) : void
UpdateWindows ( ) : void
WinFormsGameWindow ( MonoGame.Framework.WinFormsGamePlatform platform ) : System

Method Details

BeginScreenDeviceChange() public method

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

Dispose() public method

public Dispose ( ) : void
return void

EndScreenDeviceChange() public method

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

MouseVisibleToggled() public method

public MouseVisibleToggled ( ) : void
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