프로퍼티 | 타입 | 설명 | |
---|---|---|---|
OnClosedInternal | void | ||
OnClosingInternal | void | ||
OnDisposedInternal | void | ||
OnFocusedChangedInternal | void | ||
OnIconChangedInternal | void | ||
OnKeyPressInternal | void | ||
OnMouseEnterInternal | void | ||
OnMouseLeaveInternal | void | ||
OnMoveInternal | void | ||
OnResizeInternal | void | ||
OnTitleChangedInternal | void | ||
OnVisibleChangedInternal | void | ||
OnWindowBorderChangedInternal | void | ||
OnWindowStateChangedInternal | void |
메소드 | 설명 | |
---|---|---|
Close ( ) : void |
Closes the NativeWindow.
|
|
Dispose ( ) : void |
Releases all non-managed resources belonging to this NativeWindow.
|
|
NativeWindow ( ) : System |
Constructs a new NativeWindow with default attributes without enabling events.
|
|
NativeWindow ( int x, int y, int width, int height, string title, GameWindowFlags options, OpenTK.Graphics.GraphicsMode mode, |
Constructs a new NativeWindow with the specified attributes.
|
|
NativeWindow ( int width, int height, string title, GameWindowFlags options, OpenTK.Graphics.GraphicsMode mode, |
Constructs a new centered NativeWindow with the specified attributes.
|
|
PointToClient ( Point point ) : Point |
Transforms the specified point from screen to client coordinates.
|
|
PointToScreen ( Point point ) : Point |
Transforms the specified point from client to screen coordinates.
|
|
ProcessEvents ( ) : void |
Processes operating system events until the NativeWindow becomes idle.
|
메소드 | 설명 | |
---|---|---|
EnsureUndisposed ( ) : void |
Ensures that this NativeWindow has not been disposed.
|
|
OnClosed ( |
Called when the NativeWindow has closed.
|
|
OnClosing ( CancelEventArgs e ) : void |
Called when the NativeWindow is about to close.
|
|
OnDisposed ( |
Called when the NativeWindow is disposed.
|
|
OnFocusedChanged ( |
Called when the OpenTK.INativeWindow.Focused property of the NativeWindow has changed.
|
|
OnIconChanged ( |
Called when the OpenTK.INativeWindow.Icon property of the NativeWindow has changed.
|
|
OnKeyDown ( |
Occurs whenever a keybord key is pressed.
|
|
OnKeyPress ( |
Called when a character is typed.
|
|
OnKeyUp ( |
Called when a keybord key is released.
|
|
OnMouseEnter ( |
Called whenever the mouse cursor reenters the window Bounds.
|
|
OnMouseLeave ( |
Called whenever the mouse cursor leaves the window Bounds.
|
|
OnMove ( |
Called when the NativeWindow is moved.
|
|
OnResize ( |
Called when the NativeWindow is resized.
|
|
OnTitleChanged ( |
Called when the OpenTK.INativeWindow.Title property of the NativeWindow has changed.
|
|
OnVisibleChanged ( EventArgs e ) : void |
Called when the OpenTK.INativeWindow.Visible property of the NativeWindow has changed.
|
|
OnWindowBorderChanged ( EventArgs e ) : void |
Called when the WindowBorder of this NativeWindow has changed.
|
|
OnWindowStateChanged ( EventArgs e ) : void |
Called when the WindowState of this NativeWindow has changed.
|
|
ProcessEvents ( bool retainEvents ) : void |
Processes operating system events until the NativeWindow becomes idle.
|
메소드 | 설명 | |
---|---|---|
OnClosedInternal ( object sender, |
||
OnClosingInternal ( object sender, CancelEventArgs e ) : void | ||
OnDisposedInternal ( object sender, |
||
OnFocusedChangedInternal ( object sender, |
||
OnIconChangedInternal ( object sender, |
||
OnKeyPressInternal ( object sender, |
||
OnMouseEnterInternal ( object sender, |
||
OnMouseLeaveInternal ( object sender, |
||
OnMoveInternal ( object sender, |
||
OnResizeInternal ( object sender, |
||
OnTitleChangedInternal ( object sender, EventArgs e ) : void | ||
OnVisibleChangedInternal ( object sender, EventArgs e ) : void | ||
OnWindowBorderChangedInternal ( object sender, EventArgs e ) : void | ||
OnWindowStateChangedInternal ( object sender, EventArgs e ) : void |
public NativeWindow ( int x, int y, int width, int height, string title, GameWindowFlags options, OpenTK.Graphics.GraphicsMode mode, |
||
x | int | Horizontal screen space coordinate of the NativeWindow's origin. |
y | int | Vertical screen space coordinate of the NativeWindow's origin. |
width | int | The width of the NativeWindow in pixels. |
height | int | The height of the NativeWindow in pixels. |
title | string | The title of the NativeWindow. |
options | GameWindowFlags | GameWindow options specifying window appearance and behavior. |
mode | OpenTK.Graphics.GraphicsMode | The OpenTK.Graphics.GraphicsMode of the NativeWindow. |
device | The OpenTK.Graphics.DisplayDevice to construct the NativeWindow in. | |
리턴 | System |
public NativeWindow ( int width, int height, string title, GameWindowFlags options, OpenTK.Graphics.GraphicsMode mode, |
||
width | int | The width of the NativeWindow in pixels. |
height | int | The height of the NativeWindow in pixels. |
title | string | The title of the NativeWindow. |
options | GameWindowFlags | GameWindow options specifying window appearance and behavior. |
mode | OpenTK.Graphics.GraphicsMode | The OpenTK.Graphics.GraphicsMode of the NativeWindow. |
device | The OpenTK.Graphics.DisplayDevice to construct the NativeWindow in. | |
리턴 | System |
protected OnClosing ( CancelEventArgs e ) : void | ||
e | CancelEventArgs |
/// The |
리턴 | void |
protected OnDisposed ( |
||
e | Not used. | |
리턴 | void |
protected OnFocusedChanged ( |
||
e | Not used. | |
리턴 | void |
protected OnIconChanged ( |
||
e | Not used. | |
리턴 | void |
protected OnKeyDown ( |
||
e | ||
리턴 | void |
protected OnKeyPress ( |
||
e | The |
|
리턴 | void |
protected OnKeyUp ( |
||
e | The |
|
리턴 | void |
protected OnMouseEnter ( |
||
e | Not used. | |
리턴 | void |
protected OnMouseLeave ( |
||
e | Not used. | |
리턴 | void |
protected OnTitleChanged ( |
||
e | Not used. | |
리턴 | void |
protected OnVisibleChanged ( EventArgs e ) : void | ||
e | EventArgs | Not used. |
리턴 | void |
protected OnWindowBorderChanged ( EventArgs e ) : void | ||
e | EventArgs | Not used. |
리턴 | void |
protected OnWindowStateChanged ( EventArgs e ) : void | ||
e | EventArgs | Not used. |
리턴 | void |
public PointToClient ( Point point ) : Point | ||
point | Point |
/// A |
리턴 | Point |
public PointToScreen ( Point point ) : Point | ||
point | Point |
/// A |
리턴 | Point |
protected ProcessEvents ( bool retainEvents ) : void | ||
retainEvents | bool | If true, the state of underlying system event propagation will be preserved, otherwise event propagation will be enabled if it has not been already. |
리턴 | void |