C# Класс MonoGame.Framework.WinFormsGameWindow

Наследование: Microsoft.Xna.Framework.GameWindow, IDisposable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
BeginScreenDeviceChange ( bool willBeFullScreen ) : void
Dispose ( ) : void
EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void
MouseVisibleToggled ( ) : void

Защищенные методы

Метод Описание
SetSupportedOrientations ( DisplayOrientation orientations ) : void
SetTitle ( string title ) : void

Приватные методы

Метод Описание
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

Описание методов

BeginScreenDeviceChange() публичный Метод

public BeginScreenDeviceChange ( bool willBeFullScreen ) : void
willBeFullScreen bool
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EndScreenDeviceChange() публичный Метод

public EndScreenDeviceChange ( string screenDeviceName, int clientWidth, int clientHeight ) : void
screenDeviceName string
clientWidth int
clientHeight int
Результат void

MouseVisibleToggled() публичный Метод

public MouseVisibleToggled ( ) : void
Результат void

SetSupportedOrientations() защищенный Метод

protected SetSupportedOrientations ( DisplayOrientation orientations ) : void
orientations DisplayOrientation
Результат void

SetTitle() защищенный Метод

protected SetTitle ( string title ) : void
title string
Результат void