C# Class AcTools.Render.Wrapper.BaseFormWrapper

Mostrar archivo Open project: gro-ove/actools Class Usage Examples

Public Properties

Property Type Description
Form RenderForm
Renderer AcTools.Render.Base.BaseRenderer

Public Methods

Method Description
BaseFormWrapper ( BaseRenderer renderer, string title, int width, int height ) : System
IsPressed ( Keys key ) : bool
Run ( System.Action firstFrame = null ) : void
Stop ( ) : void
Toast ( string message ) : void
ToggleFullscreen ( ) : void

Protected Methods

Method Description
InvokeFirstFrameCallback ( ) : void
OnFullscreenChanged ( ) : void
OnGotFocus ( object sender, EventArgs e ) : void
OnKeyDown ( object sender, KeyEventArgs args ) : void
OnKeyUp ( object sender, KeyEventArgs args ) : void
OnLostFocus ( object sender, EventArgs e ) : void
OnRender ( ) : void
OnResize ( object sender, EventArgs eventArgs ) : void
OnTick ( object sender, TickEventArgs args ) : void

Private Methods

Method Description
ToastTimer_Tick ( object sender, EventArgs e ) : void

Method Details

BaseFormWrapper() public method

public BaseFormWrapper ( BaseRenderer renderer, string title, int width, int height ) : System
renderer AcTools.Render.Base.BaseRenderer
title string
width int
height int
return System

InvokeFirstFrameCallback() protected method

protected InvokeFirstFrameCallback ( ) : void
return void

IsPressed() public method

public IsPressed ( Keys key ) : bool
key Keys
return bool

OnFullscreenChanged() protected method

protected OnFullscreenChanged ( ) : void
return void

OnGotFocus() protected method

protected OnGotFocus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( object sender, KeyEventArgs args ) : void
sender object
args System.Windows.Forms.KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( object sender, KeyEventArgs args ) : void
sender object
args System.Windows.Forms.KeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnRender() protected method

protected OnRender ( ) : void
return void

OnResize() protected method

protected OnResize ( object sender, EventArgs eventArgs ) : void
sender object
eventArgs System.EventArgs
return void

OnTick() protected method

protected OnTick ( object sender, TickEventArgs args ) : void
sender object
args AcTools.Render.Base.TickEventArgs
return void

Run() public method

public Run ( System.Action firstFrame = null ) : void
firstFrame System.Action
return void

Stop() public method

public Stop ( ) : void
return void

Toast() public method

public Toast ( string message ) : void
message string
return void

ToggleFullscreen() public method

public ToggleFullscreen ( ) : void
return void

Property Details

Form public_oe property

public RenderForm Form
return RenderForm

Renderer public_oe property

public BaseRenderer,AcTools.Render.Base Renderer
return AcTools.Render.Base.BaseRenderer