C# Class Xenko.Games.GameWindowWinforms

An abstract window.
Inheritance: GameWindow
显示文件 Open project: phr00t/FocusEngine

Public Properties

Property Type Description
Control Control

Public Methods

Method Description
BeginScreenDeviceChange ( bool willBeFullScreen ) : void
EndScreenDeviceChange ( int clientWidth, int clientHeight ) : void
Resize ( int width, int height ) : void

Protected Methods

Method Description
Destroy ( ) : void
Initialize ( Xenko.Games.GameContext gameContext ) : void
SetSupportedOrientations ( DisplayOrientation orientations ) : void
SetTitle ( string title ) : void

Private Methods

Method Description
GameWindowForm_MouseEnter ( object sender, EventArgs e ) : void
GameWindowForm_MouseLeave ( object sender, EventArgs e ) : void
GameWindowWinforms ( ) : System
Run ( ) : void
UpdateFormBorder ( ) : void

Method Details

BeginScreenDeviceChange() public method

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

Destroy() protected method

protected Destroy ( ) : void
return void

EndScreenDeviceChange() public method

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

Initialize() protected method

protected Initialize ( Xenko.Games.GameContext gameContext ) : void
gameContext Xenko.Games.GameContext
return void

Resize() public method

public Resize ( int width, int height ) : void
width int
height int
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

Control public_oe property

public Control Control
return Control