C# Class PixelFarm.Forms.GlFwForm

Inheritance: Form
Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
Close ( ) : void
DrawFrame ( ) : void
MakeCurrent ( ) : void
OnCursorLeave ( ) : void
SetDrawFrameDelegate ( SimpleAction drawFrameDel ) : void
Show ( ) : void

Protected Methods

Method Description
OnClosing ( bool &cancel ) : void
OnCursorEnter ( ) : void
OnFocus ( ) : void
OnIconify ( bool iconify ) : void
OnKeyDown ( Key key, int scanCode, KeyModifiers mods ) : void
OnKeyPress ( char c ) : void
OnKeyRepeat ( Key key, int scanCode, KeyModifiers mods ) : void
OnKeyUp ( Key key, int scanCode, KeyModifiers mods ) : void
OnLostFocus ( ) : void

Private Methods

Method Description
CheckNativeHandle ( ) : void
GlFwForm ( GlfwWindowPtr glWindowPtr, int w, int h ) : System
InvokeCursorPos ( double x, double y ) : void
InvokeKey ( Key key, int scanCode, KeyAction keyAction, KeyModifiers mods ) : void
InvokeKeyPress ( char c ) : void
InvokeMouseButton ( MouseButton btn, KeyAction action ) : void
InvokeOnClosing ( bool &cancel ) : void
InvokeOnMove ( int x, int y ) : void
InvokeOnRefresh ( ) : void
InvokeOnScroll ( double xoffset, double yoffset ) : void
InvokeOnSizeChanged ( int w, int h ) : void
SetCursorEnterState ( bool enter ) : void
SetFocusState ( bool focus ) : void
SetIconifyState ( bool iconify ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

Close() public method

public Close ( ) : void
return void

DrawFrame() public method

public DrawFrame ( ) : void
return void

MakeCurrent() public method

public MakeCurrent ( ) : void
return void

OnClosing() protected method

protected OnClosing ( bool &cancel ) : void
cancel bool
return void

OnCursorEnter() protected method

protected OnCursorEnter ( ) : void
return void

OnCursorLeave() public method

public OnCursorLeave ( ) : void
return void

OnFocus() protected method

protected OnFocus ( ) : void
return void

OnIconify() protected method

protected OnIconify ( bool iconify ) : void
iconify bool
return void

OnKeyDown() protected method

protected OnKeyDown ( Key key, int scanCode, KeyModifiers mods ) : void
key Key
scanCode int
mods KeyModifiers
return void

OnKeyPress() protected method

protected OnKeyPress ( char c ) : void
c char
return void

OnKeyRepeat() protected method

protected OnKeyRepeat ( Key key, int scanCode, KeyModifiers mods ) : void
key Key
scanCode int
mods KeyModifiers
return void

OnKeyUp() protected method

protected OnKeyUp ( Key key, int scanCode, KeyModifiers mods ) : void
key Key
scanCode int
mods KeyModifiers
return void

OnLostFocus() protected method

protected OnLostFocus ( ) : void
return void

SetDrawFrameDelegate() public method

public SetDrawFrameDelegate ( SimpleAction drawFrameDel ) : void
drawFrameDel SimpleAction
return void

Show() public method

public Show ( ) : void
return void