C# Class OpenTK.Platform.MacOS.CarbonGLNative

Inheritance: INativeWindow
ファイルを表示 Open project: andykorth/opentk Class Usage Examples

Private Properties

Property Type Description
Activate void
CarbonGLNative System
CarbonGLNative System
CheckEnterLeaveEvents void
ConfineMouseToWindow OpenTK.Platform.MacOS.Carbon.HIPoint
ConnectEvents void
CreateNativeWindow void
DispatchEvent OSStatus
DisposeUPP void
GetCharCodes void
GetRegion Rect
Hide void
LoadSize void
OnActivate void
OnDeactivate void
OnKeyPress void
OnMouseEnter void
OnMouseLeave void
OnWindowStateChanged void
ProcessKeyboardEvent OSStatus
ProcessModifierKey void
ProcessWindowEvent OSStatus
ResetMouseToWindowCenter void
SetCarbonWindowState void
SetClientSize void
SetFullscreen void
SetIcon void
SetLocation void
SetSize void
Show void
UnsetFullscreen void

Public Methods

Method Description
CarbonGLNative ( int x, int y, int width, int height, string title, OpenTK.Graphics.GraphicsMode mode, GameWindowFlags options, DisplayDevice device ) : System
Close ( ) : void
Dispose ( ) : void
PointToClient ( Point point ) : Point
PointToScreen ( Point point ) : Point
ProcessEvents ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
EventHandler ( IntPtr inCaller, IntPtr inEvent, IntPtr userData ) : OSStatus
OnClosed ( ) : void
OnClosing ( CancelEventArgs e ) : void
ProcessMouseEvent ( IntPtr inCaller, IntPtr inEvent, EventInfo evt, IntPtr userData ) : OSStatus

Private Methods

Method Description
Activate ( ) : void
CarbonGLNative ( ) : System
CarbonGLNative ( WindowClass @class, WindowAttributes attrib ) : System
CheckEnterLeaveEvents ( IntPtr eventWindowRef, Point pt ) : void
ConfineMouseToWindow ( IntPtr window, HIPoint client ) : HIPoint
ConnectEvents ( ) : void
CreateNativeWindow ( WindowClass @class, WindowAttributes attrib, Rect r ) : void
DispatchEvent ( IntPtr inCaller, IntPtr inEvent, EventInfo evt, IntPtr userData ) : OSStatus
DisposeUPP ( ) : void
GetCharCodes ( IntPtr inEvent, MacOSKeyCode &code, char &charCode ) : void
GetRegion ( ) : Rect
Hide ( ) : void
LoadSize ( ) : void
OnActivate ( ) : void
OnDeactivate ( ) : void
OnKeyPress ( KeyPressEventArgs keyPressArgs ) : void
OnMouseEnter ( ) : void
OnMouseLeave ( ) : void
OnWindowStateChanged ( ) : void
ProcessKeyboardEvent ( IntPtr inCaller, IntPtr inEvent, EventInfo evt, IntPtr userData ) : OSStatus
ProcessModifierKey ( IntPtr inEvent ) : void
ProcessWindowEvent ( IntPtr inCaller, IntPtr inEvent, EventInfo evt, IntPtr userData ) : OSStatus
ResetMouseToWindowCenter ( ) : void
SetCarbonWindowState ( ) : void
SetClientSize ( short width, short height ) : void
SetFullscreen ( AglContext context ) : void
SetIcon ( Icon icon ) : void
SetLocation ( short x, short y ) : void
SetSize ( short width, short height ) : void
Show ( ) : void
UnsetFullscreen ( AglContext context ) : void

Method Details

CarbonGLNative() public method

public CarbonGLNative ( int x, int y, int width, int height, string title, OpenTK.Graphics.GraphicsMode mode, GameWindowFlags options, DisplayDevice device ) : System
x int
y int
width int
height int
title string
mode OpenTK.Graphics.GraphicsMode
options GameWindowFlags
device DisplayDevice
return System

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EventHandler() protected static method

protected static EventHandler ( IntPtr inCaller, IntPtr inEvent, IntPtr userData ) : OSStatus
inCaller System.IntPtr
inEvent System.IntPtr
userData System.IntPtr
return OSStatus

OnClosed() protected method

protected OnClosed ( ) : void
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

PointToClient() public method

public PointToClient ( Point point ) : Point
point Point
return Point

PointToScreen() public method

public PointToScreen ( Point point ) : Point
point Point
return Point

ProcessEvents() public method

public ProcessEvents ( ) : void
return void

ProcessMouseEvent() protected method

protected ProcessMouseEvent ( IntPtr inCaller, IntPtr inEvent, EventInfo evt, IntPtr userData ) : OSStatus
inCaller System.IntPtr
inEvent System.IntPtr
evt OpenTK.Platform.MacOS.Carbon.EventInfo
userData System.IntPtr
return OSStatus